sizes in units #3232
Replies: 2 comments 2 replies
-
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.
-
Forgive my ignorance, but what is the most effective way to update our kit to work in multiples of 2/4/8 etc? |
Beta Was this translation helpful? Give feedback.
-
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