From af1418a6c2f891e8b455e370f6e4920a6e0467af Mon Sep 17 00:00:00 2001 From: Hannah Issermann Date: Fri, 29 Sep 2023 12:46:07 +0200 Subject: [PATCH] use directly css var when possible to switch automatically --- scss/_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index 4e493272eb..75ac6033e1 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -2227,7 +2227,7 @@ $step-item-bg: var(--#{$prefix}highlight-bg) !default; $step-item-active-bg: $primary !default; $step-item-next-bg: $gray-400 !default; $step-item-shadow-size: calc(var(--#{$prefix}border-width) * 1.5) !default; // stylelint-disable-line function-disallowed-list -$step-item-drop-shadow: drop-shadow($step-item-shadow-size 0 0 $white) #{"/* rtl:"} drop-shadow(calc(-1 * #{$step-item-shadow-size}) 0 0 $white) #{"*/"} !default; // stylelint-disable-line function-disallowed-list +$step-item-drop-shadow: drop-shadow($step-item-shadow-size 0 0 var(--#{$prefix}body-bg)) #{"/* rtl:"} drop-shadow(calc(-1 * #{$step-item-shadow-size}) 0 0 var(--#{$prefix}body-bg)) #{"*/"} !default; // stylelint-disable-line function-disallowed-list $step-item-arrow-width: .8125rem !default; $step-item-arrow-shape: polygon(0% 0%, 1px 0%, subtract(100%, var(--#{$prefix}border-width)) 50%, 1px 100%, 0% 100%) #{"/* rtl:"} polygon(100% 0%, subtract(100%, 1px) 0%, var(--#{$prefix}border-width) 50%, subtract(100%, 1px) 100%, 100% 100%) #{"*/"} !default; // Used in clip-path