#33690: Allow disabling admin module dark theme
-----------------------------------------+----------------------------
               Reporter:  nv35           |          Owner:  nobody
                   Type:  New feature    |         Status:  new
              Component:  contrib.admin  |        Version:  4.0
               Severity:  Normal         |       Keywords:  dark theme
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  1              |
-----------------------------------------+----------------------------
 Since #31259, dark theme had been added to admin interface and enabled by
 default to follow OS environment theme.
 Some sites may want to have the possibility to keep the light theme for
 all users, ie. for compatibility with custom forms/views/charts... that
 don't render well under dark theme.
 Having possibility to disable dark theme for the whole admin site would be
 a good start.

 There are already some stackoverflow questions about that, and multiple
 django plugins to do that. They basically just force light theme in css,
 while a more evolved one stores user preference in database.
 https://stackoverflow.com/questions/67193106/disable-prefers-color-scheme-
 dark-in-django-admin
 https://stackoverflow.com/questions/68159768/disable-dark-mode-in-django-
 admin
 https://pypi.org/project/django-non-dark-admin/
 https://pypi.org/project/django-light/

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33690>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070180ace294d7-9c4c4d06-3d98-47ea-ad2e-cccec2612936-000000%40eu-central-1.amazonses.com.

Reply via email to