abrusco-cli

2.3.0 • Public • Published

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

Package Sidebar

Install

npm i abrusco-cli

Homepage

abrusco.com/

Weekly Downloads

3

Version

2.3.0

License

MIT

Unpacked Size

9.32 kB

Total Files

5

Last publish

Collaborators

  • lemmon