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/_action-button.scss | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/objects/_action-button.scss') diff --git a/src/objects/_action-button.scss b/src/objects/_action-button.scss index 046cd16..caba917 100644 --- a/src/objects/_action-button.scss +++ b/src/objects/_action-button.scss @@ -2,7 +2,7 @@ @use 'sass:map'; @use 'sass:meta'; @use 'sass:string'; -@use 'iro-sass/src/iro-sass' as iro; +@use 'iro-sass/src/bem' as bem; @use 'iro-sass/src/props'; @use '../props' as *; @@ -45,7 +45,7 @@ } } - @include iro.bem-modifier('quiet') { + @include bem.modifier('quiet') { color: props.get($theme, list.join($key, --quiet --disabled --label-color)...); background-color: transparent; border-color: transparent; @@ -72,7 +72,7 @@ } } - @include iro.bem-is('selected') { + @include bem.is('selected') { color: props.get($theme, list.join($key, --selected --disabled --label-color)...); background-color: props.get($theme, list.join($key, --selected --disabled --bg-color)...); border-color: props.get($theme, list.join($key, --selected --disabled --border-color)...); @@ -103,7 +103,7 @@ @mixin styles { @include materialize-at-root(meta.module-variables('vars')); - @include iro.bem-object('action-button') { + @include bem.object('action-button') { position: relative; display: inline-block; padding-block: props.get(vars.$pad-b); @@ -140,12 +140,12 @@ @include -apply-theme(vars.$default-theme); @each $theme in map.keys(props.get(vars.$themes)) { - @include iro.bem-modifier(string.slice($theme, 3)) { + @include bem.modifier(string.slice($theme, 3)) { @include -apply-theme(vars.$themes, $theme); } } - @include iro.bem-modifier('pill') { + @include bem.modifier('pill') { padding-inline: props.get(vars.$pad-i-pill); border-radius: 100em; @@ -155,23 +155,23 @@ } @each $mod, $pad-i, $pad-i-pill, $pad-b, $font-size in vars.$fixed-sizes { - @include iro.bem-modifier($mod) { + @include bem.modifier($mod) { padding-block: props.get($pad-b); padding-inline: props.get($pad-i); font-size: props.get($font-size); - @include iro.bem-modifier('pill') { + @include bem.modifier('pill') { padding-inline: props.get($pad-i-pill); } } } - @include iro.bem-modifier('icon') { + @include bem.modifier('icon') { inline-size: calc(1em * props.get(vars.$line-height) + 2 * props.get(vars.$pad-b)); padding-inline: 0; @each $mod, $pad-i, $pad-i-pill, $pad-b, $font-size in vars.$fixed-sizes { - @include iro.bem-modifier($mod) { + @include bem.modifier($mod) { inline-size: calc(1em * props.get(vars.$line-height) + 2 * props.get($pad-b)); padding-inline: 0; } -- cgit v1.2.3-70-g09d2