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

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?

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.

2 Likes

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

2 Likes

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

1 Like