- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Sun, 19 Jun 2022 11:17:16 +0000
- To: public-design-tokens-log@w3.org
I also brought this up but with a different proposal to resolve : https://github.com/design-tokens/community-group/issues/119 The unrestricted names are problematic and make it impossible to consistently and correctly generate code based on token names. Because the spec doesn't seem likely to change we decided not to adopt code generation in our translation tool. Stylesheet authors need to consume tokens manually in this style : ```css .foo { color: design-token('color.background.primary'); padding-top: design-token('size.spacing.small'); } ``` I do understand the idea behind the unrestricted names and I like the sentiment, but it does place significant burden on tools, developers and designers. -- GitHub Notification of comment by romainmenke Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/142#issuecomment-1159693771 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 19 June 2022 11:17:18 UTC