summaryrefslogtreecommitdiffstats
path: root/src/objects/_badge.vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-10-25 19:37:52 +0200
committerVolpeon <git@volpeon.ink>2024-10-25 19:37:52 +0200
commite0815613914e16d73a30efe709a74b994cc31963 (patch)
tree9876cb3b6937173fd4dd62958d5c9d1ba6feea87 /src/objects/_badge.vars.scss
parentNew palette generation (diff)
downloadiro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.gz
iro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.bz2
iro-design-e0815613914e16d73a30efe709a74b994cc31963.zip
More efficient theming
Diffstat (limited to 'src/objects/_badge.vars.scss')
-rw-r--r--src/objects/_badge.vars.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objects/_badge.vars.scss b/src/objects/_badge.vars.scss
index 4b9bf6d..d96d6c4 100644
--- a/src/objects/_badge.vars.scss
+++ b/src/objects/_badge.vars.scss
@@ -73,10 +73,10 @@ $default-theme: props.def(--o-badge, (
73 --label: props.get(core.$theme, --heading), 73 --label: props.get(core.$theme, --heading),
74 ), 74 ),
75 ) 75 )
76)); 76), 'color');
77$default-theme: props.merge($default-theme, $default-theme-override); 77$default-theme: props.merge($default-theme, $default-theme-override);
78 78
79$static-themes: props.def(--o-badge); 79$static-themes: props.def(--o-badge, (), 'color');
80 80
81@each $theme in map.keys(props.get(core.$transparent-colors)) { 81@each $theme in map.keys(props.get(core.$transparent-colors)) {
82 $badge-theme: --static-#{string.slice($theme, 3)}; 82 $badge-theme: --static-#{string.slice($theme, 3)};
@@ -126,7 +126,7 @@ $themes-config: (
126 warning: --warning, 126 warning: --warning,
127) !default; 127) !default;
128 128
129$themes: props.def(--o-badge); 129$themes: props.def(--o-badge, (), 'color');
130 130
131@each $theme, $key in $themes-config { 131@each $theme, $key in $themes-config {
132 $themes: props.merge($themes, ( 132 $themes: props.merge($themes, (