1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
@use "sass:map";
@use "pkg:iro-sass/props";
@use "../config";
@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),
"color"
) !default;
$primary: props.def(
--o-status-indicator--primary,
props.get(core.$theme, --text),
"color"
) !default;
$themes-config: (
accent: --accent,
positive: --positive,
negative: --negative,
warning: --warning,
) !default;
$themes: props.def(--o-status-indicator, (), "color");
@each $theme, $key in $themes-config {
@if $theme != --base {
$themes: props.merge($themes, (--#{$theme}: props.get(core.$theme, $key, --700)));
}
}
|