css/main.scss: prefer dark over light

This commit is contained in:
Aminda Suomalainen 2024-05-25 07:59:44 +03:00
parent 2e7d2edbb0
commit d85eaaf0d2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

6
css/main.scss vendored
View File

@ -49,9 +49,11 @@ $on-laptop: 800px;
} }
} }
// As high in css as can be edited // As high in css as can be edited. If I understand correctly, user
// preference will take priority over this, but if the user hasn't expressed
// it, this will make dark default.
:root { :root {
color-scheme: light dark; color-scheme: dark light;
} }
// This is the missing content blocker detection // This is the missing content blocker detection