You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer using Histoire I want a colors selector control like the color input that is native in HTML currently so that I can make small color adjustments when customizing my stories on the fly.
Suggested solution
Create a new control type for the color selector, I would suggest a text input box with a color input type beside it so that users can paste hex codes as well as use the color selector.
Alternative
I believe the current alternatives are hard coding colors which doesn't allow for the quick on the fly customization that I am looking for, using a text input for hex codes which is inconvenient for small adjustments, or using pre coded tailwind colors which isn't a good solution for quick small changes.
Additional context
I am planning on submitting a PR for this feature hopefully soon. I haven't worked with VUE very much so it is a little bit of a learning experience for me at the moment, I have a mostly working version with the only problem being that it is very slow since it emits the new value for state extremely frequently, I am not sure if there is a better way to update state in VUE but I am looking into it. If anyone knows the best way to update the state for something like this, let me know :)
Clear and concise description of the problem
As a developer using Histoire I want a colors selector control like the color input that is native in HTML currently so that I can make small color adjustments when customizing my stories on the fly.
Suggested solution
Create a new control type for the color selector, I would suggest a text input box with a color input type beside it so that users can paste hex codes as well as use the color selector.
Alternative
I believe the current alternatives are hard coding colors which doesn't allow for the quick on the fly customization that I am looking for, using a text input for hex codes which is inconvenient for small adjustments, or using pre coded tailwind colors which isn't a good solution for quick small changes.
Additional context
I am planning on submitting a PR for this feature hopefully soon. I haven't worked with VUE very much so it is a little bit of a learning experience for me at the moment, I have a mostly working version with the only problem being that it is very slow since it emits the new value for state extremely frequently, I am not sure if there is a better way to update state in VUE but I am looking into it. If anyone knows the best way to update the state for something like this, let me know :)
Validations
Edit: While scrolling through the issues I saw that this was included on #30 so sorry about the duplicate, it didn't pop up when I searched for it.
The text was updated successfully, but these errors were encountered: