From 3799950b0a869aee0e2725a8aafbb53c26723942 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 14:46:06 +0200 Subject: Update --- src/objects/_status-indicator.vars.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/objects/_status-indicator.vars.scss (limited to 'src/objects/_status-indicator.vars.scss') 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 @@ +@use 'sass:map'; +@use '../props'; +@use '../themes' as themes; +@use '../core.vars' as core; + +$size: props.def(--o-status-indicator--size, props.get(core.$size--125)) !default; + +$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(themes.$themes, themes.$theme-default, light, --palettes)) !default; + +$themes: props.def(--o-status-indicator); + +@each $theme in $themes-config { + @if $theme != --base { + $themes: props.merge($themes, ( + $theme: props.get(core.$theme, $theme, --700), + )); + } +} -- cgit v1.2.3-70-g09d2