fix darkmode always applying when module loaded
This commit is contained in:
parent
f55b4f164b
commit
a79d025d10
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user