You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Photon release Eclipse can use the Linux theme, so now users can have a dark Eclipse without selecting the dark Eclipse theme. But TM4E does not have a way to know if the OS theme is dark or not, so it shows by default the light theme associate to the grammars.
Right now I am using Adwaita dark Gnome theme, and I have to set manually a dark theme to all the TM4E grammars. It would be great if we have an option to set the default theme for all the grammars. Or maybe a better solution could be to set TM4E in dark mode without set Eclipse in dark mode.
The text was updated successfully, but these errors were encountered:
Linux desktop environments can be themeable. One popular theme is Adwaita Dark. If you set disable theming in Photon, it will show the current OS theme perfectly. If the OS theme is dark, Eclipse will look dark, but TM4E will show light themes, so we need a way in TM4E to put all the grammars in the dark mode.
Is like, in the method isDarkEclipseTheme() first we check for a custom TM4E preference, that could be "light", "dark" or "delegate". In case it is "delegate" (the default value), then you look for the E4 preferences. What do you think?
But you know, I just found a workaround. First, we set Eclipse in Dark mode, then we disable theming. It seems that TM4E will get the theme preferences as Dark, so it will show the dark theme of the grammars.
Hi,
Since Photon release Eclipse can use the Linux theme, so now users can have a dark Eclipse without selecting the dark Eclipse theme. But TM4E does not have a way to know if the OS theme is dark or not, so it shows by default the light theme associate to the grammars.
Right now I am using Adwaita dark Gnome theme, and I have to set manually a dark theme to all the TM4E grammars. It would be great if we have an option to set the default theme for all the grammars. Or maybe a better solution could be to set TM4E in dark mode without set Eclipse in dark mode.
The text was updated successfully, but these errors were encountered: