mirror of https://github.com/zulip/zulip.git
dark_theme: Declare color-scheme CSS property.
This allows the browser to select a more appropriate color for the browser scrollbars, for example. https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
21f8d26040
commit
5cc92365b8
|
@ -6,6 +6,8 @@
|
|||
*/
|
||||
@extend %dark-theme-block;
|
||||
|
||||
color-scheme: dark;
|
||||
|
||||
body {
|
||||
color: hsl(236, 33%, 90%);
|
||||
}
|
||||
|
|
|
@ -49,6 +49,10 @@ body,
|
|||
transition: background-color 200ms linear;
|
||||
}
|
||||
|
||||
:root {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
|
|
Loading…
Reference in New Issue