- From: Henry Wilkinson via GitHub <noreply@w3.org>
- Date: Tue, 28 Oct 2025 16:47:58 +0000
- To: public-design-tokens-log@w3.org
One of the things to keep in mind in spec creation is how this will be implemented. A stricter, more verbose spec _may_ require more work for tooling creators to support all the different duration types correctly. Inversely, a shorthand may allow them to cut corners leading to a less complete experience for users. In this instance, imagine that developers want to save some time and _only_ implement the simple duration values (ms). Users of their app can only define values in ms as a result and it is spec complaint so this is not expanded upon. Meanwhile another application might support multiple duration units and will only receive ms from application 1. Is this a serious issue? Not really, time is easy to convert, but it does lead to a fragemented implementation and a less-predictable output format. If everyone only chooses to implement the simple duration value, perhaps the organizational value of the others could be completely lost. I think you've done a good job of outlining the pros and cons here, but for me the "less verbose syntax" isn't meaningfully relevant if we assume that _most_ people will be using tools like Pinwheel and won't be authoring tokens by hand. I tend to be in favour of more rigid specs to keep developers accountable, and therefore would not be in favour of this change. -- GitHub Notification of comment by Shrinks99 Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/342#issuecomment-3457476404 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 28 October 2025 16:47:59 UTC