Sketch Plugin 2

Hi @dan,

not sure if you guys would like to share. But how do you calculcate the different shades for each color. Writing a new plugin for sketch to generate palettes that represent the once used in Elements.

Its not yet done and I am still working on the dynamic base color selection.


1 Like

Elements might. But tailwind shades seem to be hand crafted, not created by an algorithm fed one colour.

Take a look at chroma.js

I am aware of that and I know how to calculate the stuff so far. It would just be awesome if I am using a value for e.g. 500 that I would 1:1 the same value like in Elements. The tailwind once I also generate from hardcoded once.

2 Likes