Low text contrast for grey buttons in admin light theme
The Django admin’s light theme uses mid-grey backgrounds for the "object tools" and "cancel" buttons, which doesn’t offer enough contrast combined with their white text. Here is a full contrast grid of the light theme color palette for reference.
This can be fixed by changing the one --close-button-bg
variable I believe. I would recommend setting it to #747474
, currently used for those buttons’ hover state, and switch the hover state to use a much darker #333
instead.
Change History
(6)
Type: |
Uncategorized → Bug
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Mia Bajić
|
Status: |
new → assigned
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR: https://github.com/django/django/pull/16105