Appearance
T1013: Duplicate token
Cause
Two token files define the same token, so it is unclear which value wins.
Example
text
// a.tokens.json
{
"n": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0
]
}
}
}
// b.tokens.json
{
"n": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0
]
}
}
}What you see
text
ERROR T1013 b.tokens.json n
Token "n" is already defined in a.tokens.json.
Run `tessera explain T1013` for details.Fix
Define each token once.