User theme selection

jmix contains the same themes as cuba, but how can you let the user choose which one he wants to use?

I saw that the theme can be customized, based on the originals, this part is fine, but in Cuba, there was a screen that allowed the user to choose the theme that he liked, if something was done in Jmix, what would be the best way?

Look for theme-settings-screen.xml and its controller ThemeSettingsScreen.java in your Jmix project.

See also how it’s done in UI Samples app: jmix-ui-samples/MainScreen.java at master · jmix-framework/jmix-ui-samples · GitHub

Will it ever be possible in Jmix 2 ?

Hi,

Take a look at the Changing Theme Variants at Runtime doc section.

Regards,
Gleb

thank you Gleb!