Skip to content

Commit c81a694

Browse files
authored
Use CSS box-shadow variables in shadow utility classes (#38816)
1 parent 5a97018 commit c81a694

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scss/_utilities.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ $utilities: map-merge(
7777
property: box-shadow,
7878
class: shadow,
7979
values: (
80-
null: $box-shadow,
81-
sm: $box-shadow-sm,
82-
lg: $box-shadow-lg,
80+
null: var(--#{$prefix}box-shadow),
81+
sm: var(--#{$prefix}box-shadow-sm),
82+
lg: var(--#{$prefix}box-shadow-lg),
8383
none: none,
8484
)
8585
),

0 commit comments

Comments
 (0)