GitHub
Identity
Developer Tools
Bundled OpenDesign package for GitHub, derived from curated DESIGN.md, tokens.css, and components.html fixtures.
Typography
Ag
Ag
Ag
--text-4xl · 32pxThe quick brown fox--text-3xl · 28pxThe quick brown fox--text-2xl · 24pxThe quick brown fox--text-xl · 20pxThe quick brown fox--text-lg · 16pxThe quick brown fox--text-base · 14pxThe quick brown fox--text-sm · 14pxThe quick brown fox--text-xs · 12pxThe quick brown foxPalette
#ffffffPage background — defines the brand canvas.#f6f8faCard / lifted container background.var(--surface)Tertiary surface tier (kami warm-sand).#1f2328Primary text color.#1f2328Secondary text tier (kami dark-warm).#656d76Subtext / captions.#656d76Tertiary FG / metadata tier (kami stone).#d0d7deDefault border / card edge.#d8dee4Inner row separator that should not visually compete.#0969daBrand accent. ≤2 visible uses per screen (lint enforced).#ffffffFG when --accent is the bg.#1a7f37Success state.#9a6700Warning state.#cf222eDanger state.Also named in DESIGN.md
#eaeef2Code block background, deep-inset surface.#0550aeHover/pressed for primary blue.#ddf4ffSoft blue surface for callouts, info banners.#dafbe1Success surface tint.#ffebe9Error banner surface.Imagery & layout
Radius
6px6px12px9999pxSpacing
--space-1 · 4px--space-2 · 8px--space-3 · 12px--space-4 · 16px--space-5 · 20px--space-6 · 24px--space-8 · 32px--space-12 · 48pxElevation
--elev-raisedLayout
Layout rules
- Base unit: 4px. Spacing scale: 4, 8, 12, 16, 24, 32, 40, 48.
- Page max-width: 1280px (Container-xl).
- Sidebar: 296px on desktop, collapses below 1012px.
- Row padding: 16px horizontal, 12px vertical (lists are dense by design).