Commit 7d76af6
committed
Refs #2096: The theme selector now controls all colors
Previously, if the system preference was dark mode and the user
explicitly selected the light theme, the @media block still interferred
with the styling. This is fixed by only evaluating the color scheme
preference when initializing the toolbar and later only looking at our
own selected theme.
Also, removed the DEFAULT_THEME setting; falling back to system defaults
seems much better to me.1 parent 11e28f7 commit 7d76af6
File tree
7 files changed
+352
-627
lines changed- debug_toolbar
- static/debug_toolbar
- css
- js
- templates/debug_toolbar
- docs
- tests
7 files changed
+352
-627
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
0 commit comments