RFR: 7056: Fix dark mode
Ashley
duke at openjdk.org
Tue Oct 18 11:39:05 UTC 2022
On Sun, 16 Jan 2022 15:32:33 GMT, Brice Dutheil <bdutheil at openjdk.org> wrote:
> This change allows a user of the JMC RCP application to switch the appearance with the default Eclipse themes.
>
> Those are shipped via the `org.eclipse.ui.themes` and `org.eclipse.e4.ui.css.swt.theme` plugin.
> In order to activate them all that is is required is to add the above in the application feature file, and to declare them in the application manifest file.
>
>
>
> **After**
> 
> 
>
>
>
> **Before**
> 
> There's no theme, as such the combo box doesn't open either.
Looks like a temporary workaround for this is to (at least for GTK) set the `GTK_THEME` environment variable before starting jmc.
GTK_THEME="Adwaita:light" jmc &
GTK_THEME="Adwaita:dark" jmc &

-------------
PR: https://git.openjdk.org/jmc/pull/362
More information about the jmc-dev
mailing list