1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #35145 -- Corrected color scheme of vanilla HTML widgets in admin.

This commit is contained in:
Eli 2024-01-30 11:02:58 -03:00 committed by Mariusz Felisiak
parent 06264258dc
commit b47bdb4cd9
2 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,8 @@ html[data-theme="light"],
"Segoe UI Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Segoe UI Symbol",
"Noto Color Emoji"; "Noto Color Emoji";
color-scheme: light;
} }
html, body { html, body {

View File

@ -29,6 +29,8 @@
--close-button-bg: #333333; --close-button-bg: #333333;
--close-button-hover-bg: #666666; --close-button-hover-bg: #666666;
color-scheme: dark;
} }
} }
@ -63,6 +65,8 @@ html[data-theme="dark"] {
--close-button-bg: #333333; --close-button-bg: #333333;
--close-button-hover-bg: #666666; --close-button-hover-bg: #666666;
color-scheme: dark;
} }
/* THEME SWITCH */ /* THEME SWITCH */