I created a project example to toggle between themes using a Theme Provider. The way it's done supports hot reload when changing styles inside themes, without the need of hot reload to apply the new changes (for example color changes).
[https://github.com/Nyorok/DynamicTheme][1]
[1]: https://github.com/Nyorok/DynamicTheme
I created a project example to toggle between themes using a Theme Provider. The way it's done supports hot reload when changing styles inside themes, without the need of hot reload to apply the new changes (for example color changes).
[https://github.com/Nyorok/DynamicTheme][1]
[1]: https://github.com/Nyorok/DynamicTheme