fix darkmode always applying when module loaded

This commit is contained in:
Akbar Rahman 2022-04-13 02:23:45 +01:00
parent f55b4f164b
commit a79d025d10
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -1,11 +1,10 @@
@media (prefers-color-scheme: dark) {
:root { :root {
--fg: #ccc; --fg: #ccc;
--bg: #111; --bg: #111;
--a: #07a; --a: #07a;
--a-visited: #aa346d; --a-visited: #aa346d;
} }
@media (prefers-color-scheme: dark) {
img, video { img, video {
opacity: .75; opacity: .75;
transition: opacity .5s ease-in-out; transition: opacity .5s ease-in-out;