From 4808addf66281e9af47bbb898f6ba8107fbef77f Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Mon, 27 May 2024 12:47:08 +0200 Subject: [PATCH] Avoid setting color-scheme on :root, we're only a guest on pages (#1923) Fixes #1922. --- debug_toolbar/static/debug_toolbar/css/toolbar.css | 3 --- docs/changes.rst | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debug_toolbar/static/debug_toolbar/css/toolbar.css b/debug_toolbar/static/debug_toolbar/css/toolbar.css index 170cc3d5f..e028a67b7 100644 --- a/debug_toolbar/static/debug_toolbar/css/toolbar.css +++ b/debug_toolbar/static/debug_toolbar/css/toolbar.css @@ -11,7 +11,6 @@ monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - color-scheme: light; --djdt-font-color: black; --djdt-background-color: white; --djdt-panel-content-background-color: #eee; @@ -35,7 +34,6 @@ @media (prefers-color-scheme: dark) { :root { - color-scheme: dark; --djdt-font-color: #8393a7; --djdt-background-color: #1e293bff; --djdt-panel-content-background-color: #0f1729ff; @@ -58,7 +56,6 @@ } #djDebug[data-theme="dark"] { - color-scheme: dark; --djdt-font-color: #8393a7; --djdt-background-color: #1e293bff; --djdt-panel-content-background-color: #0f1729ff; diff --git a/docs/changes.rst b/docs/changes.rst index 84821c56b..1d66d1323 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -4,6 +4,8 @@ Change log Pending ------- +* Removed some CSS which wasn't carefully limited to the toolbar's elements. + 4.4.1 (2024-05-26) ------------------