[community-group] Can properties other than values be referenced? (#127)

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

== Can properties other than values be referenced? ==
The current spec states that "A design token's *value* can be a reference to another token," and the example shows one token's `$value` referencing another token to inherit its `$value`:

```json
{
  "group name": {
    "token name": {
      "$value": 1234
    }
  },
  "alias name": {
    "$value": "{group name.token name}"
  }
}
```

I think that only allowing value-to-value references is somewhat limiting. The benefits of aliases that are stated in the spec are just as applicable to other properties:

> Aliases are useful for:
>
> * Expressing design choices
> * Eliminating repetition of values in token files (DRYing up the code)


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


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

Received on Wednesday, 20 April 2022 21:03:07 UTC