casesandberg / react-color

:art: Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
http://casesandberg.github.io/react-color/
MIT License
12.05k stars 922 forks source link

Change checkboard default colors to full opacity #819

Open WeirdRubberDuck opened 3 years ago

WeirdRubberDuck commented 3 years ago

It would be really useful if the default colors for the checkboard would have full opacity rather than being transparent. Currently, the provided pickers only support a white background, or else the checkerboard pattern for transparent colors is not visible.

https://github.com/casesandberg/react-color/blob/bc9a0e1dc5d11b06c511a8e02a95bd85c7129f4b/src/components/common/Checkboard.js#L21

For example, in my application I have added some custom styling to the ChromePicker, but the dark background leads to the checkerboard pattern becoming invisible. Would be nice to be able to make these kind of style changes, without having to write a completely custom picker 😞 image

Love the package btw!

WeirdRubberDuck commented 3 years ago

Managed to get it to look right by doing some hacky styling, but I still think having the checkboard in full opacity would be preferable