diff options
| author | Volpeon <git@volpeon.ink> | 2024-10-19 19:18:17 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-10-19 19:18:17 +0200 |
| commit | 0936b9e3ccf24671f259f97c3527f14812a04949 (patch) | |
| tree | 0248eb3b6d05280fc23a8ffe230ffdc64c3bda9f /src/objects/_divider.vars.scss | |
| parent | Fixes (diff) | |
| download | iro-design-0936b9e3ccf24671f259f97c3527f14812a04949.tar.gz iro-design-0936b9e3ccf24671f259f97c3527f14812a04949.tar.bz2 iro-design-0936b9e3ccf24671f259f97c3527f14812a04949.zip | |
Fix
Diffstat (limited to 'src/objects/_divider.vars.scss')
| -rw-r--r-- | src/objects/_divider.vars.scss | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/objects/_divider.vars.scss b/src/objects/_divider.vars.scss index 4a55f36..9927a41 100644 --- a/src/objects/_divider.vars.scss +++ b/src/objects/_divider.vars.scss | |||
| @@ -46,15 +46,18 @@ $static-themes: props.def(--o-divider); | |||
| 46 | )); | 46 | )); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | $themes-config: accent negative !default; | 49 | $themes-config: ( |
| 50 | accent: --accent, | ||
| 51 | negative: --negative, | ||
| 52 | ) !default; | ||
| 50 | 53 | ||
| 51 | $themes: props.def(--o-divider); | 54 | $themes: props.def(--o-divider); |
| 52 | 55 | ||
| 53 | @each $theme in $themes-config { | 56 | @each $theme, $key in $themes-config { |
| 54 | $themes: props.merge($themes, ( | 57 | $themes: props.merge($themes, ( |
| 55 | --#{$theme}: ( | 58 | --#{$theme}: ( |
| 56 | --bg: props.get(core.$theme, --#{$theme}, --800), | 59 | --bg: props.get(core.$theme, $key, --800), |
| 57 | --label: props.get(core.$theme, --#{$theme}, --1000), | 60 | --label: props.get(core.$theme, $key, --1000), |
| 58 | ) | 61 | ) |
| 59 | )); | 62 | )); |
| 60 | } | 63 | } |
