[community-group] Can group be a token? (#277)

hallee9000 has just created a new issue for https://github.com/design-tokens/community-group:

== Can group be a token? ==
Consider these tokens in Figma. I have a token called `background` and a group called `background`.

![Image](https://github.com/user-attachments/assets/b779b1ab-a688-4415-b0fd-13afe19403e1)

what would the tokens JSON be like? Is this file at below valid?

```json
{
  "background": {
    "$type": "color",
    "$value": "#ffffff",
    "primary": {
      "$type": "color",
      "$value": "{slate.950}"
    },
    "secondary": {
      "$type": "color",
      "$value": "{slate.600}"
    }
  }
}
```

Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/277 using your GitHub account


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

Received on Wednesday, 25 June 2025 01:59:42 UTC