Skip to content

Commit

Permalink
Fixed #35145 -- Corrected color scheme of vanilla HTML widgets in admin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli authored and felixxm committed Feb 9, 2024
1 parent 0626425 commit b47bdb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django/contrib/admin/static/admin/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ html[data-theme="light"],
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji";

color-scheme: light;
}

html, body {
Expand Down
4 changes: 4 additions & 0 deletions django/contrib/admin/static/admin/css/dark_mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

--close-button-bg: #333333;
--close-button-hover-bg: #666666;

color-scheme: dark;
}
}

Expand Down Expand Up @@ -63,6 +65,8 @@ html[data-theme="dark"] {

--close-button-bg: #333333;
--close-button-hover-bg: #666666;

color-scheme: dark;
}

/* THEME SWITCH */
Expand Down

0 comments on commit b47bdb4

Please sign in to comment.