From 0936b9e3ccf24671f259f97c3527f14812a04949 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 19:18:17 +0200 Subject: Fix --- src/objects/_divider.vars.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/objects/_divider.vars.scss') 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); )); } -$themes-config: accent negative !default; +$themes-config: ( + accent: --accent, + negative: --negative, +) !default; $themes: props.def(--o-divider); -@each $theme in $themes-config { +@each $theme, $key in $themes-config { $themes: props.merge($themes, ( --#{$theme}: ( - --bg: props.get(core.$theme, --#{$theme}, --800), - --label: props.get(core.$theme, --#{$theme}, --1000), + --bg: props.get(core.$theme, $key, --800), + --label: props.get(core.$theme, $key, --1000), ) )); } -- cgit v1.2.3-70-g09d2