Scope variables to mixins instead of using globals
bensmithett opened this issue · 1 comments
bensmithett commented
Global variables are kinda the Sass way. I'd like to try scoping every single variable with mixins, then explicitly include them where required.
=colors
$green: #0f0
.some-module
+colors
color: $green
I wonder if there needs to be some distinction in the project structure between mixins that just import variables and those that actually generate CSS.
bensmithett commented
Nah, this will be done better in #6