Skip to content

Commit 4018f07

Browse files
committed
Better avoidance of a force-dark function
Many browsers have a forced dark mode feature for websites that only support light mode The force dark mode function should be disabled for this website, as it supports mode switching. This feature helps browsers detect that the website supports dark-mode and disable force dark.
1 parent bce067b commit 4018f07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

res/huroutes.css

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* Page generics
33
*/
44

5+
:root {
6+
color-scheme: light dark;
7+
}
58
body {
69
font-size: 14px;
710
overflow-x: hidden;

0 commit comments

Comments
 (0)