Appearance
T1007: Circular token reference
Cause
Tokens refer to each other in a loop, so none of them has a value.
Example
text
// base.tokens.json
{
"$type": "color",
"a": {
"$value": "{b}"
},
"b": {
"$value": "{a}"
}
}What you see
text
ERROR T1007 base.tokens.json a
Circular reference: a -> b -> a
Run `tessera explain T1007` for details.Fix
Break the loop: one of the tokens in the chain must hold a real value.