Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with dark mode introduced in Django 3.2 #108

Open
jnns opened this issue Nov 16, 2022 · 0 comments
Open

Not compatible with dark mode introduced in Django 3.2 #108

jnns opened this issue Nov 16, 2022 · 0 comments

Comments

@jnns
Copy link

jnns commented Nov 16, 2022

As part of the Django 3.2 release, the admin now has a dark theme that is applied based on a prefers-color-scheme media query. Release Notes

The admin now supports theming, and includes a dark theme that is enabled according to browser settings.

This leads to light text on white input field background:

grafik

Additionally, the body background color is set to white by django-pagedown which doesn't interfere with the light theme but looks weird on model admins that have a pagedown widget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant