Skip to content

Commit c557f24

Browse files
Fix Dark Mode Conflict in Pygments (#2108)
1 parent 0d9b80e commit c557f24

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: debug_toolbar/static/debug_toolbar/css/toolbar.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
@media (prefers-color-scheme: dark) {
3939
:root {
40-
--djdt-font-color: #8393a7;
40+
--djdt-font-color: #f8f8f2;
4141
--djdt-background-color: #1e293bff;
4242
--djdt-panel-content-background-color: #0f1729ff;
4343
--djdt-panel-title-background-color: #242432;

Diff for: docs/changes.rst

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Pending
1717
* Avoided reinitializing the staticfiles storage during instrumentation.
1818
* Avoided a "forked" Promise chain in the rebound ``window.fetch`` function
1919
with missing exception handling.
20+
* Fixed the pygments code highlighting when using dark mode.
2021

2122
5.0.1 (2025-01-13)
2223
------------------

0 commit comments

Comments
 (0)