GitHub

github.com · GitHub · Change is constant. GitHub keeps you ahead. · GitHub

B82/100 audit
  1. Primary #f0f6fc
  2. Secondary #08872b
  3. Accent #1f883d
  4. #ffffff
  5. #000000
  6. #9198a1
  7. #58635b
  8. #59636e
  9. #a4aea6
  10. #d1d9e0
  11. #7c8980
  12. #404651
  13. #484f58
  14. #e4ebe6
colours
15
typefaces
3
type sizes
10
spacing steps
11
corner radii
8
components
721
elements read
1,926

Colour

14 colours measured on the rendered page. The bar is each colour’s share of everything painted; click any swatch to copy it.

  • Primary650 uses
  • Secondary2 uses
  • Accent2 uses
  • 1,752 uses
  • 360 uses
  • 224 uses
  • 140 uses
  • 100 uses
  • 100 uses
  • 12 uses
  • 8 uses
  • 6 uses
  • 5 uses
  • 3 uses
  • 1 uses

Text on background, 100% of pairs pass WCAG AA

  • AaAAA13.74:1 · #25292e on #f6f8fa
  • AaAA4.52:1 · #ffffff on #1f883d
  • AaAA4.63:1 · #ffffff on #1f6feb
  • AaAAA18.26:1 · #000000 on #efefef

Type

Mona Sans (sans, 1,254 elements), Mona Sans VF (sans, 476 elements), Mona Sans Mono (mono, 17 elements). Body text is 16px at weight 400. Shown in your browser’s copy of the face when you have it.

AaMona Sanssans · most text
AaMona Sans VFsans · most text
AaMona Sans Monomono · most text
400500600460480425
  1. 64px425 · 69.12px · -2.24pxh1GitHub sets the pace
  2. 48px800 · 48pxdiv, span, h2GitHub sets the pace
  3. 40px460 · 48pxh2, div, p, spanGitHub sets the pace
  4. 32px600 · 48pxh1GitHub sets the pace
  5. 24px600 · 36pxh2GitHub sets the pace
  6. 22px400 · 30.8px · 0.24pxp, span, h3GitHub sets the pace
  7. 18px400 · 27px · 0.18pxp, spanGitHub sets the pace
  8. 16px400 · normalhtml, head, style, metaGitHub sets the pace
  9. 14px400 · 21pxbody, div, a, spanGitHub sets the pace

Space and corners

11 spacing steps and 8 corner radii, with 7 distinct shadows.

  1. 1
  2. 40
  3. 64
  4. 80
  5. 96
  6. 102
  7. 112
  8. 274
  9. 308
  10. 384
  11. 432
  • 3px
  • 6px
  • 12px
  • 16px
  • 24px
  • 48px
  • 60px
  • pill

Motion

The motion reads as mixed. Each curve is drawn from the page’s own transitions; the dot runs it at three times the real duration so you can see it.

linearlinear12 transitions
ease-outcubic-bezier(0.16, 1, 0.3, 1)74 transitions
customcubic-bezier(0.65, 0, 0.35, 1)35 transitions
ease-in-outease36 transitions
75msinstant
100msxs
200mssm
300msmd
480mslg
800msxl
33333000msxxl

Components

What the page is built from, counted in the rendered DOM.

  • 53Buttons
  • 9Cards
  • 14Inputs
  • 154Links
  • 287Navigation
  • 21Footer
  • 28Modals
  • 49Dropdowns

Audit

82/100 · grade B

How consistently github.com uses its own values. How the audit works.

  • Color Discipline80
  • Typography Consistency65
  • Spacing System100
  • Shadow Consistency90
  • Border Radius Consistency80
  • Accessibility100
  • CSS Tokenization100
  • 9 font weights in use — consider standardizing to 3 (regular, medium, bold)
  • 4312 !important rules — prefer specificity over overrides
  • 81% of CSS is unused — consider purging
  • 32949 duplicate CSS declarations

Download the tokens

The files designlang wrote for github.com. Run it yourself for a fresh read: npx designlang github.com.

The core values as CSS variables

:root {
  --color-primary: #f0f6fc;
  --color-secondary: #08872b;
  --color-accent: #1f883d;
  --color-background: #0d1117;
  --color-text: #f0f6fc;
  --color-neutral-1: #ffffff;
  --color-neutral-2: #000000;
  --color-neutral-3: #9198a1;
  --color-neutral-4: #58635b;
  --font-primary: "Mona Sans", sans-serif;
  --font-secondary: "Mona Sans VF", sans-serif;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
}

Quick answers

What font does GitHub use?
github.com sets most of its text in Mona Sans (1,254 elements), with Mona Sans VF and Mona Sans Mono alongside it. designlang read this from the computed styles of the live page on 12 June 2026.
What are GitHub's brand colors?
The brand roles on github.com are primary #f0f6fc, secondary #08872b and accent #1f883d, on a #0d1117 background. The neutrals used most are #ffffff, #000000 and #9198a1.
How do I use the GitHub design system in my own app?
Download the DTCG tokens, Tailwind config or CSS variables on this page, or run npx designlang github.com for a fresh read. To theme an existing app, add the shadcn theme or the Tailwind config to it, or run npx designlang github.com --framework shadcn.
Is this the official design system?
No. It is measured from github.com's public pages on 12 June 2026, so it shows what the site renders, not GitHub's internal source files. GitHub is a trademark of its owner and is not affiliated with designlang.

Measured from the public pages of github.com on 12 June 2026. GitHub is a trademark of its owner; designlang is not affiliated with it. More: the full GitHub brand kit, the token extraction guide, github.com in the Design Index and the markdown version of this page.

Sign in for 3 more free reads

Your first browser read is free for everyone. Sign in and you get 3 more. Nothing to pay.

Every site is free in your terminal too: npx designlang <site>