Inwerpsel / use-theme-editor

A React theme editor
GNU General Public License v3.0
4 stars 0 forks source link

Support multiple color spaces #40

Closed Inwerpsel closed 1 week ago

Inwerpsel commented 1 year ago

Currently multiple spaces are supported to some degree, but the color inputs still output hex or rgba in all cases, even if a different color space is chosen in the native color picker.

Using hsl by default could be better, with some site-level options to use the other spaces. hsl maps more directly to the color picker UI, and can more easily accommodate things like snapping points for hues.