Commit 66361c5
authored
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 1ea7c95 commit 66361c5
File tree
7 files changed
+366
-632
lines changed- debug_toolbar
- static/debug_toolbar
- css
- js
- templates/debug_toolbar
- docs
- tests
7 files changed
+366
-632
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