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
|
@use '../props';
@use '../core.vars' as core;
$border-width: props.def(--o-alert--border-width, props.get(core.$border-width--medium)) !default;
$pad-i: props.def(--o-alert--pad-i, props.get(core.$size--250)) !default;
$pad-b: props.def(--o-alert--pad-b, props.get(core.$size--200)) !default;
$rounding: props.def(--o-alert--rounding, props.get(core.$rounding)) !default;
$bg-color: props.def(--o-alert--bg-color, props.get(core.$theme, --bg-l2)) !default;
$border-color: props.def(--o-alert--bg-color, props.get(core.$theme, --text-mute-more)) !default;
$themes-config: (
accent: --accent,
positive: --positive,
negative: --negative,
warning: --warning,
) !default;
$themes: props.def(--o-alert);
@each $theme, $key in $themes-config {
$themes: props.merge($themes, (
$key: (
--border-color: props.get(core.$theme, $key, --700),
)
));
}
|