Tokens
Design variables that power Thumbtack’s UI.
| Token Name | Value |
|---|
deprecated$tp-border-radius__base | 4px | deprecated$tp-border-radius__big | 6px | $tp-border-radius__xsmall | 4px | $tp-border-radius__small | 6px | $tp-border-radius__medium | 8px | $tp-border-radius__large | 12px | $tp-border-radius__xlarge | 16px | $tp-border-radius__xxlarge | 24px | $tp-border-radius__full | 50% | $tp-border-radius__sides | 9999px |
|
| Token Name | Value |
|---|
$tp-breakpoint__large | 1025px | $tp-breakpoint__large__value | 1025 | $tp-breakpoint__medium | 700px | $tp-breakpoint__medium__value | 700 | $tp-breakpoint__small | 481px | $tp-breakpoint__small__value | 481 | $tp-breakpoint__split-view__medium | 1060px | $tp-breakpoint__split-view__medium__value | 1060 | $tp-breakpoint__split-view__small | 769px | $tp-breakpoint__split-view__small__value | 769 |
|
These are the colors we use at Thumbtack.
| Token Name | Value |
|---|
$tp-color__blue-100 | | $tp-color__blue-200 | | $tp-color__blue-300 | | $tp-color__blue | | $tp-color__blue-500 | | $tp-color__blue-600 | | $tp-color__indigo-100 | | $tp-color__indigo-200 | | $tp-color__indigo-300 | | $tp-color__indigo | | $tp-color__indigo-500 | | $tp-color__indigo-600 | | $tp-color__purple-100 | | $tp-color__purple-200 | | $tp-color__purple-300 | | $tp-color__purple | | $tp-color__purple-500 | | $tp-color__purple-600 | | $tp-color__green-100 | | $tp-color__green-200 | | $tp-color__green-300 | | $tp-color__green | | $tp-color__green-500 | | $tp-color__green-600 | | $tp-color__yellow-100 | | $tp-color__yellow-200 | | $tp-color__yellow-300 | | $tp-color__yellow | | $tp-color__yellow-500 | | $tp-color__yellow-600 | | $tp-color__red-100 | | $tp-color__red-200 | | $tp-color__red-300 | | $tp-color__red | | $tp-color__red-500 | | $tp-color__red-600 | | $tp-color__black-300 | | $tp-color__black | | $tp-color__gray-200 | | $tp-color__gray-300 | | $tp-color__gray | | $tp-color__white | |
|
| Token Name | Value |
|---|
deprecated$tp-corner-radius__base | 4px | deprecated$tp-corner-radius__big | 6px | $tp-corner-radius__xsmall | 4px | $tp-corner-radius__small | 6px | $tp-corner-radius__medium | 8px | $tp-corner-radius__large | 12px | $tp-corner-radius__xlarge | 16px | $tp-corner-radius__xxlarge | 24px | $tp-corner-radius__full | 50% | $tp-corner-radius__sides | 9999px |
|
| Token Name | Value |
|---|
$tp-duration__1 | 75ms | $tp-duration__2 | 150ms | $tp-duration__3 | 200ms | $tp-duration__4 | 250ms | $tp-duration__5 | 300ms | $tp-duration__6 | 350ms |
|
| Token Name | Value |
|---|
$tp-ease__in | cubic-bezier(0.50, 0, 1, 1) | $tp-ease__out | cubic-bezier(0, 0, 0.40, 1) | $tp-ease__in-out | cubic-bezier(0.45, 0, 0.40, 1) |
|
| Token Name | Value |
|---|
$tp-font-family__base | Rise, Avenir, Helvetica, Arial, sans-serif | $tp-font-family__monospace | 'Source Code Pro', monospace |
|
| Token Name | Value |
|---|
$tp-font-weight__normal | 400 | $tp-font-weight__bold | 700 |
|
| Token Name | Value |
|---|
$tp-font__title__1__size | 28px | $tp-font__title__1__line-height | 32px | $tp-font__title__1__weight | 700 | $tp-font__title__1__responsive__size | 40px | $tp-font__title__1__responsive__line-height | 44px | $tp-font__title__1__responsive__weight | 700 |
|
$tp-font__title__2__size | 24px | $tp-font__title__2__line-height | 28px | $tp-font__title__2__weight | 700 | $tp-font__title__2__responsive__size | 32px | $tp-font__title__2__responsive__line-height | 40px | $tp-font__title__2__responsive__weight | 700 |
|
$tp-font__title__3__size | 22px | $tp-font__title__3__line-height | 28px | $tp-font__title__3__weight | 700 | $tp-font__title__3__responsive__size | 24px | $tp-font__title__3__responsive__line-height | 32px | $tp-font__title__3__responsive__weight | 700 |
|
$tp-font__title__4__size | 20px | $tp-font__title__4__line-height | 28px | $tp-font__title__4__weight | 700 |
|
$tp-font__title__5__size | 18px | $tp-font__title__5__line-height | 24px | $tp-font__title__5__weight | 700 |
|
$tp-font__title__6__size | 16px | $tp-font__title__6__line-height | 24px | $tp-font__title__6__weight | 700 |
|
$tp-font__title__7__size | 14px | $tp-font__title__7__line-height | 20px | $tp-font__title__7__weight | 700 |
|
$tp-font__title__8__size | 12px | $tp-font__title__8__line-height | 18px | $tp-font__title__8__weight | 700 |
|
$tp-font__body__1__size | 16px | $tp-font__body__1__line-height | 24px |
|
$tp-font__body__2__size | 14px | $tp-font__body__2__line-height | 20px |
|
$tp-font__body__3__size | 12px | $tp-font__body__3__line-height | 18px |
|
| Token Name | Value |
|---|
$tp-letter-spacing__loose | 1px | $tp-letter-spacing__tight | -1px | $tp-letter-spacing__extra-tight | -2px |
|
| Token Name | Value |
|---|
$tp-line-height__flat | 1.0 | $tp-line-height__tight | 1.4 | $tp-line-height__base | 1.6 | $tp-line-height__loose | 1.9 |
|
| Token Name | Value |
|---|
$tp-shadow__100 | 0px 1px 3px rgba(0, 0, 0, 0.1) | $tp-shadow__200 | 0px 2px 4px rgba(0, 0, 0, 0.15) | $tp-shadow__300 | 0px 2px 7px rgba(0, 0, 0, 0.15) | $tp-shadow__400 | 0px 2px 10px rgba(0, 0, 0, 0.2) | deprecated$tp-shadow__card | 0 -1px 1px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.16) |
|
Values for transparent light and dark curtains that cover content.
| Token Name | Value |
|---|
$tp-scrim__light-80 | | $tp-scrim__dark-80 | |
|
| Token Name | Value |
|---|
$tp-space__1 | 4px | $tp-space__2 | 8px | $tp-space__3 | 16px | $tp-space__4 | 24px | $tp-space__5 | 32px | $tp-space__6 | 64px | $tp-space__7 | 128px | $tp-space__8 | 256px |
|
| Token Name | Value |
|---|
$tp-wrap__max-width | 946px | $tp-wrap__no-pad-width | 1010px |
|
Values to help stack Thumbprint UI components.