Change Themes at runtime

Hi,

I’d like to add an option to change themes at runtime in the same way as Studio does.

image

Does anyone know how to do this?

[UPDATE]
My bad the use of multiple themes is in the documentation and the instructions are great.

You can also use normal Vaadin in the code to set the Theme
AppUI.getCurrent().setTheme(“dark”);

Hello,

Probably, there is should be some CUBA API to change theme. I’ve created an issue in YouTrack: link, but i’m not sure that it will be implemented.

Regards,
Daniil.