CLI interface for Abrusco stylesheets.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.npmrc
CHANGELOG
LICENSE
README.md
cli.js
index.js
package.json

README.md

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

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