fix: darkmode scroll bars (#480)

This commit is contained in:
Ben Schlegel 2023-09-17 19:29:20 +02:00 committed by GitHub
parent 422ba5c365
commit 7ac772fca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,14 @@
} }
} }
:root[saved-theme="dark"] {
color-scheme: dark;
}
:root[saved-theme="light"] {
color-scheme: light;
}
:root[saved-theme="dark"] .toggle ~ label { :root[saved-theme="dark"] .toggle ~ label {
& > #dayIcon { & > #dayIcon {
opacity: 0; opacity: 0;