1.0.2 • Published 8 years ago

postcss-forced-variables v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Build Status

The plugins purpose is to help enforce more consistent SASS-like variable usage in stylesheets.

E.g 1) The following will generate a warning stating that a variable could be used here.

ruleset : 'color', variables : {$white : #fff'} used to process the css:

body {

color: #fff;

}

E.g. 2) The following will throw an error stating that a variable should be used here.

ruleset : 'color', variables : {$white : #fff'} used to process the css:

body{

color : red; }

variables : { '$variableName' : 'variableValue}

}

Setup is complete. Further details can be seen in gulp test examples.

Feel free to e-mail me at alekhrycaiko@gmail.com with any suggestions or questions!