Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Move usage of chroma-js to color #6

Open
mjsisley opened this issue Aug 16, 2017 · 2 comments
Open

Move usage of chroma-js to color #6

mjsisley opened this issue Aug 16, 2017 · 2 comments

Comments

@mjsisley
Copy link

I believe the npm package color provides most of the functionality of chroma and is 10kb lighter.

If you are interested, I will look into trying to replace if possible.

@hkjpotato
Copy link

Why not mention chroma-js in the readme. I thought u create the color conversion function in such a small libs.

@HerrBertling
Copy link

I think in terms of creating color palettes, chroma-js operates in a different way than color (check this blogpost) – from a first glance, I would have expected the palettes to be generated with this: https://gka.github.io/chroma.js/#scale-colors

But yes, the way chroma-js is currently used here, replacing it to reduce bundle size would probably make sense :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants