Skip to content

Commit

Permalink
fix overlay variable for modals
Browse files Browse the repository at this point in the history
  • Loading branch information
siarhei-epam committed Sep 27, 2023
1 parent 2fb3d71 commit 224e6a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uui/components/overlays/Modals.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.root {
--uui-modals-border-radius: var(--uui-border-radius);
--uui-modals-overlay: rgba(29, 30, 38, 0.8);
--uui-modals-shadow: var(--uui-shadow-level-3);
--uui-modals-bg: var(--uui-surface);
}
Expand All @@ -12,7 +11,7 @@
animation-name: animateModalBlocker;
opacity: 1;
transition: all 0.3s ease-out;
background-color: var(--uui-modals-overlay);
background-color: var(--uui-overlay);

@keyframes animateModalBlocker {
from { opacity: 0; }
Expand Down

0 comments on commit 224e6a7

Please sign in to comment.