assets/main.scss: add a simple dark mode

This commit is contained in:
Aminda Suomalainen ⚧ 2024-05-26 16:31:30 +03:00
parent 0fe08e9499
commit 7ab6b37b50
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 15 additions and 0 deletions

15
assets/main.scss Normal file
View File

@ -0,0 +1,15 @@
---
#
---
@use "{{ site.theme }}";
:root {
color-scheme: light dark !important;
}
* {
color: revert !important;
text-color: revert !important;
background-color: revert !important;
}