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.

dark_theme: Clean up .modal__footer border color.

Karl Stolley8f2681b05ac9
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 3c7d1f81039..64caf208896 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -780,6 +780,10 @@
color-mix(in srgb, #c2c2c2 80%, transparent),
color-mix(in srgb, #fff 5%, transparent)
);
+ --color-border-modal-footer: light-dark(
+ hsl(0deg 0% 87%),
+ hsl(0deg 0% 100% / 20%)
+ );
--color-background-pill-container-without-placeholder: light-dark(
hsl(0deg 0% 100%),
hsl(0deg 0% 0% / 20%)
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index df41201885c..80c4b28a568 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -8,10 +8,6 @@
}
/************************* MODAL DARK THEME *******************/
- .modal__content.simplebar-scrollable-y + .modal__footer {
- border-top: 1px solid hsl(0deg 0% 100% / 20%);
- }
-
.modal__close {
&::before {
color: hsl(236deg 33% 90%);
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 51ef4ebc6dd..c20ac00f5ee 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -130,7 +130,7 @@
max-width: calc(100% - 48px);
&.simplebar-scrollable-y + .modal__footer {
- border-top: 1px solid hsl(0deg 0% 87%);
+ border-top: 1px solid var(--color-border-modal-footer);
}
}