Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Fix narrow-screen background color, use color variable.
evykassirer9427fb72301c
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex 0982ea4c417..712ac0fa408 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -60,12 +60,6 @@border-top: 1px solid hsl(0deg 0% 100% / 20%);}- /* Restate this here for more selector specificity */- .modal-bg,- .modal__container {- background-color: hsl(212deg 28% 18%);- }-.modal__close {&::before {color: hsl(236deg 33% 90%);@@ -881,7 +875,7 @@}.table-striped tbody tr:nth-child(odd) td {- background-color: hsl(212deg 28% 18%);+ background-color: var(--color-background-modal);}.user-groups-container .right .display-type,diff --git a/web/styles/modal.css b/web/styles/modal.cssindex 7e959a039d4..4a1a91a939c 100644--- a/web/styles/modal.css+++ b/web/styles/modal.css@@ -3,7 +3,7 @@}.modal-bg {- background-color: hsl(0deg 0% 98%);+ background-color: var(--color-background-modal);}/* Styles for the Micromodal-based modals */@@ -20,7 +20,7 @@.modal__container {display: flex;flex-direction: column;- background-color: hsl(0deg 0% 100%);+ background-color: var(--color-background-modal);max-width: calc(100% - 32px);max-height: 96%;width: 32.5rem;diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.cssindex 6fa30f2a2b1..73dd4d20f4d 100644--- a/web/styles/subscriptions.css+++ b/web/styles/subscriptions.css@@ -1122,7 +1122,7 @@ div.settings-radio-input-parent {left: 101%;top: 45px;- background-color: hsl(0deg 0% 98%);+ background-color: var(--color-background-modal);border-top: none;transition: all 0.3s ease;diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex c9070087c5d..0ab583006c5 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -83,6 +83,7 @@ body {--color-navbar-bottom-border: hsl(0deg 0% 80%);--color-unread-marker: hsl(217deg 64% 59%);--color-failed-message-send-icon: hsl(3.88deg 98.84% 66.27%);+ --color-background-modal: hsl(0deg 0% 98%);/* Text colors */--color-text-default: hsl(0deg 0% 20%);@@ -120,6 +121,7 @@ body {--color-background-hover-narrow-filter: hsl(136deg 25% 73% / 20%);--color-navbar-bottom-border: hsl(0deg 0% 0% / 60%);--color-unread-marker: hsl(217deg 64% 59%);+ --color-background-modal: hsl(212deg 28% 18%);/* Text colors */--color-text-default: hsl(0deg 0% 100% / 75%);