Re: [community-group] Reference composite type attributes individually (#148)

also see : https://github.com/design-tokens/community-group/issues/126

This would become a non-issue if composite types where implemented as typed groups.
Each sub value would be its own token.
Some translation tools might just assign special meaning or function to the typed group.

for example : 

```json
{
  "type styles": {
    "heading-level-1": {
      "$type": "typography",
      "fontFamily": { "$value": "Roboto", "$type": "string" },
      "fontSize": { "$value": "42px" },
      "fontWeight": { "$value": 700 },
      "letterSpacing": { "$value": "0.1px" },
      "lineHeight": { "$value": 1.2 }
    }
  }
}
```

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


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

Received on Thursday, 23 June 2022 12:55:24 UTC