/chrys

A collection of color palettes for visualisation in JavaScript, Python and Sass

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

chrys

CircleCI

A collection of color palettes for visualisation in JavaScript, Python and Sass.

Demo

netbek.github.io/chrys

Installation

Node.js and Sass

npm install chrys

Python 3.6 and up

pip install chrys

Usage

For instructions, refer to the docs.

Development: Installation

  1. Build the Docker container:

    ./docker/install.sh
  2. Create .pypirc:

    cp example.pypirc .pypirc
  3. Enter a PyPI API token as the password in .pypirc.

Development: Usage

Upgrade Node dependencies:

./docker/run.sh ./docker/scripts/upgrade_node_deps.sh

Build the palette data, JavaScript and Python distribution packages, Sass, CSS, Illustrator scripts:

./docker/run.sh ./docker/scripts/build.sh

Publish the JavaScript and Python distribution packages:

npm publish
npm run publish-py

Credit

Palettes from:

License

Copyright (c) 2017 Hein Bekker. Licensed under the BSD 3-Clause License.