Opened 4 years ago
Closed 4 years ago
#33389 closed Cleanup/optimization (needsinfo)
Admin label contrast issues & light background elements in dark mode
| Reported by: | Hrushikesh Vaidya | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | 4.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | yes |
Description
When the dark_mode.css stylesheet is loaded in the admin when a client prefers dark mode, the admin's label tags are still given a color from the forms.css stylesheet, which results in the label elements having very poor contrast with the dark background of the body.
Moreover, some elements in the admin UI, like .submit-row and .selector-available h2 are given light background colors that come from their respective stylesheets.
Attachments (3)
Change History (4)
by , 4 years ago
| Attachment: | contrast-bug.jpg added |
|---|
by , 4 years ago
| Attachment: | contrast-bug-2.jpg added |
|---|
by , 4 years ago
| Attachment: | Screenshot_20211228_103309.png added |
|---|
comment:1 by , 4 years ago
| Resolution: | → needsinfo |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Thanks for the report, however it works for me:
Can you provide a sample project that reproduces this issue?