Skip to content

Clarity on spaceX measurement design decision #1541

Answered by richbachman
HartiganHM asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HartiganHM

Really great question. One thing we're going to be working on is a "foundations" documentation section where we go into more detail on decisions we've made about spacing, style, color, etc. So stay tuned for that.

Also instead of digging into the TS files to look for token values, you can also reference the tokens page on the docs site to find specific rem and px values: https://paste.twilio.design/tokens/#spacings

Ok now on to an actual explanation. In order to understand the spacing token values more, it's best to think of them as a scale. In Paste we use a 4px scale, with the exceptions of a 2px spacing token. Here's a small sample preview:

Token Px Rem
space0 0px 0…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@HartiganHM
Comment options

@richbachman
Comment options

Answer selected by HartiganHM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants