#35875: Dark mode support for directory_index view
-------------------------------------+-------------------------------------
     Reporter:  Emme Bravo           |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:  Generic
                                     |  views
      Version:  dev                  |                 Severity:  Normal
     Keywords:  accessibility        |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
 Django’s `directory_index` view uses simple HTML to display a list of
 files (see
 
[https://thibaudcolas.github.io/django_admin_tests/v5.1/english/defaults/directory_index/
 demo/directory_index]). It would be helpful if this was displayed in a
 dark theme when the user’s operating system is configured to use one, just
 like the Django admin.

 This can be achieved with the `color-scheme` meta tag, which will tell the
 browser the page is ready to adapt based on the user’s operating system
 preferences:

 `<meta name="color-scheme" content="light dark" />`
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35875>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070192dac5cff4-ff5d3e55-2973-4526-89e0-4c0ffe68566c-000000%40eu-central-1.amazonses.com.

Reply via email to