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

>So to have design tokens that would get exported as sp values in Android, use the rem unit and divide your value by 16.
>
>For example: { "$value": "2rem", "$type": "dimension" } should be exported to 32sp on Android.

Thank you for the explanation - I've been following the project and was wondering about that as we'll be using it for web/ios/android projects as a single source of design truth. 

You meant _multiply by 16_ instead of _divide by 16_ right? Just ensuring I'm understanding. 

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


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

Received on Tuesday, 28 March 2023 18:57:13 UTC