Problem/Motivation
When using the gin theme in dark mode, the jstree UI looks bad. See the screenshot.
Steps to reproduce
Install media_directories_ui and use gin (with dark mode enabled) as admin theme,
head over to /admin/content/browser.
Proposed resolution
Add styles for specific themes, maybe only for gin, that support darkmode.
I do not know about a core theme, that offers a dark mode (yet).
I found this module inverting colors dark_admin, but it seems never to came alive ...
Remaining tasks
List other admin themes that support dark mode.
User interface changes
Depending on the theme we need to override jstree background, font and highlight colors.
For gin, we could reuse it's --vars and defined highlight color.
Comments
Comment #2
ytsurkComment #3
ytsurkI just saw https://github.com/vakata/jstree/tree/8c1bcc87771f5be0b70cd49d6a7888707e... which can be set here: https://www.jstree.com/api/#/?f=$.jstree.defaults.core.themes.name
Definitely the way to go IMO, and trying to avoid overriding theme css, settings --vars still okey to me.
Comment #4
rang501 commentedFixed in 3.x version. Will close this issue.