1// When importing the master, you leave out the underscore, and it
2// will look for a file with the underscore. This prevents the SCSS
3// compiler from generating a CSS file from it.
4@import "assets/master";
5
6// Then do the rest of my CSS afterwards:
7.text { color: $accent; }
8
9// assets/_master.scss
10$accent: #6D87A7;
11$error: #811702;
12
1//_variables.scss
2$light: #f5f5f5;
3$dark: ##2e3033;
4
5//_theme.scss
6@import './_variables'; //relative path to file
7body {
8 background-color: $dark;
9}
1// When importing the master, you leave out the underscore, and it
2// will look for a file with the underscore. This prevents the SCSS
3// compiler from generating a CSS file from it.
4@import "assets/master";
5
6// Then do the rest of my CSS afterwards:
7.text { color: $accent; }
8