-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Versions
@alpha
Node.js version
24
OS + version
26.3
Description
From Discord:
Are extends only valid if I also overwrite values? Or can they operate in isolation?
I've got my new T1 tokens with lightBlue 100-900:
{
"color": {
"lightBlue": {
"100": {
"$value": {
"colorSpace": "hsl",
"components": [193, 82, 89],
"alpha": 1
},
"$description": "#ccf0fa"
}
}
}
}We're mapping legacy naming to this to avoid breaking changes while we go through deprecation, so I tried extending all the sub-values, just under the old name, but it just, doesn't render this out to CSS:
{
"color": {
"$type": "color",
"light-blue": {
"$extends": "{forge.color.lightBlue}",
"$deprecated": "Use forge.color.lightBlue.*",
"$description": "Deprecated"
}
}
}Reproduction
(see previous)
Expected result
No bug
Extra
- I’m willing to open a PR (see CONTRIBUTING.md)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working