How does sass build and output multiple different CSS files at once, skin development

Article From:https://segmentfault.com/q/1010000012143898

Question:

There are five skin files and a generic style file. I want to generate five *.min.css at a time.I set up a variable to load different skin according to variables. I have to manually switch variables five times on my side, and I want to compile five of them.

Answer 0:

A variable’s storage file is set up again. All the variables in the skin and the general style are used in this variable file, put the variable file on the head of the other files, and give each of the five skin files a variable that belongs to that file, so each time the variable is changed, the variable is only required to be input in the variable file.After compilation, we hope that we can help you.