Roots Discourse

All the SCSS files inside resources/assets/styles/mian.scss - where are they saved?

gulp
webpack
sage8
sage9

#1

I want to have an option to choose different color scheme in the customizer section.

e…g. user can choose green theme or blue theme.

In the source code i cant find main.scss file so I can replace it.

I’m new to development. so i just want to know where is main.scss saved?


#2

The main.scss and the partials imported by that file are located in resources/assets/styles. Those are source files — not the stylesheet the theme enqueues. When you run the build command, the built main.css will be located in dist/styles.


#3

@Mais_Cule there’s a post here by @MWDelaney that may help you get started.


#4

Thank you very much! exactly what i was looking for.