Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

modals: Change modal overlay background color as per the redesign specs.

Sayam Samal5bf31b6c818a
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 24c211028d1..7bd44f3e3ee 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -853,6 +853,11 @@
hsl(0deg 0% 100% / 90%),
hsl(212deg 28% 8% / 75%)
);
+ --color-background-modal-overlay: color-mix(
+ in oklch,
+ hsl(0deg 0% 0%) 25%,
+ transparent
+ );
--color-modal-heading-text: light-dark(
hsl(0deg 0% 15%),
color-mix(in oklch, hsl(0deg 0% 100%) 85%, transparent)
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 322dec3b48b..454b007fc5d 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -11,7 +11,7 @@
.modal__overlay {
position: fixed;
inset: 0;
- background: hsl(0deg 0% 0% / 60%);
+ background: var(--color-background-modal-overlay);
display: flex;
justify-content: center;
align-items: center;