From 54016ddb645635b4e4fe41ecfea17472589b3154 Mon Sep 17 00:00:00 2001 From: andoriyaprashant Date: Wed, 19 Mar 2025 14:37:48 +0530 Subject: [PATCH 1/3] Fix Dark Mode Conflict in Pygments --- debug_toolbar/static/debug_toolbar/css/toolbar.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_toolbar/static/debug_toolbar/css/toolbar.css b/debug_toolbar/static/debug_toolbar/css/toolbar.css index 47f4abb2d..3d0d34e6c 100644 --- a/debug_toolbar/static/debug_toolbar/css/toolbar.css +++ b/debug_toolbar/static/debug_toolbar/css/toolbar.css @@ -37,7 +37,7 @@ @media (prefers-color-scheme: dark) { :root { - --djdt-font-color: #8393a7; + --djdt-font-color: #f8f8f2; --djdt-background-color: #1e293bff; --djdt-panel-content-background-color: #0f1729ff; --djdt-panel-title-background-color: #242432; From ad5d3a476a1dbdcd4b5c6d9ba418863a37746e9e Mon Sep 17 00:00:00 2001 From: andoriyaprashant Date: Wed, 19 Mar 2025 14:40:38 +0530 Subject: [PATCH 2/3] changes.rst --- docs/changes.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changes.rst b/docs/changes.rst index f11d4889e..132064ffc 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -4,6 +4,7 @@ Change log Pending ------- +* Fix Dark Mode Conflict in Pygments * Added Django 5.2 to the tox matrix. * Updated package metadata to include well-known labels. * Added resources section to the documentation. From 78e8fa245097108c56554ab8239d6a71382e2825 Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Wed, 19 Mar 2025 10:42:18 +0100 Subject: [PATCH 3/3] Reword the changelog entry --- docs/changes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changes.rst b/docs/changes.rst index ab875e73f..0a13dc4b3 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -4,7 +4,6 @@ Change log Pending ------- -* Fix Dark Mode Conflict in Pygments * Added Django 5.2 to the tox matrix. * Updated package metadata to include well-known labels. * Added resources section to the documentation. @@ -18,6 +17,7 @@ Pending * Avoided reinitializing the staticfiles storage during instrumentation. * Avoided a "forked" Promise chain in the rebound ``window.fetch`` function with missing exception handling. +* Fixed the pygments code highlighting when using dark mode. 5.0.1 (2025-01-13) ------------------