From 0936b9e3ccf24671f259f97c3527f14812a04949 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 19:18:17 +0200 Subject: Fix --- src/objects/_status-indicator.vars.scss | 11 ++++++++--- 1 file changed, 8 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 d83194f..9f828b4 100644 --- a/src/objects/_status-indicator.vars.scss +++ b/src/objects/_status-indicator.vars.scss @@ -8,14 +8,19 @@ $size: props.def(--o-status-indicator--size, props.get(core.$size--125)) !defaul $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; -$themes-config: map.keys(map.get(config.$themes, config.$theme-default, light, --palettes)) !default; +$themes-config: ( + accent: --accent, + positive: --positive, + negative: --negative, + warning: --warning, +) !default; $themes: props.def(--o-status-indicator); -@each $theme in $themes-config { +@each $theme, $key in $themes-config { @if $theme != --base { $themes: props.merge($themes, ( - $theme: props.get(core.$theme, $theme, --700), + --#{$theme}: props.get(core.$theme, $key, --700), )); } } -- cgit v1.3.1