SCSS importing file without import

Viewed 1332

So I ran into something weird.. I'm using the 7-1 pattern for my CSS needs. For those unfamiliar you can read about it here: https://sass-guidelin.es/

I have a _variables.scss file where I have some css variables declared. My question is that I can access these variables in other .scss files without using the import statement in that particular file. Can anyone explain why?

Edit: My guess is that I have a main.scss file that SCSS is watching which is importing all the other files. By the time the CSS is attempting to be transpiled the variables are available to it in the other files?

1 Answers
Related