Community
Participate
Working Groups
The hard coded color #515658 in dask theme css files doesn't make the default gnome dark theme (Adwaita dark). It's better to introduce some color extension so that we can provide a correct color #353535 for gtk dark theme.
Amit, please suggest Gerrit
(In reply to Lars Vogel from comment #1) > Amit, please suggest Gerrit I will try soon. BTW, the best option is to remove the "e4-dark_globalstyle.css" from the "e4-dark_linux.css" and let the "DarkThemeProcessor" call "OS.setDarkThemePreferred" some how before "Display" is created. Right now "OS.setDarkThemePreferred" is called only after "Display" is created so the system colors are not detected properly. This can also fix #563290. I have tried myself but eclipse source code is too complex for me to do it in correct way.
i don't think we can call, "OS.setDarkThemePreferred" before the Display is created, but maybe SWT can reread the colors on this call. Adding Alexander for comments.
(In reply to Lars Vogel from comment #3) > i don't think we can call, "OS.setDarkThemePreferred" before the Display is > created, but maybe SWT can reread the colors on this call. > > Adding Alexander for comments. I tried calling `Display.initializeSystemColors` using reflection (as it's package private) and it was working. However, I am not sure whether calling `Display.initializeSystemColors` here require some cleanup as the method seems to be using some native code.
No need if changes from Bug 563684 are accepted.