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/scopes/_headings.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/scopes/_headings.scss') diff --git a/src/scopes/_headings.scss b/src/scopes/_headings.scss index c786a75..415fb15 100644 --- a/src/scopes/_headings.scss +++ b/src/scopes/_headings.scss @@ -1,5 +1,5 @@ @use 'sass:map'; -@use 'iro-sass/src/iro-sass' as iro; +@use 'iro-sass/src/bem' as bem; @use 'iro-sass/src/props'; @use '../objects/heading.vars' as heading; @@ -14,7 +14,7 @@ xxl: h1, ); - @include iro.bem-scope('headings') { + @include bem.scope('headings') { h1, h2, h3, @@ -32,7 +32,7 @@ transform: translateX(props.get(heading.$offset)); } - @include iro.bem-elem('highlight') { + @include bem.elem('highlight') { background-image: linear-gradient(to top, transparent .15em, props.get(heading.$bg-color) .15em, @@ -51,7 +51,7 @@ } } - @include iro.bem-modifier('display') { + @include bem.modifier('display') { @each $mod, $font-family, $line-height, $font-size, $font-weight, $letter-spacing, $feature-settings in heading.$display--sizes { #{map.get($-size-map, $mod)} { font-family: props.get($font-family); -- cgit v1.3.1