abrusco-cli
v2.3.0
Published
CLI for Abrusco CSS.
Downloads
13
Maintainers
Readme
Abrusco
CLI interface for Abrusco stylesheets. https://abrusco.com
Install
This package is meant to be installed globally.
npm install abrusco-cli --global
Usage
Usage
$ abrusco <input.css>
Options
-o, --output Output file
-m, --minify Minify the output stylesheet
-w, --watch Watch CSS source directory for changes
--novars Do not preserve CSS variables
--purge Purge CSS
Example
$ abrusco src/master.css -o dist/bundle.css
$ abrusco src/master.css -o dist/bundle.css --minify
$ abrusco src/master.css -o dist/bundle.css --watch
Build Your Own
master.css
:
@import 'abrusco';
/* my custom variables */
:root {
--text-color: var(--purple); /* affect Abrusco's internals */
}
/* my custom styles */
.hello {
color: var(--orange);
}
abrusco master.css > bundle.css
Related
License
MIT