-
Notifications
You must be signed in to change notification settings - Fork 19
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
Storybook Knob: Color knob allowing output be RGB or Hex #9
Comments
PRs welcome! |
@shilman For this I think we should change SketchPicker to ChromePicker from |
After doing some more digging, it seems that data is not shared to callback |
Zoinks!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.1.0-rc.2 containing PR storybookjs/storybook#13102 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey, I'm just curious if this feature ever got implemented. The story I'm working on is looking for a hex color, but the color control only seems to output rgba() format colors. I've looked through the documentation, but there doesn't seem to be any configuration for color controls beyond just stating that your control is or isn't a color. |
It's being implemented in addon-controls (that supercedes addon-knobs, which will be deprecated) right here: storybookjs/storybook#14249 (comment) |
@shilman I don't see an API to control the hex/rgb output format. Do you know if it ever got added? |
Is your feature request related to a problem? Please describe
Color knob always returning RGB and not hexcode color.
Describe the solution you'd like
Would like to have an option (or some way) to select which output is selected
Are you able to assist to bring the feature to reality?
yes, I can...
The text was updated successfully, but these errors were encountered: