0.1.0 • Published 5 years ago
@dguijs/postcss-rezimota v0.1.0
@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-devUsage
You can use the plugin with PostCSS CLI.
Install the plugin alongside
postcss-cli:npm install postcss-cli @dguijs/postcss-rezimota --save-devAdd 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.
0.1.0
5 years ago