]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use CSS box-shadow variables in shadow utility classes (#38816)
authorCraig Wayne <craigiswayne@gmail.com>
Thu, 27 Jul 2023 20:46:12 +0000 (21:46 +0100)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 20:46:12 +0000 (22:46 +0200)
scss/_utilities.scss

index e6069c909a2452cdfc73a6abc11a928a1bc90f3d..696f906ec9c44172fceedcbff5ca9b216c15ba3b 100644 (file)
@@ -77,9 +77,9 @@ $utilities: map-merge(
       property: box-shadow,
       class: shadow,
       values: (
-        null: $box-shadow,
-        sm: $box-shadow-sm,
-        lg: $box-shadow-lg,
+        null: var(--#{$prefix}box-shadow),
+        sm: var(--#{$prefix}box-shadow-sm),
+        lg: var(--#{$prefix}box-shadow-lg),
         none: none,
       )
     ),