From ddf258855d8818287462e969eee42773afa41aa5 Mon Sep 17 00:00:00 2001 From: Alex Shnitman Date: Sat, 11 Dec 2021 16:48:40 +0200 Subject: fix sass syntax for dark mode --- ui/src/styles.sass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ui/src/styles.sass') diff --git a/ui/src/styles.sass b/ui/src/styles.sass index cb052ca..c54d06a 100644 --- a/ui/src/styles.sass +++ b/ui/src/styles.sass @@ -1,4 +1,8 @@ /* You can add global styles to this file, and also import other style files */ -@media(prefers-color-scheme: dark){html{filter:invert(1) hue-rotate(180deg)};} + +@media(prefers-color-scheme: dark) + html + filter: invert(1) hue-rotate(180deg) + /* Importing Bootstrap SCSS file. */ @import '~bootstrap/scss/bootstrap' -- cgit