Skip to content

Commit a0f0df9

Browse files
authored
Fix overriding font-family for both light and dark themes (#1930)
1 parent d481182 commit a0f0df9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

debug_toolbar/static/debug_toolbar/css/toolbar.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* Variable definitions */
2-
:root,
3-
#djDebug[data-theme="light"] {
2+
:root {
43
/* Font families are the same as in Django admin/css/base.css */
54
--djdt-font-family-primary: "Segoe UI", system-ui, Roboto, "Helvetica Neue",
65
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
@@ -10,7 +9,10 @@
109
"Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New",
1110
monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
1211
"Noto Color Emoji";
12+
}
1313

14+
:root,
15+
#djDebug[data-theme="light"] {
1416
--djdt-font-color: black;
1517
--djdt-background-color: white;
1618
--djdt-panel-content-background-color: #eee;

docs/changes.rst

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Change log
44
Pending
55
-------
66

7+
* Fix overriding font-family for both light and dark themes.
8+
79
4.4.2 (2024-05-27)
810
------------------
911

0 commit comments

Comments
 (0)