Use CSS box-shadow variables in shadow utility classes (#38816)

This commit is contained in:
Craig Wayne 2023-07-27 21:46:12 +01:00 committed by GitHub
parent 5a97018a9a
commit c81a694ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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,
)
),