Resin
A future facing CSS preprocessor made with Rework.
Installation
npm install topcoat-resin
Usage
var resin = ; ;
This function will return an evaluated string that you can write to a file, or stream etc.
Example writing to a file:
var resin = write = writeFileSync output; output = ; ;
Entry CSS file
;;
Resin will pull in CSS source files distributed via npm packages and add them to the AST. Uses rework-npm under the covers.
Features
Resin supports:
- Imports
- Variables
- Colors
- Extend
- Namespacing
- Autoprefixer
- License addition
- Adding more rework plugins
- Source maps for debugging