tokens
Typography
Font families, the type scale with its paired line heights, weights, leading, and tracking, each set in the face it applies to.
Sizes, weights, leading, and tracking come from the Figma library's Typography variables. The families are maintained by hand, because the site self-hosts its fonts. font-display (DraftPaper) carries headings and labels; font-body (IBM Plex Sans) carries running text.
Families
font-bodyData, ink, and the space between "IBM Plex Sans", ui-sans-serif, system-ui, sans-seriffont-serifData, ink, and the space between "Cormorant Garamond", ui-serif, Georgia, seriffont-displayData, ink, and the space between "DraftPaper", ui-sans-serif, system-ui, sans-serif
Size
Each size sets its own line height. Pair it with a leading-* utility only to override that.
| Utility | Size / line height | Display and body |
|---|---|---|
text-xs | 0.75rem / calc(16 / 12) | Portfolio Portfolio |
text-sm | 0.875rem / calc(20 / 14) | Portfolio Portfolio |
text-base | 1rem / calc(24 / 16) | Portfolio Portfolio |
text-lg | 1.125rem / calc(28 / 18) | Portfolio Portfolio |
text-xl | 1.25rem / calc(28 / 20) | Portfolio Portfolio |
text-2xl | 1.5rem / calc(32 / 24) | Portfolio Portfolio |
text-3xl | 1.875rem / calc(36 / 30) | Portfolio Portfolio |
text-4xl | 2.25rem / calc(40 / 36) | Portfolio Portfolio |
text-5xl | 3rem / 1 | Portfolio Portfolio |
text-6xl | 3.75rem / 1 | Portfolio Portfolio |
text-7xl | 4.5rem / 1 | Portfolio Portfolio |
text-8xl | 6rem / 1 | Portfolio Portfolio |
Weight
IBM Plex Sans has no 800 or 900, so font-extrabold and font-black render as the browser's nearest face. Figma keeps those two styles on Poppins.
- Creative technologist
font-thin100 - Creative technologist
font-extralight200 - Creative technologist
font-light300 - Creative technologist
font-normal400 - Creative technologist
font-medium500 - Creative technologist
font-semibold600 - Creative technologist
font-bold700 - Creative technologist
font-extrabold800 - Creative technologist
font-black900
Leading
leading-snug and leading-loose come from Figma's styles and differ from Tailwind's defaults (1.375 and 2).
- Every project starts with the data, then finds the form that lets people read it at a glance.
leading-none1 - Every project starts with the data, then finds the form that lets people read it at a glance.
leading-snug1.167 - Every project starts with the data, then finds the form that lets people read it at a glance.
leading-tight1.25 - Every project starts with the data, then finds the form that lets people read it at a glance.
leading-normal1.5 - Every project starts with the data, then finds the form that lets people read it at a glance.
leading-relaxed1.625 - Every project starts with the data, then finds the form that lets people read it at a glance.
leading-loose1.833
Tracking
- Selected work
tracking-tight-0.025em - Selected work
tracking-wide0.025em - Selected work
tracking-wider0.05em - Selected work
tracking-widest0.1em