Skip to content

Commit 8edcb8f

Browse files
committed
Fix dark mode tasmota icon
1 parent 71e1129 commit 8edcb8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/css/docs.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ html, body {
2020
}
2121

2222
[src*="tasmota-icon.png"] {
23-
filter: invert(1) grayscale(1);
23+
@media (prefers-color-scheme: dark) {
24+
filter: invert(1) grayscale(1);
25+
}
2426
}
2527

2628
pre {

0 commit comments

Comments
 (0)