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.

css: Refactor theme colors for `alerts`.

sanchi-t82fd3c9b32ad
diff --git a/web/styles/alerts.css b/web/styles/alerts.css
index d12063944b3..ca3df6ae90b 100644
--- a/web/styles/alerts.css
+++ b/web/styles/alerts.css
@@ -318,7 +318,7 @@ $alert-error-red: hsl(0deg 80% 40%);
.alert-content {
grid-column: 2 / 3;
grid-row-start: 1;
- color: hsl(0deg 0% 20%);
+ color: var(--color-request-progress-status-alert-text);
}
.exit {
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 6fb83186caa..7e26f6feb3e 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -613,6 +613,7 @@
--color-border-sidebar: hsl(0deg 0% 87%);
--color-text-sidebar-base: hsl(0deg 0% 0%);
--color-border-sidebar-subheader: hsl(0deg 0% 0% / 15%);
+ --color-request-progress-status-alert-text: hsl(0deg 0% 20%);
/* Recent view */
--color-border-recent-view-row: hsl(0deg 0% 87%);
@@ -1071,6 +1072,7 @@
--color-border-sidebar: hsl(0deg 0% 0% / 20%);
--color-text-sidebar-base: hsl(0deg 0% 100%);
--color-border-sidebar-subheader: hsl(0deg 0% 100% / 15%);
+ --color-request-progress-status-alert-text: hsl(236deg 33% 90%);
/* Recent view */
--color-border-recent-view-row: hsl(0deg 0% 0% / 20%);
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index d4ba41d1914..a0ae2ed4c47 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -686,10 +686,6 @@
#request-progress-status-banner {
background-color: hsl(212deg 32% 14%);
-
- .alert-content {
- color: hsl(236deg 33% 90%);
- }
}
.alert.home-error-bar {