- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Mar 2022 18:58:28 +0000
- To: public-design-tokens-log@w3.org
romainmenke has just created a new issue for https://github.com/design-tokens/community-group: == Remove units from type definitions == https://design-tokens.github.io/community-group/format/#duration This assumes that all consumers agree on the unit for a given value type or forces implementers to do error prone parsing before passing on transformed values. A better sub type might be a general `Dimension` type ```json { "Duration-100": { "$value": { "number": "100", "unit": "ms" }, "$type": "duration" } } ``` This reduces the amount of micro syntaxes in the spec and makes it easier to implement. Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/121 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 25 March 2022 18:58:31 UTC