Re: [community-group] Split units and values in type definitions (#121)

@rdlopes said:

> Is it set upfront that durations will always be expressed in milliseconds?

From https://tr.designtokens.org/format/#duration:

> Represents the length of time in milliseconds an animation or animation cycle takes to complete, such as 200 milliseconds. The $type property MUST be set to the string duration. The value MUST be a string containing a number (either integer or floating-point) followed by an "ms" unit. A millisecond is a unit of time equal to one thousandth of a second.

Probably forking the conversation, but if all durations are milliseconds, could the spec omit the `ms`, and just leave the number?

-- 
GitHub Notification of comment by KyleWpppd
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/121#issuecomment-1191724776 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 21 July 2022 16:57:08 UTC