-
-
Notifications
You must be signed in to change notification settings - Fork 1
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-chart] Add support for the info
prop
#116
Conversation
✅ Deploy Preview for color-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Available after this PR is merged: color-js/elements#116
info
propertyinfo
prop
34ee625
to
d411d66
Compare
@@ -39,6 +39,20 @@ You can also specify a whole label, and if it contains a number, the number will | |||
|
|||
_(Colors courtesy of Tailwind)_ | |||
|
|||
### The `info` attribute | |||
|
|||
You can use the `info` attribute to show information about the color scale points. Currently, the only type of information supported is color coords (in any color space), but more will be added in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we also support deltaE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's in progress. We are iterating over it. Probably, it's high time to resume that iteration. 🙂
* Make two `<select>`s connected _for real_ * Update chart color data points info on space change by adopting the updated API (color-js/elements#116)
Demo: https://deploy-preview-116--color-elements.netlify.app/src/color-chart/#the-info-attribute