facelessuser / ColorHelper

Sublime plugin that provides helpful color previews and tooltips
https://facelessuser.github.io/ColorHelper/
MIT License
256 stars 31 forks source link

Better Sublime Color Picker #177

Closed facelessuser closed 3 years ago

facelessuser commented 3 years ago

Had some time to spend on making a better Sublime color picker. While you can certainly use native OS color pickers now, I still kind of prefer using the built-in Sublime one. It doesn't block, and it gets the job done fine.

With that said, there is still room for improvement.

  1. I wanted a visual indicator of where the current color fell in the color box.
  2. Color box behaves a little more like some others, so x-axis is hue and y-axis is saturation. Grayscale bar replaced with a lightness adjuster.
  3. Make the dialog more compact by hiding the sliders unless you want to switch to them. I think the feeling is a bit nicer now.

Unfortunately, the centering is only available on ST4, so everything will be left-aligned on ST3 due to lack of text-align support in minihtml.

color_picker

I'd like to get this in with the next release. I think it will improve color picker usability a lot. If people still don't like it, they can always use native OS color picker 🙃 . Or just edit the values directly in the color editor which gives live previous and allows mixing 🤷🏻.