[community-group] Dimensions on Android, iOS, etc (#208)

inktomi has just created a new issue for https://github.com/design-tokens/community-group:

== Dimensions on Android, iOS, etc ==
[8.2 Dimensions](https://design-tokens.github.io/community-group/format/#dimension) specifies that dimensions MUST be followed by either "px" or "rem". 

After the example, it's pointed out that px may not work on every platform, for example on Android there are dp and on iOS there are pt units. 

The issue is that on Android, there are not _only_ `dp` (density independent pixels). There are also `sp` (scalable pixels, used for text), `px` for pixels etc. 

How would a spec indicate which of these should be used on Android, when the spec enforces that it only contain `px` and `rem` units? 

Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/208 using your GitHub account


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

Received on Thursday, 16 March 2023 20:21:44 UTC