Can't get SASS working

Hi,

I’ve successfully used SASS in previous ionic projects but I remember it being a bit fiddly.

I’ve edited ionic.app.scss in the scss folder in the project root and rebuilt the project but my changes are not reflected in my iOS app. Specifically I am trying to change:

$stable:                          #265a2f !default;

My ionic.app.scss looks like:

$ionicons-font-path: "../lib/ionic/fonts" !default;

$stable:                          #265a2f !default;

// Include all of Ionic
@import "www/lib/ionic/scss/ionic";

Any ideas what I’m doing wrong?

Thanks

Have you checked that the generated CSS has the right color?
Have you checked that the index.html includes the generated CSS?

1 Like