#34287: JavaScript code blocks in the documentation have poor contrast when
light
theme is enabled
---------------------------------------------+------------------------
Reporter: Hrushikesh Vaidya | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 4.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
---------------------------------------------+------------------------
For JavaScript code blocks in the documentation, even when the theme is
set to "light" using the theme button in the navbar,
`@media(prefers-color-scheme: dark)` styles are applied.
When the theme is explicitly set to dark, `html[data-theme="dark"]` styles
are applied (as expected), and when the theme is
set to system preference, and the system preference is dark, `@media
(prefers-color-scheme: dark)` styles are applied (as expected),
but when the theme is switched to be light, the applied styles don't
change.
--
Ticket URL: <https://code.djangoproject.com/ticket/34287>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070185e1a45dea-17324d64-3fe5-4636-9684-5eb45dff8d36-000000%40eu-central-1.amazonses.com.