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
1As of 8/2020 @use is only compatible with Dart Sass.
2Check compatibility with documentation.
3https://sass-lang.com/documentation/at-rules/use
1
2 @import "reset";
3
4body {
5
6
7 font-family: Helvetica, sans-serif;
8
9 font-size: 18px;
10 color: red;
11}
12