Back to React Sketchapp

Generative Colors w/ chroma-js

examples/colors/README.md

3.2.2736 B
Original Source

Generative Colors w/ chroma-js

How to use

Download the example or clone the repo:

bash
curl https://codeload.github.com/airbnb/react-sketchapp/tar.gz/master | tar -xz --strip=2 react-sketchapp-master/examples/colors
cd colors

Install the dependencies

bash
npm install

Then, open Sketch and navigate to Plugins → react-sketchapp: Generative Colors

Run with live reloading in Sketch, need a new sketch doc open

bash
npm run render

The idea behind the example

Calculating color scales is pretty tricky in Sketch - have fun with it!