Re: [community-group] Groups and Aliases Specification Updates (#298)

> > I'd personally prefer a breaking change that brings both syntaxes on a feature parity level.
> 
> @Sidnioulz yeah, I think there's probably a lot of arguments on both sides of this. The proposed `$ref` + JSON pointer syntax gives a common syntax that can replace the syntactic sugar of $extends and curly-brace aliases; I see a future where we might be able to deprecate the syntactic sugar and restrict token authors to $ref + JSON pointers only.
> 
> Having both in the short/medium term increases tool complexity a bit, but I think it's a necessary evil to atone for the sin of introducing curly-brace aliases in the earliest versions of the draft without the deep thinking that we're doing now.

Good point! It'll be easier to deprecate either of curly brackets or specifically the value shorthand if most folks have been exposed to a new syntax and if major tools encourage the new syntax by default. It would be more painful to community members to make the breaking change now.

-- 
GitHub Notification of comment by Sidnioulz
Please view or discuss this issue at https://github.com/design-tokens/community-group/pull/298#issuecomment-3246229566 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 2 September 2025 17:35:50 UTC