Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Dynamic theming: Compile ionic scss with node-sass?

$
0
0

@user5555 wrote:

I want to achieve dynamic theming with this steps:

  1. compiling an default version of the ionic scss
  2. compiling the version with a theme
  3. comparing the two and delete all classes in the themed file that aren’t different to the default css file
  4. 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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles