Cross-component mixins and variables
-
Documentation
- The Compony Theme
- The Compony Gulp
Normally, when working in a [component-name].scss
, Gulp will only compile the CSS of the component that you are working in. But when you are changing something within _sass-essentials
, Gulp will re-generate all the CSS of each component of that theme.
More information on when to write theme-wide variables and when to stay component-specific.