I am looking for a way to dynamically change the appearance of Angular2 components with just the click of a button, making them appear completely different each time. This is similar to implementing various CSS "Skins" or "Themes". It would also be convenient if new "Skins" could be incorporated later on.
While I am aware that setting ViewEncapsulation.None
and using interchangeable CSS files is an option, I am curious if there is a method to achieve this using ViewEncapsulation
.
If anyone has any advice or suggestions on how this can be accomplished, I would greatly appreciate it! Thank you, Markus