Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

lemmon/abrusco-cli

Repository files navigation

Note: This package has been moved to abrusco monorepo.

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

About

CLI interface for Abrusco stylesheets.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published