- From: Travis Spomer via GitHub <sysbot+gh@w3.org>
- Date: Sat, 29 Jan 2022 02:57:35 +0000
- To: public-design-tokens-log@w3.org
`$metadata` can go on tokens—I'd say probably 95% of its use case would be on tokens. To me, all of those things you mentioned make a *lot* more sense as structured key/value pairs instead of simple string tags, but also I'm an obsessive organizer so I'm biased. 🙂 I can see how an unstructured list of strings could be more useful to some people. Worst-case, if the format didn't support it, you could just use a `tags` node inside of `$metadata`: ```diff { "color": { "brand": { "primary": { "400": { "value": "#7cf88b", "type": "color", + "$metadata": { "tags": ["brand", "global", "…"] } } } } } } ``` -- GitHub Notification of comment by TravisSpomer Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/109#issuecomment-1024816949 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 29 January 2022 02:57:36 UTC