Re: [community-group] Legacy color (#137)

I’ll leave the colorspace discussion to all you wizards that know far more than myself. 

To me, the easily much more useful feature that I’m seeing discussed in this thread is the addition of the `alpha` field on the color type. This is absolutely essential, and a very conspicuous omission from the current and latest (as best as I can decipher) color type specifications. 

As a token manager, I need to be able to pair a color token with either an alpha token or an arbitrary alpha value. This is incredibly useful when:
- Setting colors for effects like glows and shadows
- Similarly, gradients that use different different alphas per color stop
- The desire is to use a variety of different alphas of the same base color, across a components anatomy or sibling components, to a desired design aesthetic 

Neither of rgba or hex8 notation work well, in my opinion, because they would require tokenization of individual color channels (rgba) or a needless deviation from a much more readily understood notation for alpha (hex8).

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


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

Received on Tuesday, 18 October 2022 06:34:21 UTC