django-jazzmin
django-jazzmin copied to clipboard
Navbar still in light mode even DarkMode is applied
JAZZMIN_UI_TWEAKS = { "theme": "darkly" }
Even applying dark mode to the theme the navbar/Topmenu is still in light mode
@sarthak09walia hello, dark theme is actually determined by the "dark mode theme" variable on settings like this;
JAZZMIN_UI_TWEAKS = {
...
"theme": "flatly",
"dark_mode_theme": "darkly",
}
If you want to examine it in detail: https://django-jazzmin.readthedocs.io/ui_customisation/#dark-mode-enabled
I'm having this same issue even when setting {"theme": "darkly, "dark_mode_theme": "darkly"}
or {"theme": "slate, "dark_mode_theme": "slate"}
The inline fields are also white with white text
Chrome on OSX with dark mode set in OSX and set in Chrome It looks like the light mode theme is being used regardless of the setting and some elements aren't respecting the light theme anyways
@raimondi1337 hello, check your "JAZZMIN_UI_TWEAKS" in settings.py some values may remain light.
@raimondi1337 https://github.com/farridav/django-jazzmin/blob/master/jazzmin/settings.py#L121 change this on JAZZMIN_UI_TWEAKS