How to keep changes to SASS file when updating ionic


#1

Sorry if this has been asked before - how should I carry my custom changes to the SASS file over to the new version when updating ionic?

In other words, suppose I go in to the existing SASS file and change the colors. I then update to the new version of ionic and get a new version of that file. Should I just copy and paste things over or is there a better way?


#2

A good practice is to create your own sass file, import the ionic.scss file. That way, you can let the ionic sass files update, and your own sass file will just gain those changes.

A plus is that you will always be able to write your own custom theme. A good guide is this one


#3

I see - that’s just what I needed to know. Thank you!