Appearance
T1010: Theme extends the wrong base
Cause
A theme file must say which base it overrides with "$extends", and that must be the base token set.
Example
text
// base.tokens.json
{
"primary": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0
]
}
}
}
// dark.tokens.json
{}What you see
text
ERROR T1010 dark.tokens.json
Theme "dark" must declare "$extends": "base".
Run `tessera explain T1010` for details.Fix
Add "$extends": "base" (or the name of your base set) to the theme file.