Closed soilysound closed 9 years ago
I think this behaviour of cascading is bad design.
What task you want to solve?
Components that have certain values that we want to override with values set in a skin file:
@import skin-for-red-website.css > sets $background:red @import component.css > sets $background:grey !default
Scss can do this with variables -
Whereby it will only set the value of $example if it doesn't already exist. This is an important function to allow cascading.
Could this be supported in postcss-simple-vars?