zed-industries / extensions

Extensions for the Zed editor
935 stars 418 forks source link

Color picker #495

Open probablykasper opened 1 year ago

probablykasper commented 1 year ago

Check for existing issues

Describe the feature

Having a good color picker is a important for me when working with e.g CSS.

Features:

If applicable, add mockups / screenshots to help present your vision of the feature

No response

jansol commented 1 year ago

Some more features that are important for a color picker outside of CSS:

nickpoorman commented 8 months ago

I'd love it if, when parsing hex colors, it placed a tiny square with the color right before it.

However, a color picker popup from a command like this would work as well.

ColorPicker

nickpoorman commented 8 months ago

This should probably get directly integrated at some point, but here's a stopgap solution for now. https://github.com/nickpoorman/colord?tab=readme-ov-file#zed-integration

ColorPickerTask

peterjskaltsis commented 7 months ago

I'd love it if, when parsing hex colors, it placed a tiny square with the color right before it.

However, a color picker popup from a command like this would work as well.

https://github.com/nickpoorman/colord?tab=readme-ov-file#zed-integration

Agree @nickpoorman , I used this in VSCode previously (works for more than just JSON files): https://marketplace.visualstudio.com/items?itemName=yechunan.json-color-token

Would love if we could build extensions to contribute these sorts of things to the community

jxcg commented 7 months ago

Is there an extension yet for this?

eatenpancreas commented 2 months ago

Agreed,

In jetbrains ide's you're able to see the colors from a quick glance: image Not sure if this feature is possible, but certainly one i'd love to see in zed