diff options
| author | Volpeon <git@volpeon.ink> | 2024-10-19 17:14:45 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-10-19 17:14:45 +0200 |
| commit | c41e16f6044548e27fbf8e4ef65ed3067278c80b (patch) | |
| tree | 90033bba112417a1b7fa833f6a307df56b9799dd /src/objects/_divider.vars.scss | |
| parent | Update (diff) | |
| download | iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.tar.gz iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.tar.bz2 iro-design-c41e16f6044548e27fbf8e4ef65ed3067278c80b.zip | |
Update
Diffstat (limited to 'src/objects/_divider.vars.scss')
| -rw-r--r-- | src/objects/_divider.vars.scss | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/objects/_divider.vars.scss b/src/objects/_divider.vars.scss index 09e734f..01c4b92 100644 --- a/src/objects/_divider.vars.scss +++ b/src/objects/_divider.vars.scss | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | @use 'sass:map'; | 1 | @use 'sass:map'; |
| 2 | @use 'sass:string'; | ||
| 2 | @use '../props'; | 3 | @use '../props'; |
| 3 | @use '../core.vars' as core; | 4 | @use '../core.vars' as core; |
| 4 | 5 | ||
| @@ -25,7 +26,7 @@ $faint--label-color: props.def(--o-divider--faint--label-color, props.get(core.$ | |||
| 25 | $static-themes: props.def(--o-divider); | 26 | $static-themes: props.def(--o-divider); |
| 26 | 27 | ||
| 27 | @each $theme in map.keys(props.get(core.$transparent-colors)) { | 28 | @each $theme in map.keys(props.get(core.$transparent-colors)) { |
| 28 | $button-theme: #{$theme}-static; | 29 | $button-theme: --static-#{string.slice($theme, 3)}; |
| 29 | 30 | ||
| 30 | $static-themes: props.merge($static-themes, ( | 31 | $static-themes: props.merge($static-themes, ( |
| 31 | $button-theme: ( | 32 | $button-theme: ( |
| @@ -52,8 +53,8 @@ $themes: props.def(--o-divider); | |||
| 52 | @each $theme in $themes-config { | 53 | @each $theme in $themes-config { |
| 53 | $themes: props.merge($themes, ( | 54 | $themes: props.merge($themes, ( |
| 54 | $theme: ( | 55 | $theme: ( |
| 55 | --bg: props.get(core.$static-colors, $theme, --800), | 56 | --bg: props.get(core.$theme, $theme, --800), |
| 56 | --label: props.get(core.$static-colors, $theme, --1000), | 57 | --label: props.get(core.$theme, $theme, --1000), |
| 57 | ) | 58 | ) |
| 58 | )); | 59 | )); |
| 59 | } | 60 | } |
