thednp / solid-color-picker

🎨 Modern Color Picker for SolidJS
https://thednp.github.io/solid-color-picker/
MIT License
10 stars 1 forks source link

It would be nice if you could expose the color picker itself. #3

Open chanon opened 1 month ago

chanon commented 1 month ago

Describe The Problem To Be Solved

Very nice and simple color picker! My problem is, currently to use the color picker, one has to show the DefaultColorPicker which must then be clicked to show the actual color picker.

For my use I would like to be able to just have access to the color picker control directly. For example it might make sense to show the color picker control without having the user to click on something first.

This way I would have more control on when and where the actual color picker is shown.

Suggest A Solution

Expose the color picker control itself with largely the same options as the DefaultColorPicker

thednp commented 1 month ago

I've planned to implement more than just "DefaultColorPicker", but I need to find time to break logic into components. The idea is to expose the picker, the colors menu as separate individual and usable components, also a new "RadialColorPicker".

BUT I'm taking small steps as time affords, I just finished adding Vitest and it was a breeze. In time, we'll have v1.0 with all that.