Re: [community-group] Loosen up the color type (#79)

I like where you’re at with this @c1rrus, especially regarding the addition of color spaces or formats in the future if needed.

One item that might be valuable is to have the color space named as a property of the color token. This is especially true for RGB spaces.

For example, if you define colors in a design tool that supports Display P3 but implementation only supports sRGB, your engineering team may want to know that in order to properly convert the values. From a cursory glance, you would not be able to know if an RGB color (whether in string, object, or hex formats) was defined in P3, sRGB, AdobeRGB, etc. Having that data attached to the color token could be very useful for teams that want to ensure proper conversion, since the color space cannot be inferred from the value itself.

-- 
GitHub Notification of comment by NateBaldwinDesign
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/79#issuecomment-985143911 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 3 December 2021 01:41:12 UTC