- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Tue, 06 Dec 2022 18:58:30 +0000
- To: public-design-tokens-log@w3.org
romainmenke has just created a new issue for https://github.com/design-tokens/community-group:
== A token value with multiple aliases ==
https://tr.designtokens.org/format/#aliases-references
There is no practical use within the current types but at the syntax level for aliases and references it is unclear if only a single or multiple tokens can be referenced?
```json
{
"hello": { "$type": "text", "$value": "hello" },
"world": { "$type": "text", "$value": "world" },
"hello-world": { "$value": "{hello} {world}" }
}
```
`"{hello} {world}"` : two other tokens are combined to form a single new value
----
Currently missing :
- a parsing algorithm for values that reference other tokens
- error handling algorithm
- open curly, but no closing curly?
- no token found for a path?
Only circular references have a mention.
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/192 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 December 2022 18:58:31 UTC