sizes in units #3232
Unanswered
kedXD
asked this question in
Figma UI Kit
sizes in units
#3232
Replies: 1 comment
-
Hello, this is because we want the font sizes we use in libraries to match the font sizes in the UI Kit. Since we use REM, this situation applies to font sizes, spacing, and sizing values. In summary: Because the base font size we use in UI Libraries is 14px, it's likely that the resulting sizes will have decimal values. |
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
-
Is there any reason behind going for sizes in decimals?
Ex. fonts are like sm 12.25, lg 15.75 and padding 8.75 and 5.25 etc. Shouldn't it be expressed in numbers like 12, 6, 8 etc?
Beta Was this translation helpful? Give feedback.
All reactions