From 5855a6821cf5585378a70f9bee13563bdbfe2d86 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 22 Oct 2024 08:23:33 +0200 Subject: Less broad imports --- src/objects/_heading.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/objects/_heading.scss') diff --git a/src/objects/_heading.scss b/src/objects/_heading.scss index 7efb23b..f3ee5b5 100644 --- a/src/objects/_heading.scss +++ b/src/objects/_heading.scss @@ -1,5 +1,5 @@ @use 'sass:meta'; -@use 'iro-sass/src/iro-sass' as iro; +@use 'iro-sass/src/bem' as bem; @use 'iro-sass/src/props'; @use '../props' as *; @@ -9,7 +9,7 @@ @mixin styles { @include materialize-at-root(meta.module-variables('vars')); - @include iro.bem-object('heading') { + @include bem.object('heading') { display: block; margin-block-start: props.get(vars.$margin-bs); font-family: props.get(vars.$font-family); @@ -24,7 +24,7 @@ margin-block-start: props.get(vars.$margin-bs-sibling); } - @include iro.bem-elem('highlight') { + @include bem.elem('highlight') { background-image: linear-gradient(to top, transparent .05em, props.get(vars.$bg-color) .05em, @@ -33,7 +33,7 @@ } @each $mod, $font-family, $line-height, $font-size, $font-weight, $letter-spacing, $feature-settings in vars.$sizes { - @include iro.bem-modifier($mod) { + @include bem.modifier($mod) { font-family: props.get($font-family); font-size: props.get($font-size); font-weight: props.get($font-weight); @@ -43,9 +43,9 @@ } } - @include iro.bem-modifier('display') { + @include bem.modifier('display') { @each $mod, $font-family, $line-height, $font-size, $font-weight, $letter-spacing, $feature-settings in vars.$display--sizes { - @include iro.bem-modifier($mod) { + @include bem.modifier($mod) { font-family: props.get($font-family); font-size: props.get($font-size); font-weight: props.get($font-weight); -- cgit v1.2.3-70-g09d2