diff options
author | Volpeon <git@volpeon.ink> | 2024-10-19 14:46:06 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-19 14:46:06 +0200 |
commit | 3799950b0a869aee0e2725a8aafbb53c26723942 (patch) | |
tree | 9d8ee6ee3e9f963358d6463aa6114d4020a90a39 /src/objects/_status-indicator.vars.scss | |
parent | Update (diff) | |
download | iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.tar.gz iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.tar.bz2 iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.zip |
Update
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 | } | ||