summaryrefslogtreecommitdiffstats
path: root/src/objects/_action-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/_action-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/_action-button.vars.scss')
-rw-r--r--src/objects/_action-button.vars.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/_action-button.vars.scss b/src/objects/_action-button.vars.scss
index 80ef9c8..9afd5d7 100644
--- a/src/objects/_action-button.vars.scss
+++ b/src/objects/_action-button.vars.scss
@@ -36,7 +36,7 @@ $fixed-sizes: (
36 'xl' $pad-i--xl $pad-i-pill--xl $pad-b--xl $font-size--xl, 36 'xl' $pad-i--xl $pad-i-pill--xl $pad-b--xl $font-size--xl,
37) !default; 37) !default;
38 38
39$themes: props.def(--o-action-button); 39$themes: props.def(--o-action-button, (), 'color');
40 40
41$default-theme-override: () !default; 41$default-theme-override: () !default;
42$default-theme: map.deep-merge(( 42$default-theme: map.deep-merge((
@@ -109,7 +109,7 @@ $default-theme: map.deep-merge((
109 ), 109 ),
110 ), 110 ),
111), $default-theme-override) !default; 111), $default-theme-override) !default;
112$default-theme: props.def(--o-action-button, $default-theme); 112$default-theme: props.def(--o-action-button, $default-theme, 'color');
113 113
114@each $theme in map.keys(props.get(core.$transparent-colors)) { 114@each $theme in map.keys(props.get(core.$transparent-colors)) {
115 $button-theme: --static-#{string.slice($theme, 3)}; 115 $button-theme: --static-#{string.slice($theme, 3)};