Re: [community-group] Color first draft (updated) (#266)

Hey @ilikescience,

it is not shown in the examples, but can we add `alpha` when referencing colors? This is extremely important, as this is impossible with the current setup.

Maybe like this

```
"shadow": {
      "$type": "color",
      "$value": {
        "components": "{base.color.black}",
        "alpha": 0.53
      }
    }
```

Also are we sure about using `components` as a name for the color values? To me this sounds unexpected, and I am wondering if this makes tokens hard to read for people who just contribute to tokens occasionally. Couldn't we use something like `values`? 



-- 
GitHub Notification of comment by lukasoppermann
Please view or discuss this issue at https://github.com/design-tokens/community-group/pull/266#issuecomment-2782792897 using your GitHub account


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

Received on Monday, 7 April 2025 10:06:49 UTC