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.

topic_list: Add a CSS variable for the unmuted topic's color.

Prakhar Pratyush07fd2aa344d1
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 8bea4a3abbc..cd56edf3bb5 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -38,10 +38,6 @@
color: hsl(236deg 33% 90%/50%);
}
- & li.unmuted_topic {
- color: hsl(236deg 33% 90%);
- }
-
& li.out_of_home_view {
&:hover {
color: hsl(236deg 33% 90%/ 75%);
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index ab53d11a5f7..33020688c13 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -397,7 +397,7 @@ ul.filters {
}
& li.unmuted_topic {
- color: hsl(0deg 0% 20%);
+ color: var(--color-unmuted-topic-list-item);
.unread_count {
opacity: 1;
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index a05659474e8..b190aaeef2b 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -163,6 +163,7 @@ body {
--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%);
+ --color-unmuted-topic-list-item: hsl(0deg 0% 20%);
/* Text colors */
--color-text-default: hsl(0deg 0% 20%);
@@ -219,6 +220,7 @@ body {
--color-navbar-bottom-border: hsl(0deg 0% 0% / 60%);
--color-unread-marker: hsl(217deg 64% 59%);
--color-background-modal: hsl(212deg 28% 18%);
+ --color-unmuted-topic-list-item: hsl(236deg 33% 90%);
/* Text colors */
--color-text-default: hsl(0deg 0% 100% / 75%);