The idea is to wrap the application in a theme provider.
The theme provider's job is to load styles based on a specified theme name.
This is a very crude example just to demonstrate it's possible.
Theme provider: src/app/theme/theme
This requires Angular >= 9 / Ivy