Tokens
Design variables that power Thumbtack’s UI.
| Token Name | Value |
|---|
deprecatedtpBorderRadiusBase | 4px | deprecatedtpBorderRadiusBig | 6px | tpBorderRadiusXSmall | 4px | tpBorderRadiusSmall | 6px | tpBorderRadiusMedium | 8px | tpBorderRadiusLarge | 12px | tpBorderRadiusXLarge | 16px | tpBorderRadiusXXLarge | 24px | tpBorderRadiusFull | 50% | tpBorderRadiusSides | 9999px |
|
| Token Name | Value |
|---|
tpBreakpointLarge | 1025px | tpBreakpointLargeValue | 1025 | tpBreakpointMedium | 700px | tpBreakpointMediumValue | 700 | tpBreakpointSmall | 481px | tpBreakpointSmallValue | 481 | tpBreakpointSplitViewMedium | 1060px | tpBreakpointSplitViewMediumValue | 1060 | tpBreakpointSplitViewSmall | 769px | tpBreakpointSplitViewSmallValue | 769 |
|
These are the colors we use at Thumbtack.
| Token Name | Value |
|---|
tpColorBlue100 | | tpColorBlue200 | | tpColorBlue300 | | tpColorBlue | | tpColorBlue500 | | tpColorBlue600 | | tpColorIndigo100 | | tpColorIndigo200 | | tpColorIndigo300 | | tpColorIndigo | | tpColorIndigo500 | | tpColorIndigo600 | | tpColorPurple100 | | tpColorPurple200 | | tpColorPurple300 | | tpColorPurple | | tpColorPurple500 | | tpColorPurple600 | | tpColorGreen100 | | tpColorGreen200 | | tpColorGreen300 | | tpColorGreen | | tpColorGreen500 | | tpColorGreen600 | | tpColorYellow100 | | tpColorYellow200 | | tpColorYellow300 | | tpColorYellow | | tpColorYellow500 | | tpColorYellow600 | | tpColorRed100 | | tpColorRed200 | | tpColorRed300 | | tpColorRed | | tpColorRed500 | | tpColorRed600 | | tpColorBlack300 | | tpColorBlack | | tpColorGray200 | | tpColorGray300 | | tpColorGray | | tpColorWhite | |
|
| Token Name | Value |
|---|
deprecatedtpCornerRadiusBase | 4px | deprecatedtpCornerRadiusBig | 6px | tpCornerRadiusXSmall | 4px | tpCornerRadiusSmall | 6px | tpCornerRadiusMedium | 8px | tpCornerRadiusLarge | 12px | tpCornerRadiusXLarge | 16px | tpCornerRadiusXXLarge | 24px | tpCornerRadiusFull | 50% | tpCornerRadiusSides | 9999px |
|
| Token Name | Value |
|---|
tpDuration1 | 75 | tpDuration2 | 150 | tpDuration3 | 200 | tpDuration4 | 250 | tpDuration5 | 300 | tpDuration6 | 350 |
|
| Token Name | Value |
|---|
tpEaseIn | cubic-bezier(0.50, 0, 1, 1) | tpEaseOut | cubic-bezier(0, 0, 0.40, 1) | tpEaseInOut | cubic-bezier(0.45, 0, 0.40, 1) |
|
| Token Name | Value |
|---|
tpFontFamilyBase | Rise, Avenir, Helvetica, Arial, sans-serif | tpFontFamilyMonospace | 'Source Code Pro', monospace |
|
| Token Name | Value |
|---|
tpFontWeightNormal | 400 | tpFontWeightBold | 700 |
|
| Token Name | Value |
|---|
tpFontTitle1Size | 28px | tpFontTitle1LineHeight | 32px | tpFontTitle1Weight | 700 | tpFontTitle1ResponsiveSize | 40px | tpFontTitle1ResponsiveLineHeight | 44px | tpFontTitle1ResponsiveWeight | 700 |
|
tpFontTitle2Size | 24px | tpFontTitle2LineHeight | 28px | tpFontTitle2Weight | 700 | tpFontTitle2ResponsiveSize | 32px | tpFontTitle2ResponsiveLineHeight | 40px | tpFontTitle2ResponsiveWeight | 700 |
|
tpFontTitle3Size | 22px | tpFontTitle3LineHeight | 28px | tpFontTitle3Weight | 700 | tpFontTitle3ResponsiveSize | 24px | tpFontTitle3ResponsiveLineHeight | 32px | tpFontTitle3ResponsiveWeight | 700 |
|
tpFontTitle4Size | 20px | tpFontTitle4LineHeight | 28px | tpFontTitle4Weight | 700 |
|
tpFontTitle5Size | 18px | tpFontTitle5LineHeight | 24px | tpFontTitle5Weight | 700 |
|
tpFontTitle6Size | 16px | tpFontTitle6LineHeight | 24px | tpFontTitle6Weight | 700 |
|
tpFontTitle7Size | 14px | tpFontTitle7LineHeight | 20px | tpFontTitle7Weight | 700 |
|
tpFontTitle8Size | 12px | tpFontTitle8LineHeight | 18px | tpFontTitle8Weight | 700 |
|
tpFontBody1Size | 16px | tpFontBody1LineHeight | 24px |
|
tpFontBody2Size | 14px | tpFontBody2LineHeight | 20px |
|
tpFontBody3Size | 12px | tpFontBody3LineHeight | 18px |
|
| Token Name | Value |
|---|
tpLetterSpacingLoose | 1px | tpLetterSpacingTight | -1px | tpLetterSpacingExtraTight | -2px |
|
| Token Name | Value |
|---|
tpLineHeightFlat | 1.0 | tpLineHeightTight | 1.4 | tpLineHeightBase | 1.6 | tpLineHeightLoose | 1.9 |
|
| Token Name | Value |
|---|
tpShadow100 | 0px 1px 3px rgba(0, 0, 0, 0.1) | tpShadow200 | 0px 2px 4px rgba(0, 0, 0, 0.15) | tpShadow300 | 0px 2px 7px rgba(0, 0, 0, 0.15) | tpShadow400 | 0px 2px 10px rgba(0, 0, 0, 0.2) | deprecatedtpShadowCard | 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 |
|---|
tpScrimLight80 | | tpScrimDark80 | |
|
| Token Name | Value |
|---|
tpSpace1 | 4px | tpSpace2 | 8px | tpSpace3 | 16px | tpSpace4 | 24px | tpSpace5 | 32px | tpSpace6 | 64px | tpSpace7 | 128px | tpSpace8 | 256px |
|
| Token Name | Value |
|---|
tpWrapMaxWidth | 946px | tpWrapNoPadWidth | 1010px |
|
Values to help stack Thumbprint UI components.