Opened 3 years ago

Closed 3 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)

contrast-bug.jpg (219.7 KB ) - added by Hrushikesh Vaidya 3 years ago.
contrast-bug-2.jpg (205.3 KB ) - added by Hrushikesh Vaidya 3 years ago.
Screenshot_20211228_103309.png (55.4 KB ) - added by Mariusz Felisiak 3 years ago.

Download all attachments as: .zip

Change History (4)

by Hrushikesh Vaidya, 3 years ago

Attachment: contrast-bug.jpg added

by Hrushikesh Vaidya, 3 years ago

Attachment: contrast-bug-2.jpg added

by Mariusz Felisiak, 3 years ago

comment:1 by Mariusz Felisiak, 3 years ago

Resolution: needsinfo
Status: newclosed

Thanks for the report, however it works for me:


Can you provide a sample project that reproduces this issue?

Note: See TracTickets for help on using tickets.
Back to Top