Unit calculation (rem to px) between figma and token studios #3165
Unanswered
ndupasquier
asked this question in
Figma UI Kit
Replies: 2 comments
-
Can someone help on this ? It's not only token studio, the variable in figma show 12.25px, instead of 14 px because 0,875rem = 14 px |
Beta Was this translation helpful? Give feedback.
0 replies
-
1rem is 14px. You should set the Base font size as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've purchased the primeng figma kit but i'm facing an issue with the unit calculation.
For example, for the ❖ InputText component (large size) , you can see that the padding show as 12.25 (px) whereas, token studio show a value 0.875rem.
The padding should be 14px if the base unit is 1rem = 16px.
Do you have any idea why 0.875rem show as 12.25px on figma ?
Beta Was this translation helpful? Give feedback.
All reactions