-
Notifications
You must be signed in to change notification settings - Fork 41
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
Color palette #13
Comments
That sounds like a nice feature for "a future version". Do you have any more details on how you'd like that to work/look? |
Looks good! Leaving this open for now (pull request welcome). |
I hacked together a prototype using the existing API, if anyone wants to use it: https://jsfiddle.net/403q8bfs/ (By the way, vanilla-picker is a fantastic library Sphinxxxx. Thank you for all the work you've put into it!) If someone does integrate something like this into the core API, I'd recommend making the "palette" option (or whatever you call it) accept a callback function (in addition to an array of colors). This would support populating the palette dynamically (which comes in handy if your palette needs to show colors the user picked from other picker instances). |
Hi,
Is there any chance you would add color palette features? It could be implemented as an additional option of the color picker.
The text was updated successfully, but these errors were encountered: