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: Use 75% white as default text color.

Aman Agrawal2a9896884660
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index dece4a59244..68400d4f36b 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -3,10 +3,6 @@
%dark-theme {
color-scheme: dark;
- & body {
- color: hsl(236deg 33% 90%);
- }
-
.placeholder {
color: hsl(0deg 0% 55%);
opacity: 1;
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index aa9fbfe4145..9a38caf7ef6 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -21,6 +21,7 @@ body {
font-size: 14px;
line-height: calc(20 / 14);
font-family: "Source Sans 3", sans-serif;
+ color: var(--color-text-default);
background-color: var(--color-background);
transition: background-color 200ms linear;
}
@@ -84,6 +85,7 @@ body {
--color-failed-message-send-icon: hsl(3.88deg 98.84% 66.27%);
/* Text colors */
+ --color-text-default: hsl(0deg 0% 20%);
--color-text-message-header: hsl(0deg 0% 15%);
--color-text-private-message-header: hsl(0deg 0% 100%);
--color-text-dropdown-input: hsl(0deg 0% 13.33%);
@@ -109,8 +111,9 @@ 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 100% 60%);
-
+
/* Text colors */
+ --color-text-default: hsl(0deg 0% 100% / 75%);
--color-text-message-header: hsl(0deg 0% 100%);
--color-text-private-message-header: hsl(0deg 0% 100%);
--color-text-dropdown-input: hsl(0deg 0% 95%);