diff options
author | Volpeon <git@volpeon.ink> | 2024-10-25 19:37:52 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-25 19:37:52 +0200 |
commit | e0815613914e16d73a30efe709a74b994cc31963 (patch) | |
tree | 9876cb3b6937173fd4dd62958d5c9d1ba6feea87 /src/objects/_alert.vars.scss | |
parent | New palette generation (diff) | |
download | iro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.gz iro-design-e0815613914e16d73a30efe709a74b994cc31963.tar.bz2 iro-design-e0815613914e16d73a30efe709a74b994cc31963.zip |
More efficient theming
Diffstat (limited to 'src/objects/_alert.vars.scss')
-rw-r--r-- | src/objects/_alert.vars.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/objects/_alert.vars.scss b/src/objects/_alert.vars.scss index 0c140b1..53c9e68 100644 --- a/src/objects/_alert.vars.scss +++ b/src/objects/_alert.vars.scss | |||
@@ -6,8 +6,8 @@ $pad-i: props.def(--o-alert--pad-i, props.get(core.$size--250)) !default; | |||
6 | $pad-b: props.def(--o-alert--pad-b, props.get(core.$size--200)) !default; | 6 | $pad-b: props.def(--o-alert--pad-b, props.get(core.$size--200)) !default; |
7 | $rounding: props.def(--o-alert--rounding, props.get(core.$rounding)) !default; | 7 | $rounding: props.def(--o-alert--rounding, props.get(core.$rounding)) !default; |
8 | 8 | ||
9 | $bg-color: props.def(--o-alert--bg-color, props.get(core.$theme, --bg-l2)) !default; | 9 | $bg-color: props.def(--o-alert--bg-color, props.get(core.$theme, --bg-l2), 'color') !default; |
10 | $border-color: props.def(--o-alert--border-color, props.get(core.$theme, --text-mute-more)) !default; | 10 | $border-color: props.def(--o-alert--border-color, props.get(core.$theme, --text-mute-more), 'color') !default; |
11 | 11 | ||
12 | $themes-config: ( | 12 | $themes-config: ( |
13 | accent: --accent, | 13 | accent: --accent, |
@@ -16,7 +16,7 @@ $themes-config: ( | |||
16 | warning: --warning, | 16 | warning: --warning, |
17 | ) !default; | 17 | ) !default; |
18 | 18 | ||
19 | $themes: props.def(--o-alert); | 19 | $themes: props.def(--o-alert, (), 'color'); |
20 | 20 | ||
21 | @each $theme, $key in $themes-config { | 21 | @each $theme, $key in $themes-config { |
22 | $themes: props.merge($themes, ( | 22 | $themes: props.merge($themes, ( |