I want to add a couple of themes on my Angular app and I would like to let users to do it by theirselft.
I just want to make some changes to colours, so this should affect just few rows of my SCSS files:
styles.scss
html, body {
background-color: black;
}
app/app.component.scss
.title {
color: green;
}
.subtitle {
color: grey;
}
.text {
color: white;
}
How to make it changeable by the user at runtime?
I searched and searched on Google and even here on SO (for example this question), but all the answers deal with loading different style files at compile time, but this could not let users to change the theme when the app is running.