ipfs-inactive / ipfs-ui-style-guide

A UI style guide for IPFS Apps
22 stars 9 forks source link

Removes redundant units and adds note on rem root font size #4

Closed alanshaw closed 6 years ago

alanshaw commented 6 years ago

Removed the px unit from your values in your pixels column for consistency with the rem column.

On the spacings - e.g. 0.25rem - it's only 4px if your root font size is 16px, since 16 * 0.25 = 4. All browser's default root font size is 16px, but I've just added a note to clarify.