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?
"{hello} {world}" : two other tokens are combined to form a single new value
I personally think this is best left up to users of design tokens to combine values.
I think it is sufficient to be able to reference a single token in a single field.
Currently missing :
a parsing algorithm for values that reference other tokens
error handling algorithm
open curly, but no closing curly?
double open curly?
no token found for a path?
Only circular references have a mention.
Defining this in detail would make it more clear how implementations should behave.
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?
"{hello} {world}"
: two other tokens are combined to form a single new valueI personally think this is best left up to users of design tokens to combine values. I think it is sufficient to be able to reference a single token in a single field.
Currently missing :
Only circular references have a mention.
Defining this in detail would make it more clear how implementations should behave.