Skip to main content

A collection of color palettes for mapping and visualisation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chrys-4.0.29.tar.gz (42.4 kB view hashes)

Uploaded Source

Built Distribution

chrys-4.0.29-py2.py3-none-any.whl (41.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page