#28508: Error views set background-color bot not foreground color
-------------------------------+----------------------------------------
Reporter: John Dallahan | Owner: Darius Azimi
Type: Bug | Status: assigned
Component: Core (Other) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------+----------------------------------------
Changes (by Darius Azimi):
* owner: nobody => Darius Azimi
* status: new => assigned
Comment:
To make sure I understand it correctly, using the same text and background
from technical_500 on other pages of csrf and technical_404 would correct
this issue?
Replying to [ticket:28508 John Dallahan]:
> CSRF error pages and 404 pages do not set the text color in their inline
styles, but they set background-color, making it annoying to view them
with dark GTK themes. Relevant lines:
>
https://github.com/django/django/blob/master/django/views/templates/technical_404.html#L11
> https://github.com/django/django/blob/master/django/views/csrf.py#L26
> The 500 page does have it set, though:
>
https://github.com/django/django/blob/master/django/views/templates/technical_500.html#L12
--
Ticket URL: <https://code.djangoproject.com/ticket/28508#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.dc1f4956fb99ddf0222d997a1ebcb12c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.