Skip to content

Commit

Permalink
Better avoidance of a force-dark function
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Sp3EdeR committed Oct 10, 2024
1 parent bce067b commit 4018f07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions res/huroutes.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* Page generics
*/

:root {
color-scheme: light dark;
}
body {
font-size: 14px;
overflow-x: hidden;
Expand Down

0 comments on commit 4018f07

Please sign in to comment.