Re: [community-group] Remove REM/EM from specification? (#218)

What do we gain by having to explicitly include the unit, if the goal is to be platform/tool agnostic? 

> I'm actually more concerned about whether or not we ought to add more relative units (E.g. %, vw, vh, ch...) in the future, so as not to limit what design intents people can express in the format.

Please also consider variable units https://drafts.csswg.org/css-variables-2/#variable-units. Maybe my org wants to use a custom `flibble` unit in the future.

As it stands, requiring "px" or "rem" prevents me from being able to use maths like 

`"value": "{dimension.xs} * {dimension.scale}"`

Preventing me from doing that might be the feature, not a bug, but without understanding why I need to be explicit with a value, it's frustrating. 


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


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

Received on Thursday, 3 August 2023 18:53:10 UTC