Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 549 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 549 Bytes

Color

Extremely tiny color package (1300 bytes gzipped) for parsing, manipulating, and computing CSS colors.

In particular, supports most of the algorithms needed for WCAG accessibility guidelines, and a swatch algorithm superior to manipulating "lightness."

Development Usage

Build:

npm run build

Unit tests:

npm run test

Unit tests, refreshed live:

npm run watch

Prepare for release (e.g. run tests and bump version number):

npm run release

Publish to npm:

npm publish