diff options
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 | } |