Skip to main content

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-body Data, ink, and the space between "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif
  • font-serif Data, ink, and the space between "Cormorant Garamond", ui-serif, Georgia, serif
  • font-display Data, 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.

UtilitySize / line heightDisplay and body
text-xs0.75rem / calc(16 / 12)Portfolio Portfolio
text-sm0.875rem / calc(20 / 14)Portfolio Portfolio
text-base1rem / calc(24 / 16)Portfolio Portfolio
text-lg1.125rem / calc(28 / 18)Portfolio Portfolio
text-xl1.25rem / calc(28 / 20)Portfolio Portfolio
text-2xl1.5rem / calc(32 / 24)Portfolio Portfolio
text-3xl1.875rem / calc(36 / 30)Portfolio Portfolio
text-4xl2.25rem / calc(40 / 36)Portfolio Portfolio
text-5xl3rem / 1Portfolio Portfolio
text-6xl3.75rem / 1Portfolio Portfolio
text-7xl4.5rem / 1Portfolio Portfolio
text-8xl6rem / 1Portfolio 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-thin 100
  • Creative technologist font-extralight 200
  • Creative technologist font-light 300
  • Creative technologist font-normal 400
  • Creative technologist font-medium 500
  • Creative technologist font-semibold 600
  • Creative technologist font-bold 700
  • Creative technologist font-extrabold 800
  • Creative technologist font-black 900

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-none 1
  • Every project starts with the data, then finds the form that lets people read it at a glance. leading-snug 1.167
  • Every project starts with the data, then finds the form that lets people read it at a glance. leading-tight 1.25
  • Every project starts with the data, then finds the form that lets people read it at a glance. leading-normal 1.5
  • Every project starts with the data, then finds the form that lets people read it at a glance. leading-relaxed 1.625
  • Every project starts with the data, then finds the form that lets people read it at a glance. leading-loose 1.833

Tracking

  • Selected work tracking-tight -0.025em
  • Selected work tracking-wide 0.025em
  • Selected work tracking-wider 0.05em
  • Selected work tracking-widest 0.1em