- From: nesquarx via GitHub <sysbot+gh@w3.org>
- Date: Mon, 04 Mar 2024 17:06:53 +0000
- To: public-design-tokens-log@w3.org
Empty groups can be placeholders, I've used one as an alias for the default set with no modification, also for planned future updates. Wouldn't want it to throw an error. On Mon, 4 Mar 2024 at 22:27, James Nash ***@***.***> wrote: > Currently, the spec says nothing about whether or not groups can be empty > - i.e. not contain any tokens or nested groups. > > I've always assumed they *can* be empty. But I recently discovered that > Cobalt UI has taken the opposite view > <https://github.com/drwpow/cobalt-ui/issues/206> and throws an error when > it encounters an empy group. > > The spec doesn't say anything, so neither view is right or wrong. > > I propose we take a stance on this and be explicit in the spec. Otherwise, > differing interpretations will lead to interoperability issues between > tools. > > My vote would be to permit empty groups. While they may seem useless they > also do no harm. It's something that teams may legitimately encounter while > (re-)organising their tokens and working with work-in-progress DTCG files > (that's how I encountered that scenario anyway). > > — > Reply to this email directly, view it on GitHub > <https://github.com/design-tokens/community-group/issues/235>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AEKS36FEZC7WXDONU2GAPBTYWSRWLAVCNFSM6AAAAABEFR7TS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DOMZQHAYDANA> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> > -- GitHub Notification of comment by nesquarx Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/235#issuecomment-1977065267 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 4 March 2024 17:06:54 UTC