Hi guys,
I was wondering if I could make the user choose the app colors? Is it possible?
For example: I set the primary color of my app “green”, but I wanted to give the choice to the user if he/she wants to change it.
Thank you for your attention.
You could have settings page where the user customizes the look, write the configs to a file and the have the app read the custom configs using appinitializer on startup
Another idea would be to use DomController
to write into a style
element and tuck it into the document’s head
. I’ve used that approach to define custom colors at runtime.