From c41e16f6044548e27fbf8e4ef65ed3067278c80b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 17:14:45 +0200 Subject: Update --- src/objects/_divider.vars.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/objects/_divider.vars.scss') 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 @@ @use 'sass:map'; +@use 'sass:string'; @use '../props'; @use '../core.vars' as core; @@ -25,7 +26,7 @@ $faint--label-color: props.def(--o-divider--faint--label-color, props.get(core.$ $static-themes: props.def(--o-divider); @each $theme in map.keys(props.get(core.$transparent-colors)) { - $button-theme: #{$theme}-static; + $button-theme: --static-#{string.slice($theme, 3)}; $static-themes: props.merge($static-themes, ( $button-theme: ( @@ -52,8 +53,8 @@ $themes: props.def(--o-divider); @each $theme in $themes-config { $themes: props.merge($themes, ( $theme: ( - --bg: props.get(core.$static-colors, $theme, --800), - --label: props.get(core.$static-colors, $theme, --1000), + --bg: props.get(core.$theme, $theme, --800), + --label: props.get(core.$theme, $theme, --1000), ) )); } -- cgit v1.2.3-70-g09d2