-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Django dark mode is not working #129
Comments
@tbhaxor me too :), but this would require a lot of work and at the moment I have not the time for working on it. |
Maybe i can help you. will check in upcoming weekend |
|
@fabiocaccamo Could you guide me on setting up development environment |
I wonder if duplicating all the colour fields is the way to go here. Would all the dark fields be required? Could be bothersome for a project that doesn’t need/want a dark mode. But if they are optional, then there could be fields left out by mistake, making an incomplete or unreadable theme. What if Theme had a boolean field to indicate if it’s light or dark, and a one-to-one relation to theme table to indicate the “twin” theme to use according to browser mode? |
We can have a switch or some selector giving users to create two themes one for dark and another for light |
@merwok it is surely a smart solution, maybe a little bit overcomplicated. I'm guessing if in this case there is really the need to have an automatic switch between light and dark themes, in my opinion there is not, I don't care very much about the trends. I would start by adding the fields to customise all the theme colors, in this way it will be possible to have also dark themes (including some predefined ones). |
If you need help to do that pls let me know. Maybe I could help :) |
@saymoncoppi if you want to work on this you could start from here:
|
Suggestion: Just add another color selector for background. Thats it |
hey is this in any coming update or is it available right now? I'm not really looking for a dark mode, just the ability to choose my own background color. thanks :) |
This is an open ticket, with no pull request linked. |
What do you think of adding two active themes ? One can be used for the light mode and the other can be used for dark mode. Django officially support browser preference, so we can use that var as a param to |
@VaZark let's start by splitting the problem into smaller problems:
|
Hi, |
Hi @Macktireh Generally I work on enhancements / features when I have enough free time or I need them on paid projects I'm working on. If you really need this feature as soon as possible for a commercial project consider contributing to this open source project by submitting a pull-request, alternatively ask your boss to sponsor this project via GitHub sponsors. |
@fabiocaccamo |
@rob32 will be hidden in the next release. |
@rob32 it's hidden in |
up |
Python version
3.9
Django version
3.2.5
Package version
0.16.3
Current behavior (bug description)
Django default admin dark mode not working with django-admin-interface.
Expected behavior
I want to use the flat design provided by django-admin-interface but with dark mode
The text was updated successfully, but these errors were encountered: