Skip to content

Commit 4ff8d58

Browse files
committed
fix(VOverlay): don't inherit scrim opacity
fixes #20969
1 parent 1413d20 commit 4ff8d58

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/vuetify/src/components/VOverlay/VOverlay.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
height: 100%
2727

2828
.v-overlay
29+
--v-overlay-opacity: #{$overlay-opacity}
2930
border-radius: inherit
3031
display: flex
3132
left: 0
@@ -48,7 +49,7 @@
4849
border-radius: inherit
4950
bottom: 0
5051
left: 0
51-
opacity: $overlay-opacity
52+
opacity: var(--v-overlay-opacity)
5253
position: fixed
5354
right: 0
5455
top: 0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Defaults
2-
$overlay-opacity: var(--v-overlay-opacity, 0.32) !default;
2+
$overlay-opacity: 0.32 !default;
33
$overlay-scrim-background: rgb(var(--v-theme-on-surface)) !default;

0 commit comments

Comments
 (0)