Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is great! What else can it do? #21

Open
jimmythecode opened this issue Apr 16, 2021 · 2 comments
Open

This is great! What else can it do? #21

jimmythecode opened this issue Apr 16, 2021 · 2 comments

Comments

@jimmythecode
Copy link

This is already a really useful tool, but I feel like there's a lot I don't know about. Are there any demos?

I made a codesandbox to get it going with react hooks for any newbies like myself. I don't know if it's worth putting something like this on your ReadMe, as it would have saved someone like me a bit of time. There's a whole lot of methods with the distinctColors() object, but I don't understand a lot of it. It'd be great to see more of it in action.

@jimmythecode
Copy link
Author

jimmythecode commented Apr 16, 2021

I did some more playing, having discovered that chroma reference in the ReadMe:
https://codesandbox.io/s/distinct-colors-and-chartjs-react-3y7vw?file=/src/Chroma.js

This demonstrates everything I've learned so far.

@internalfx
Copy link
Owner

@jimmythecode This looks really useful for people wanting to see what this can do. Thank you! I think a link in the readme makes sense.

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

No branches or pull requests

2 participants