Implement auto dark mode in CSS #2440
Labels
A-Style
Area: Style (CSS, etc.)
A-Theme
Area: Theme
C-enhancement
Category: Enhancement or feature request
Problem
Currently, the page will load with a default light style, then JS will take over and if it detects that it is in "auto theme" mode and that the browser is in dark mode, it replaces the light colors with dark colors. This causes a few problems:
Proposed Solution
You can use CSS media queries to perform the dark mode check inside the CSS.
Notes
Related: #1504
The text was updated successfully, but these errors were encountered: