From 4f472e44dbd2ffa1e4e10c63b7ab74105d8e894b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 19:37:18 +0200 Subject: Remove old code --- src_old/scopes/_headings.scss | 116 ------------------------------------------ 1 file changed, 116 deletions(-) delete mode 100644 src_old/scopes/_headings.scss (limited to 'src_old/scopes/_headings.scss') diff --git a/src_old/scopes/_headings.scss b/src_old/scopes/_headings.scss deleted file mode 100644 index 9593792..0000000 --- a/src_old/scopes/_headings.scss +++ /dev/null @@ -1,116 +0,0 @@ -@use 'iro-sass/src/index' as iro; -@use '../functions' as fn; -@use '../mixins' as mx; -@use 'include-media/dist/include-media' as media; - -@include iro.props-namespace('headings') { - @include iro.bem-scope(iro.props-namespace()) { - h1, - h2, - h3, - h4, - h5, - h6 { - @include mx.set-font(--headline); - - display: block; - transform: translateX(-.06em); - letter-spacing: normal; - text-transform: none; - } - - - h1 { - @include mx.heading-strong(--xxl); - } - - h2 { - @include mx.heading-strong(--xl); - } - - h3 { - @include mx.heading-medium(--lg); - } - - h4 { - @include mx.heading-medium(--md); - } - - h5 { - @include mx.heading-faint(--sm); - } - - h6 { - @include mx.heading-faint(--xs); - } - - @include iro.bem-elem('highlight') { - background-image: linear-gradient( - to top, - transparent .15em, - fn.foreign-color(--heading, --bg) .15em, - fn.foreign-color(--heading, --bg) .6em, - transparent .6em - ); - } - - @include iro.bem-modifier('display') { - h1, - h2, - h3, - h4, - h5, - h6 { - @include mx.set-font(--headline); - } - - h1 { - @include mx.heading-strong(--display --xxl); - - @include media.media('<=md') { - @include mx.heading-strong(--display-sm --xxl); - } - } - - h2 { - @include mx.heading-strong(--display --xl); - - @include media.media('<=md') { - @include mx.heading-strong(--display-sm --xl); - } - } - - h3 { - @include mx.heading-strong(--display --lg); - - @include media.media('<=md') { - @include mx.heading-strong(--display-sm --lg); - } - } - - h4 { - @include mx.heading-strong(--display --md); - - @include media.media('<=md') { - @include mx.heading-strong(--display-sm --md); - } - } - - h5 { - @include mx.heading-medium(--display --sm); - - @include media.media('<=md') { - @include mx.heading-medium(--display-sm --sm); - } - } - - h6 { - @include mx.heading-faint(--display --xs); - - @include media.media('<=md') { - @include mx.heading-faint(--display-sm --xs); - } - } - } - } -} -- cgit v1.3.1