Re: [community-group] Tokens group $extends property proposal (#116)

We'd have to be very explicit about how things work when you extend a group that has subgroups, and then you override the same subgroups.

1. B extends A
2. Both A and B specify a subgroup C
3. A.C has tokens D and E
4. B.C only has token D

Does the token B.C.E exist? That is, does B.C also automatically extend A.C without explicitly specifying that? In Joren's proposal it does, and that's how I'd expect it to work because it seems like it makes the most sense for the component token scenario. But it wouldn't necessarily have to be that way; one could just as easily interpret it to mean that B.C replaces A.C rather than merging it.

-- 
GitHub Notification of comment by TravisSpomer
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/116#issuecomment-1073471326 using your GitHub account


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

Received on Monday, 21 March 2022 04:20:12 UTC