diff options
author | Volpeon <git@volpeon.ink> | 2024-10-19 19:18:17 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-19 19:18:17 +0200 |
commit | 0936b9e3ccf24671f259f97c3527f14812a04949 (patch) | |
tree | 0248eb3b6d05280fc23a8ffe230ffdc64c3bda9f /src/objects/_status-indicator.vars.scss | |
parent | Fixes (diff) | |
download | iro-design-0936b9e3ccf24671f259f97c3527f14812a04949.tar.gz iro-design-0936b9e3ccf24671f259f97c3527f14812a04949.tar.bz2 iro-design-0936b9e3ccf24671f259f97c3527f14812a04949.zip |
Fix
Diffstat (limited to 'src/objects/_status-indicator.vars.scss')
-rw-r--r-- | src/objects/_status-indicator.vars.scss | 11 |
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 | } |