chrys
v4.3.3
Published
A collection of color palettes for visualisation in JavaScript, Python and Sass
Downloads
913
Readme
chrys
A collection of color palettes for visualisation in JavaScript, Python and Sass.
Demo
Installation
Node.js and Sass
npm install chrysPython 3.13 and up
pip install chrysUsage
For instructions, refer to the docs.
Development: Installation
Clone the repo:
git clone [email protected]:netbek/chrys.gitInstall Mise and add activation to
~/.bashrc, e.g.curl -fsSL https://github.com/jdx/mise/releases/download/v2026.7.13/install.sh | shTrust
mise.toml:mise trustCreate a PyPI API token, and add the token to the system keyring as the password:
keyring set pypi-chrys __token__
Development: Usage
Patch Node dependencies to fix ESM imports:
npx patch-package @bokeh/bokehjs --exclude 'nothing'
npx patch-package vega-scale --exclude 'nothing'Build the palette data:
make build-dataBuild and publish the JavaScript and Python distribution packages:
make bump-version [major|minor|patch]
git push
make build-dist-and-commit
git push
make create-release
make publishCredit
Palettes from:
License
Copyright (c) 2017 Hein Bekker. Licensed under the BSD 3-Clause License.
