@dguijs/postcss-rezimota
v0.1.0
Published
PostCSS plugin for generating CSS using ACSS classes
Downloads
4
Maintainers
Readme
@dGUIJS/postcss-rezimota
PostCSS plugin for generating your CSS using ACSS classes.
Example
Input:
.container {
@Bgc(red);
p: 20px;
}
Output:
.container {
background-color: red;
padding: 20px;
}
Installation
npm install @dguijs/postcss-rezimota --save-dev
Usage
You can use the plugin with PostCSS CLI.
Install the plugin alongside
postcss-cli
:npm install postcss-cli @dguijs/postcss-rezimota --save-dev
Add script for compiling CSS to your
package.json
:"scripts": { "build:css": "postcss input.css -u @dguijs/postcss-rezimota -o output.css" }
Call
npm run build:css
.
Configuration
No configuration. Consider it a feature.
License
See LICENSE file for details.