Opened 3 days ago
Last modified 2 days ago
#36230 assigned Bug
Better color contrast for blockquote in admin docs
Description ¶
In the Admin Docs, the color contrast for text in blockquotes is quite low, making the text very hard to read. An example can be seen in the template tags docs.
The blockquote color is hard-coded to a shade of gray that isn’t visible in the dark theme. It needs switching to an existing CSS variable so the color contrast is good enough in both themes.
According to the ticket's flags, the next step(s) to move this issue forward are:
- To provide a patch by sending a pull request. Claim the ticket when you start working so that someone else doesn't duplicate effort. Before sending a pull request, review your work against the patch review checklist. Check the "Has patch" flag on the ticket after sending a pull request and include a link to the pull request in the ticket comment when making that update. The usual format is:
[https://github.com/django/django/pull/#### PR]
.
Change History (4)
by , 3 days ago
Attachment: | blockquote-example.png added |
---|
comment:1 by , 3 days ago
Component: | Uncategorized → contrib.admindocs |
---|---|
Type: | Uncategorized → Bug |
by , 2 days ago
Attachment: | image-20250305-100550.png added |
---|
comment:2 by , 2 days ago
Triage Stage: | Unreviewed → Accepted |
---|
Note:
See TracTickets
for help on using tickets.
Example from Django Admin Docs of a blockquote with poor color contrast on dark mode