summaryrefslogtreecommitdiffstats
path: root/src/objects/_button.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/_button.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/_button.vars.scss')
-rw-r--r--src/objects/_button.vars.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objects/_button.vars.scss b/src/objects/_button.vars.scss
index b5e55d9..bd3de91 100644
--- a/src/objects/_button.vars.scss
+++ b/src/objects/_button.vars.scss
@@ -81,10 +81,10 @@ $default-theme: props.def(--o-button, (
81 --label: props.get(core.$theme, --base, --900-text), 81 --label: props.get(core.$theme, --base, --900-text),
82 ), 82 ),
83 ), 83 ),
84)); 84), 'color');
85$default-theme: props.merge($default-theme, $default-theme-override); 85$default-theme: props.merge($default-theme, $default-theme-override);
86 86
87$static-themes: props.def(--o-button); 87$static-themes: props.def(--o-button, (), 'color');
88 88
89@each $theme in map.keys(props.get(core.$transparent-colors)) { 89@each $theme in map.keys(props.get(core.$transparent-colors)) {
90 $button-theme: --static-#{string.slice($theme, 3)}; 90 $button-theme: --static-#{string.slice($theme, 3)};
@@ -144,7 +144,7 @@ $themes-config: (
144 negative: --negative, 144 negative: --negative,
145) !default; 145) !default;
146 146
147$themes: props.def(--o-button); 147$themes: props.def(--o-button, (), 'color');
148 148
149@each $theme, $key in $themes-config { 149@each $theme, $key in $themes-config {
150 $themes: props.merge($themes, ( 150 $themes: props.merge($themes, (