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: Declare color-scheme CSS property.

Anders Kaseorg5cc92365b8b2
diff --git a/static/styles/dark_theme.css b/static/styles/dark_theme.css
index b480e7efbb6..0100325aacd 100644
--- a/static/styles/dark_theme.css
+++ b/static/styles/dark_theme.css
@@ -6,6 +6,8 @@
*/
@extend %dark-theme-block;
+ color-scheme: dark;
+
body {
color: hsl(236, 33%, 90%);
}
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 9981887d8ba..1994d37ae4e 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -49,6 +49,10 @@ body,
transition: background-color 200ms linear;
}
+:root {
+ color-scheme: light;
+}
+
input,
button,
select,