I want to achieve dynamic theming with this steps:
- compiling an default version of the ionic scss
- compiling the version with a theme
- comparing the two and delete all classes in the themed file that aren’t different to the default css file
- wrap the whole result of step 3 in a class in scss and compile that to change the them if I apply that class to the root of my page.
Is that a good idea? Whats the best methode to achieve that?
I’m curently stuck at compiling the default scss in a node.js app, but I don’t know what parameters the scss funtion needs to work properly.
What is the right way to do that?