From e0815613914e16d73a30efe709a74b994cc31963 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Oct 2024 19:37:52 +0200 Subject: More efficient theming --- src/objects/_action-button.vars.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/objects/_action-button.vars.scss') 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: ( 'xl' $pad-i--xl $pad-i-pill--xl $pad-b--xl $font-size--xl, ) !default; -$themes: props.def(--o-action-button); +$themes: props.def(--o-action-button, (), 'color'); $default-theme-override: () !default; $default-theme: map.deep-merge(( @@ -109,7 +109,7 @@ $default-theme: map.deep-merge(( ), ), ), $default-theme-override) !default; -$default-theme: props.def(--o-action-button, $default-theme); +$default-theme: props.def(--o-action-button, $default-theme, 'color'); @each $theme in map.keys(props.get(core.$transparent-colors)) { $button-theme: --static-#{string.slice($theme, 3)}; -- cgit v1.2.3-70-g09d2