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
|
@use 'sass:map';
@use 'iro-sass/src/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)) !default;
$primary: props.def(--o-status-indicator--primary, props.get(core.$theme, --text)) !default;
$themes-config: (
accent: --accent,
positive: --positive,
negative: --negative,
warning: --warning,
) !default;
$themes: props.def(--o-status-indicator);
@each $theme, $key in $themes-config {
@if $theme != --base {
$themes: props.merge($themes, (
--#{$theme}: props.get(core.$theme, $key, --700),
));
}
}
|