diff options
Diffstat (limited to 'src/objects/_badge.scss')
| -rw-r--r-- | src/objects/_badge.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/objects/_badge.scss b/src/objects/_badge.scss index 3f68873..5a07630 100644 --- a/src/objects/_badge.scss +++ b/src/objects/_badge.scss | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | @use 'sass:list'; | 1 | @use 'sass:list'; |
| 2 | @use 'sass:map'; | 2 | @use 'sass:map'; |
| 3 | @use 'sass:meta'; | 3 | @use 'sass:meta'; |
| 4 | @use 'sass:string'; | ||
| 4 | @use 'iro-sass/src/iro-sass' as iro; | 5 | @use 'iro-sass/src/iro-sass' as iro; |
| 5 | @use '../props'; | 6 | @use '../props'; |
| 6 | @use '../core.vars' as core; | 7 | @use '../core.vars' as core; |
| @@ -103,13 +104,13 @@ | |||
| 103 | @include -apply-theme(vars.$default-theme); | 104 | @include -apply-theme(vars.$default-theme); |
| 104 | 105 | ||
| 105 | @each $theme in map.keys(props.get(vars.$themes)) { | 106 | @each $theme in map.keys(props.get(vars.$themes)) { |
| 106 | @include iro.bem-modifier($theme) { | 107 | @include iro.bem-modifier(string.slice($theme, 3)) { |
| 107 | @include -apply-theme(vars.$themes, $theme); | 108 | @include -apply-theme(vars.$themes, $theme); |
| 108 | } | 109 | } |
| 109 | } | 110 | } |
| 110 | 111 | ||
| 111 | @each $theme in map.keys(props.get(vars.$static-themes)) { | 112 | @each $theme in map.keys(props.get(vars.$static-themes)) { |
| 112 | @include iro.bem-modifier($theme) { | 113 | @include iro.bem-modifier(string.slice($theme, 3)) { |
| 113 | @include -apply-theme(vars.$static-themes, $theme, true); | 114 | @include -apply-theme(vars.$static-themes, $theme, true); |
| 114 | } | 115 | } |
| 115 | } | 116 | } |
