The only way I found is to create a ThemeContainer, which uses ThemeProvider, and connect it to the themed items.
ThemeContainer
ThemeProvider
This works but it displays two copies of the UI. Anyone knows a better solution?