Sample page, same content in every system. Scroll inside for the full page.
At a glance
The decisions that make it GitHub. Full values live under Tokens.
Colour roles
- Action
#1F883D - Brand
#0969DA - Ink
#1F2328 - Secondary ink
#59636E - Canvas
#FFFFFF - Hairline
#D1D9E0
Type
Mona Sans · weights 400, 500, 600
- title-lg 32 / 1.50 / 600
- title-md 20 / 1.60 / 600
- title-sm 16 / 1.50 / 600
- body-lg 16 / 1.50 / 400
Previewed in a substitute stack. Mona Sans is open source and is the real typeface.
Shape
Spacing
4 · 8 · 16 · 24 · 28 · 32 · 40
Rules from DESIGN.md
- Keep one green button per view.
- Put a 1px border on every container; structure comes from lines.
- Stay at 14px for interface text.
Contrast
- Body text15.80:1 AA
- Secondary text6.11:1 AA
- Primary button4.52:1 AA
Use it
In Figma
Copy the sample page, any block or component as editable frames, at the width you pick above. Then paste in Figma.
In Claude Design
Copy DESIGN.md and paste it into Claude Design, so new designs start from GitHub's tokens and rules.
With a coding agent or shadcn/ui
DESIGN.md is the source of truth for an agent; one command writes the theme into a shadcn/ui project.