summaryrefslogtreecommitdiffstats
path: root/src/objects/_status-indicator.vars.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_status-indicator.vars.scss')
-rw-r--r--src/objects/_status-indicator.vars.scss11
1 files changed, 8 insertions, 3 deletions
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
8$default: props.def(--o-status-indicator--default, props.get(core.$theme, --border-strong)) !default; 8$default: props.def(--o-status-indicator--default, props.get(core.$theme, --border-strong)) !default;
9$primary: props.def(--o-status-indicator--primary, props.get(core.$theme, --text)) !default; 9$primary: props.def(--o-status-indicator--primary, props.get(core.$theme, --text)) !default;
10 10
11$themes-config: map.keys(map.get(config.$themes, config.$theme-default, light, --palettes)) !default; 11$themes-config: (
12 accent: --accent,
13 positive: --positive,
14 negative: --negative,
15 warning: --warning,
16) !default;
12 17
13$themes: props.def(--o-status-indicator); 18$themes: props.def(--o-status-indicator);
14 19
15@each $theme in $themes-config { 20@each $theme, $key in $themes-config {
16 @if $theme != --base { 21 @if $theme != --base {
17 $themes: props.merge($themes, ( 22 $themes: props.merge($themes, (
18 $theme: props.get(core.$theme, $theme, --700), 23 --#{$theme}: props.get(core.$theme, $key, --700),
19 )); 24 ));
20 } 25 }
21} 26}