#31259: Add a dark theme to the admin module
-------------------------------------+-------------------------------------
     Reporter:  Michel Le Bihan      |                    Owner:  Michel Le
                                     |  Bihan
         Type:  New feature          |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  3.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  1
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------

Comment (by Matthias Kestenholz):

 I proposed starting to use CSS variables for styling the administration
 panel here: https://code.djangoproject.com/ticket/32018

 I would hope that dark mode could be supported using something like

 {{{
 @media (prefers-color-scheme: dark) {
   html {
     --body-fg-color: #fff;
     --body-bg-color: #333;
   }
 }
 }}}

 Maybe you have some feedback on the other ticket and/or the proposed
 change?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31259#comment:4>
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/067.d62328d244cc66469b5536a22ce58ae6%40djangoproject.com.

Reply via email to