mirror of https://github.com/zulip/zulip.git
styles: Fix dark-theme mixin in zulip.css.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
ecde9066d7
commit
13066e6406
|
@ -58,14 +58,18 @@ body,
|
|||
--right-sidebar-width: 250px;
|
||||
}
|
||||
|
||||
:root.dark-theme {
|
||||
%dark-theme {
|
||||
--color-default-text: hsl(0, 0%, 100%);
|
||||
--color-date: hsl(0, 0%, 100%, 0.75);
|
||||
}
|
||||
|
||||
:root.dark-theme {
|
||||
@extend %dark-theme;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root.color-scheme-automatic {
|
||||
@extend :root.dark-theme;
|
||||
@extend %dark-theme;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue