summaryrefslogtreecommitdiffstats
path: root/src/objects/_badge.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-18 23:40:20 +0200
committerVolpeon <git@volpeon.ink>2024-10-18 23:40:20 +0200
commitdc2a4ea99b535b97bfbf5b6b8d69ec8dab023b10 (patch)
tree47d4d85bc7033bb0f13e8b355f67a7d7f04d74b6 /src/objects/_badge.scss
parentUpdate (diff)
downloadiro-design-dc2a4ea99b535b97bfbf5b6b8d69ec8dab023b10.tar.gz
iro-design-dc2a4ea99b535b97bfbf5b6b8d69ec8dab023b10.tar.bz2
iro-design-dc2a4ea99b535b97bfbf5b6b8d69ec8dab023b10.zip
Update
Diffstat (limited to 'src/objects/_badge.scss')
-rw-r--r--src/objects/_badge.scss5
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 }