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/_status-indicator.vars.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/objects/_status-indicator.vars.scss') diff --git a/src/objects/_status-indicator.vars.scss b/src/objects/_status-indicator.vars.scss index d8465d7..6289145 100644 --- a/src/objects/_status-indicator.vars.scss +++ b/src/objects/_status-indicator.vars.scss @@ -5,8 +5,8 @@ $size: props.def(--o-status-indicator--size, props.get(core.$size--125)) !default; -$default: props.def(--o-status-indicator--default, props.get(core.$theme, --border-strong)) !default; -$primary: props.def(--o-status-indicator--primary, props.get(core.$theme, --text)) !default; +$default: props.def(--o-status-indicator--default, props.get(core.$theme, --border-strong), 'color') !default; +$primary: props.def(--o-status-indicator--primary, props.get(core.$theme, --text), 'color') !default; $themes-config: ( accent: --accent, @@ -15,7 +15,7 @@ $themes-config: ( warning: --warning, ) !default; -$themes: props.def(--o-status-indicator); +$themes: props.def(--o-status-indicator, (), 'color'); @each $theme, $key in $themes-config { @if $theme != --base { -- cgit v1.2.3-70-g09d2