diff options
Diffstat (limited to 'src/objects/_status-indicator.vars.scss')
-rw-r--r-- | src/objects/_status-indicator.vars.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/objects/_status-indicator.vars.scss b/src/objects/_status-indicator.vars.scss new file mode 100644 index 0000000..1d0a06a --- /dev/null +++ b/src/objects/_status-indicator.vars.scss | |||
@@ -0,0 +1,21 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use '../props'; | ||
3 | @use '../themes' as themes; | ||
4 | @use '../core.vars' as core; | ||
5 | |||
6 | $size: props.def(--o-status-indicator--size, props.get(core.$size--125)) !default; | ||
7 | |||
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; | ||
10 | |||
11 | $themes-config: map.keys(map.get(themes.$themes, themes.$theme-default, light, --palettes)) !default; | ||
12 | |||
13 | $themes: props.def(--o-status-indicator); | ||
14 | |||
15 | @each $theme in $themes-config { | ||
16 | @if $theme != --base { | ||
17 | $themes: props.merge($themes, ( | ||
18 | $theme: props.get(core.$theme, $theme, --700), | ||
19 | )); | ||
20 | } | ||
21 | } | ||