Primitives

Color, typography, and spacing design tokens.

Color

An overview of all available color CSS variables

Getting started

Get started with Primer Primitives

Migrating

Quick references for migrating from old Primer styling systems to new CSS variable primitives

Size

An overview of all available size CSS variables

Token names

An explanation of Primer's design token naming convention

Typography

An overview of all available typography CSS variables