zed icon indicating copy to clipboard operation
zed copied to clipboard

P3 wide gamut color support

Open dempfi opened this issue 1 year ago • 3 comments

Check for existing issues

  • [X] Completed

Describe the feature

Would be great to support P3 color space on supported displays, this would greatly improve contrast and aesthetics of the editor. I understand not all themes come specified in P3, if I may suggest, it would be great to allow themes to specify definitions in P3 and a fallback in sRGB. Builtin ayu themes colors are specified in P3 space and look rather dull and washed out when interpreted in sRGB.

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

No response

dempfi avatar Feb 23 '24 18:02 dempfi

How would themes differentiate between sRGB and P3?

jansol avatar Feb 23 '24 23:02 jansol

@jansol I'd imagine a color_space: "sRGB" | "P3" in the individual theme's definition could do the trick. Theme's colors can continue to be defined in the in RGBA hex format

dempfi avatar Feb 24 '24 11:02 dempfi

This is definitely needed. My theme also looks dull and washed out in Zed.

net avatar Aug 20 '24 21:08 net