---
version: "DESIGN.md Pro"
name: GitHub Analysis
analyzedBy: getdesign.md
license: "getdesign.md License — https://getdesign.md/license"
# Third-party analysis, not affiliated with GitHub. Keep the analyzedBy and license lines when copying or sharing this file.
description: "An analysis of GitHub's design language — a graph-paper marketing site that frames every page in hairline grid columns, switches between a white light theme (home, pricing) and a pure-black dark theme (product and enterprise pages), sets display and body in Mona Sans with Mona Sans Mono for stats and labels, and reserves one saturated green for every primary action."
colors:
primary: "#08872b"
on-primary: "#ffffff"
primary-deep: "#0d6731"
primary-bright: "#5fed83"
quote-green: "#23ea57"
primary-wash: "#ebf9f4"
primary-wash-dark: "#0d3024"
link: "#0055d5"
link-dark: "#a2daff"
canvas: "#ffffff"
surface-soft: "#f2f5f3"
surface-pill: "#f9fbf9"
grid-line: "#e7ebe9"
control-fill: "#f0f0f0"
control-fill-soft: "#e4e7e5"
control-fill-tier: "#d6d8d6"
surface-dark: "#000000"
surface-dark-raised: "#0f1511"
control-fill-dark: "#1f1f1f"
hairline: "#d2d9d4"
hairline-soft: "#e4ebe6"
hairline-strong: "#b6bfb8"
hairline-dark: "#191f1b"
hairline-dark-strong: "#353d37"
ink: "#000000"
ink-body: "#1f2328"
ink-muted: "#58635b"
ink-inverse: "#ffffff"
ink-inverse-soft: "#f0f6fc"
ink-inverse-muted: "#a4aea6"
info-wash: "#deebf4"
typography:
display-hero:
fontFamily: Mona Sans
fontSize: 56px
fontWeight: 440
lineHeight: 61.6px
letterSpacing: 0
heading-xl:
fontFamily: Mona Sans
fontSize: 40px
fontWeight: 460
lineHeight: 48px
letterSpacing: 0
heading-section:
fontFamily: Mona Sans
fontSize: 40px
fontWeight: 400
lineHeight: 48px
letterSpacing: 0
heading-lg:
fontFamily: Mona Sans
fontSize: 34px
fontWeight: 460
lineHeight: 44.2px
letterSpacing: 0
quote-lg:
fontFamily: Mona Sans
fontSize: 32px
fontWeight: 480
lineHeight: 43.2px
letterSpacing: 0
quote-mono:
fontFamily: Mona Sans Mono
fontSize: 32px
fontWeight: 425
lineHeight: 48px
letterSpacing: -0.64px
stat-lg:
fontFamily: Mona Sans Mono
fontSize: 34px
fontWeight: 400
lineHeight: 44.2px
letterSpacing: 0
stat-md:
fontFamily: Mona Sans Mono
fontSize: 28px
fontWeight: 400
lineHeight: 37.8px
letterSpacing: 0
heading-md:
fontFamily: Mona Sans
fontSize: 28px
fontWeight: 480
lineHeight: 37.8px
letterSpacing: 0
heading-platform:
fontFamily: Mona Sans
fontSize: 28px
fontWeight: 400
lineHeight: 37.8px
letterSpacing: 0
price:
fontFamily: Mona Sans
fontSize: 28px
fontWeight: 400
lineHeight: 37.8px
letterSpacing: 0.24px
heading-sm:
fontFamily: Mona Sans
fontSize: 22px
fontWeight: 480
lineHeight: 30.8px
letterSpacing: 0
story-title:
fontFamily: Mona Sans
fontSize: 22px
fontWeight: 400
lineHeight: 30.8px
letterSpacing: 0
table-group:
fontFamily: Mona Sans
fontSize: 20px
fontWeight: 500
lineHeight: 26px
letterSpacing: 0
heading-xs:
fontFamily: Mona Sans
fontSize: 20px
fontWeight: 400
lineHeight: 26px
letterSpacing: 0
body-lg:
fontFamily: Mona Sans
fontSize: 18px
fontWeight: 400
lineHeight: 27px
letterSpacing: 0.18px
body:
fontFamily: Mona Sans
fontSize: 16px
fontWeight: 400
lineHeight: 24px
letterSpacing: 0.24px
body-strong:
fontFamily: Mona Sans
fontSize: 16px
fontWeight: 550
lineHeight: 20.8px
letterSpacing: 0
button-lg:
fontFamily: Mona Sans
fontSize: 16px
fontWeight: 500
lineHeight: 24px
letterSpacing: 0.16px
button-sm:
fontFamily: Mona Sans
fontSize: 14px
fontWeight: 500
lineHeight: 21px
letterSpacing: 0.21px
nav-link:
fontFamily: Mona Sans
fontSize: 14px
fontWeight: 400
lineHeight: 21px
letterSpacing: 0.24px
body-sm:
fontFamily: Mona Sans
fontSize: 14px
fontWeight: 400
lineHeight: 21px
letterSpacing: 0.21px
eyebrow-mono:
fontFamily: Mona Sans Mono
fontSize: 14px
fontWeight: 400
lineHeight: 21px
letterSpacing: 0.21px
label-mono:
fontFamily: Mona Sans Mono
fontSize: 14px
fontWeight: 480
lineHeight: 21px
letterSpacing: 0
caption-mono:
fontFamily: Mona Sans Mono
fontSize: 12px
fontWeight: 500
lineHeight: 18px
letterSpacing: 0
rounded:
none: 0px
xs: 4px
md: 6px
lg: 8px
xl: 12px
xxl: 24px
full: 9999px
spacing:
xxs: 4px
xs: 8px
sm: 12px
md: 16px
lg: 24px
xl: 32px
xxl: 64px
section: 96px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button-lg}"
rounded: "{rounded.md}"
padding: 6px 20px
height: 43px
button-primary-block:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button-lg}"
rounded: "{rounded.md}"
padding: 6px 20px
height: 43px
width: 367px
button-primary-sm:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button-sm}"
rounded: "{rounded.md}"
padding: 0px 12px
height: 32px
button-compare:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button-sm}"
rounded: "{rounded.md}"
padding: 0px 12px
height: 32px
width: 264px
button-secondary:
backgroundColor: "{colors.control-fill}"
textColor: "{colors.ink}"
typography: "{typography.button-lg}"
rounded: "{rounded.md}"
padding: 6px 20px
height: 43px
button-secondary-sm:
backgroundColor: "{colors.control-fill}"
textColor: "{colors.ink}"
typography: "{typography.button-sm}"
rounded: "{rounded.md}"
padding: 0px 12px
height: 32px
button-secondary-tier:
backgroundColor: "{colors.control-fill-tier}"
textColor: "{colors.ink}"
typography: "{typography.button-lg}"
rounded: "{rounded.md}"
padding: 6px 20px
height: 43px
width: 367px
button-secondary-dark:
backgroundColor: "{colors.control-fill-dark}"
textColor: "{colors.ink-inverse}"
typography: "{typography.button-lg}"
rounded: "{rounded.md}"
padding: 6px 20px
height: 43px
button-signup:
backgroundColor: "{colors.ink}"
textColor: "{colors.ink-inverse}"
typography: "{typography.button-sm}"
rounded: "{rounded.md}"
padding: 0px 12px
height: 32px
button-signup-dark:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.button-sm}"
rounded: "{rounded.md}"
padding: 0px 12px
height: 32px
button-arrow-circle:
backgroundColor: "{colors.canvas}"
textColor: "{colors.link}"
rounded: "{rounded.full}"
size: 32px
button-arrow-circle-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.link-dark}"
rounded: "{rounded.full}"
size: 32px
button-pager:
backgroundColor: "{colors.surface-pill}"
textColor: "{colors.ink-muted}"
rounded: "{rounded.full}"
size: 32px
eyebrow-pill:
backgroundColor: "{colors.surface-pill}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.full}"
padding: 8px
height: 46px
eyebrow-label:
textColor: "{colors.ink-body}"
typography: "{typography.eyebrow-mono}"
hero-signup-form:
backgroundColor: "{colors.control-fill}"
textColor: "{colors.ink}"
rounded: "{rounded.lg}"
padding: 4px
height: 53px
platform-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.heading-platform}"
feature-panel:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.heading-xs}"
screenshot-tray:
backgroundColor: "{colors.surface-soft}"
rounded: "{rounded.none}"
stat-cell:
backgroundColor: "{colors.canvas}"
textColor: "{colors.primary}"
typography: "{typography.stat-md}"
padding: 24px
stat-panel:
backgroundColor: "{colors.canvas}"
textColor: "{colors.primary}"
typography: "{typography.stat-lg}"
testimonial-block:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.quote-lg}"
quote-tile:
backgroundColor: "{colors.primary-wash}"
textColor: "{colors.primary}"
rounded: "{rounded.xl}"
size: 56px
customer-story-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.story-title}"
logo-marquee:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-muted}"
typography: "{typography.eyebrow-mono}"
pricing-tier:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink}"
typography: "{typography.heading-md}"
rounded: "{rounded.none}"
padding: 0px 24px
recommended-strip:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink}"
typography: "{typography.eyebrow-mono}"
padding: 16px 24px 16px 32px
height: 53px
info-callout:
backgroundColor: "{colors.info-wash}"
textColor: "{colors.ink}"
typography: "{typography.body-sm}"
padding: 12px
addon-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.heading-sm}"
rounded: "{rounded.lg}"
padding: 32px
icon-tile:
backgroundColor: "{colors.primary-wash}"
textColor: "{colors.primary}"
rounded: "{rounded.xl}"
padding: 12px
size: 44px
icon-tile-dark:
backgroundColor: "{colors.primary-wash-dark}"
textColor: "{colors.primary-bright}"
rounded: "{rounded.xl}"
padding: 12px
size: 44px
feature-card-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.ink-inverse}"
typography: "{typography.heading-sm}"
rounded: "{rounded.lg}"
padding: 64px
cta-banner:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink}"
typography: "{typography.heading-lg}"
padding: 64px
cta-banner-dark:
backgroundColor: "{colors.surface-dark-raised}"
textColor: "{colors.ink-inverse}"
typography: "{typography.heading-xl}"
padding: 96px 64px
compare-table:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
padding: 12px 28px
compare-group-row:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.table-group}"
padding: 48px 28px 4px
river-row-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.ink-inverse-muted}"
typography: "{typography.body}"
testimonial-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.ink-inverse}"
typography: "{typography.quote-mono}"
faq-item-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.ink-inverse}"
typography: "{typography.heading-xs}"
faq-tabs-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.ink-inverse-muted}"
typography: "{typography.eyebrow-mono}"
input-email:
backgroundColor: "{colors.control-fill}"
textColor: "{colors.ink}"
typography: "{typography.body-sm}"
rounded: "{rounded.lg}"
padding: 16px 12px 0px 16px
height: 41px
input-search:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.md}"
padding: 1px 4px 1px 12px
height: 36px
input-search-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.ink-inverse-muted}"
typography: "{typography.body}"
rounded: "{rounded.md}"
padding: 1px 4px 1px 12px
height: 36px
select-language:
backgroundColor: "{colors.control-fill-soft}"
textColor: "{colors.ink}"
typography: "{typography.body-sm}"
rounded: "{rounded.md}"
padding: 2px 12px
height: 32px
top-nav:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.nav-link}"
height: 68px
top-nav-dark:
backgroundColor: "{colors.surface-dark}"
textColor: "{colors.ink-inverse}"
typography: "{typography.nav-link}"
height: 68px
nav-menu-trigger:
textColor: "{colors.ink}"
typography: "{typography.nav-link}"
rounded: "{rounded.xxl}"
padding: 0px 8px
height: 28px
footer:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink}"
typography: "{typography.body-sm}"
footer-dark:
backgroundColor: "{colors.surface-dark-raised}"
textColor: "{colors.ink-inverse}"
typography: "{typography.body-sm}"
grid-frame:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.none}"
grid-paper-band:
backgroundColor: "{colors.surface-soft}"
rounded: "{rounded.none}"
---
## Overview
GitHub's signed-out marketing site reads like engineering paper. Every page sits inside a 1,184–1,280px column fenced by full-height `{colors.hairline-soft}` verticals, and every section is closed by a horizontal hairline that runs edge to edge, so the layout is visibly a grid of cells rather than floating cards. Product screenshots sit in graph-paper trays, statistics are set in a monospace face, and section labels carry a blinking green block cursor. The effect is calm, technical and dense without being cramped.
The site runs two themes over the same skeleton. Home and Pricing are light: `{colors.canvas}` white with `{colors.surface-soft}` grey-green bands for the pricing grid, case-study banner and footer. Product and enterprise pages (Actions, Enterprise) flip to pure `{colors.surface-dark}` black with `{colors.hairline-dark}` grid lines, a `{colors.surface-dark-raised}` closing banner and `{colors.primary-bright}` accents. Both themes share the same green CTA, the same 6px buttons and the same type.
Colour is spent sparingly. One saturated green, `{colors.primary}`, fills every primary action and colours every statistic; secondary actions are translucent grey slabs that take on the tone of whatever is behind them. Blue appears only as link text. Decorative colour (a segmented multi-colour rule, a pixel mosaic with the Octocat mascot) is confined to dividers between sections.
**Key Characteristics:**
- Hairline grid frame: content cells bounded by 1px rules on every side, no floating cards.
- One green CTA (`button-primary`) on light and dark pages alike.
- Mona Sans for display and body; Mona Sans Mono for stats, eyebrows, footer headings and legal text.
- Secondary buttons are 6% black overlays with a 1px `{colors.hairline}` border.
- Light pages: white canvas, grey-green `{colors.surface-soft}` bands. Dark pages: black canvas, `{colors.surface-dark-raised}` banners.
- Footer opens with a 2px green top rule.
- Page rhythm: white hero, graph-paper product band, white feature grid, grey band or footer.
## Colors
### Brand & Accent
- **GitHub Green** (`{colors.primary}` — #08872b): every primary button, statistic numerals, eyebrow cursors, the RECOMMENDED top rule.
- **On Primary** (`{colors.on-primary}` — #ffffff): labels on green buttons.
- **Deep Green** (`{colors.primary-deep}` — #0d6731): light footer top rule and pricing check icons.
- **Bright Green** (`{colors.primary-bright}` — #5fed83): dark-page footer rule, icon glyphs, FAQ carets.
- **Quote Green** (`{colors.quote-green}` — #23ea57): highlighted opening of the dark testimonial.
- **Green Wash** (`{colors.primary-wash}` — #ebf9f4): light icon and quote tiles.
- **Green Wash Dark** (`{colors.primary-wash-dark}` — #0d3024): icon tiles on dark pages.
- **Link Blue** (`{colors.link}` — #0055d5): inline links and arrow-circle chevrons.
- **Link Blue Dark** (`{colors.link-dark}` — #a2daff): links and chevrons on dark pages.
### Surface
- **Canvas** (`{colors.canvas}` — #ffffff): light pages, header, feature cells.
- **Soft Surface** (`{colors.surface-soft}` — #f2f5f3): pricing tiers, case-study banner, light footer, graph-paper bands.
- **Pill Surface** (`{colors.surface-pill}` — #f9fbf9): eyebrow pill and pager buttons.
- **Grid Line** (`{colors.grid-line}` — #e7ebe9): graph-paper lines on soft bands.
- **Control Fill** (`{colors.control-fill}` — #f0f0f0): secondary buttons and hero email form on white.
- **Control Fill Soft** (`{colors.control-fill-soft}` — #e4e7e5): footer language selector.
- **Control Fill Tier** (`{colors.control-fill-tier}` — #d6d8d6): "Contact Sales" in the Enterprise tier.
- **Dark Canvas** (`{colors.surface-dark}` — #000000): dark pages and dark header.
- **Dark Raised** (`{colors.surface-dark-raised}` — #0f1511): dark CTA banners and dark footer.
- **Dark Control** (`{colors.control-fill-dark}` — #1f1f1f): secondary buttons on black.
- **Hairline** (`{colors.hairline}` — #d2d9d4): button borders, tier outline, stat cells.
- **Hairline Soft** (`{colors.hairline-soft}` — #e4ebe6): grid-frame verticals, section rules, header rule.
- **Hairline Strong** (`{colors.hairline-strong}` — #b6bfb8): search field and arrow-circle borders.
- **Hairline Dark** (`{colors.hairline-dark}` — #191f1b): grid lines and FAQ dividers on black.
- **Hairline Dark Strong** (`{colors.hairline-dark-strong}` — #353d37): dark search field and dark arrow circles.
### Text
- **Ink** (`{colors.ink}` — #000000): headlines, button labels, nav links, light "Sign up" fill.
- **Ink Body** (`{colors.ink-body}` — #1f2328): eyebrow labels, default light text.
- **Ink Muted** (`{colors.ink-muted}` — #58635b): descriptions, feature lists, stat captions, footer headings.
- **Ink Inverse** (`{colors.ink-inverse}` — #ffffff): headlines and links on black.
- **Ink Inverse Soft** (`{colors.ink-inverse-soft}` — #f0f6fc): dark eyebrow labels, default dark text.
- **Ink Inverse Muted** (`{colors.ink-inverse-muted}` — #a4aea6): body copy and footer headings on black.
### Semantic
- **Info Wash** (`{colors.info-wash}` — #deebf4): info callout under the Enterprise tier buttons.
## Typography
### Font Family
Mona Sans, GitHub's variable grotesque, carries display, headings, body and buttons with fine weight steps (400, 440, 460, 480, 500, 550). Mona Sans Mono sets statistics, eyebrow labels, footer headings, legal links and the dark testimonial.
### Hierarchy
| Token | Size | Weight | Line height | Letter spacing | Use |
|---|---|---|---|---|---|
| `display-hero` | 56px | 440 | 61.6px | 0 | "Software still starts with you", "Try the Copilot-powered platform" |
| `heading-xl` | 40px | 460 | 48px | 0 | "Let Copilot handle the models", dark CTA banners |
| `heading-section` | 40px | 400 | 48px | 0 | "GitHub Platform", "More ways to use GitHub" |
| `heading-lg` | 34px | 460 | 44.2px | 0 | "Join the world's largest developer community", case-study banner |
| `quote-lg` | 32px | 480 | 43.2px | 0 | home testimonial |
| `quote-mono` | 32px | 425 | 48px | -0.64px | dark Actions testimonial |
| `stat-lg` | 34px | 400 | 44.2px | 0 | "800M", "90%" |
| `stat-md` | 28px | 400 | 37.8px | 0 | "225M+" |
| `heading-md` | 28px | 480 | 37.8px | 0 | plan names |
| `heading-platform` | 28px | 400 | 37.8px | 0 | "GitHub", "Copilot" platform cards |
| `price` | 28px | 400 | 37.8px | 0.24px | "$0", "$4", "$21" |
| `heading-sm` | 22px | 480 | 30.8px | 0 | add-on and dark feature card titles |
| `story-title` | 22px | 400 | 30.8px | 0 | customer story headlines |
| `table-group` | 20px | 500 | 26px | 0 | "Code management", "Code workflow" |
| `heading-xs` | 20px | 400 | 26px | 0 | feature-panel titles, FAQ questions |
| `body-lg` | 18px | 400 | 27px | 0.18px | section intros, panel subtitles |
| `body` | 16px | 400 | 24px | 0.24px | descriptions, feature lists |
| `body-strong` | 16px | 550 | 20.8px | 0 | "Featured add-ons" |
| `button-lg` | 16px | 500 | 24px | 0.16px | 43px buttons |
| `button-sm` | 14px | 500 | 21px | 0.21px | 32px buttons |
| `nav-link` | 14px | 400 | 21px | 0.24px | header menu |
| `body-sm` | 14px | 400 | 21px | 0.21px | callouts, footer links |
| `eyebrow-mono` | 14px | 400 | 21px | 0.21px | "PLANS & PRICING", "RECOMMENDED" (uppercase) |
| `label-mono` | 14px | 480 | 21px | 0 | footer headings, "THE DEVELOPER NEWSLETTER" |
| `caption-mono` | 12px | 500 | 18px | 0 | copyright and legal row |
### Principles
Headlines stay near regular weight (400–480) and rely on size, not boldness; nothing on the site is set heavier than 600. Monospace marks anything machine-like: numbers, labels, legal text, and quotes from developers. Eyebrows are uppercase mono with a solid green block cursor after the last letter. Body copy is muted grey-green, never pure black, so headlines and green numerals carry the contrast.
### Note on Font Substitutes
Mona Sans is available on Google Fonts. For Mona Sans Mono, use JetBrains Mono or IBM Plex Mono at the same sizes.
## Layout
### Spacing System
An 8px-based scale: `{spacing.xxs}` 4px inside forms, `{spacing.sm}` 12px and `{spacing.md}` 16px between controls, `{spacing.lg}` 24px cell padding, `{spacing.xl}` 32px card padding, `{spacing.xxl}` 64px feature-cell and banner padding, `{spacing.section}` 96px on dark banners.
### Grid & Container
A 1,184px column (1,280px on pricing and dark pages) framed by 1px verticals. Inside it, two-column and three-column cell grids share borders; the pricing tiers and compare table run as three equal columns beside a 320px label column.
### Whitespace Philosophy
Space lives inside cells, not between them. Each cell gets 64px of padding while neighbouring cells touch along a single hairline, which keeps pages dense yet orderly.
### Responsive Strategy
#### Breakpoints
| Name | Width | Behaviour |
|---|---|---|
| Wide | 1280px+ | full framed column |
| Desktop | 1012px | header collapses below this |
| Tablet | 768px | three-column grids drop to two or one |
| Mobile | 544px | single column, stacked buttons |
#### Touch Targets
Primary buttons are 43px tall, compact buttons, arrow circles and pagers 32px.
#### Collapsing Strategy
Cell grids stack vertically and keep their hairline borders; the hero form stacks the email field above its button.
#### Image Behavior
Product screenshots scale inside their trays; logos sit in fixed-height rows.
## Elevation & Depth
| Level | Treatment | Use |
|---|---|---|
| 0 | flat, hairline borders | all cells, cards, tiers |
| 1 | translucent overlay fill | secondary buttons, hero form |
| 2 | 2px coloured top rule | footer, RECOMMENDED strip (1px) |
### Decorative Depth
Depth comes from texture, not shadow: graph-paper `{colors.grid-line}` bands behind screenshots, a segmented blue, green, lavender and pink rule under the hero, and a pixel mosaic with the Octocat between sections. Dark product pages add a pastel dotted glow behind the hero screenshot.
## Shapes
### Border Radius Scale
| Token | Value | Use |
|---|---|---|
| `{rounded.none}` | 0px | cells, tiers, bands |
| `{rounded.xs}` | 4px | keyboard hint chip |
| `{rounded.md}` | 6px | buttons, search, select |
| `{rounded.lg}` | 8px | email form, add-on and dark feature cards |
| `{rounded.xl}` | 12px | icon and quote tiles |
| `{rounded.xxl}` | 24px | header menu triggers |
| `{rounded.full}` | 9999px | pills, arrow circles, pagers, avatars |
### Photography Geometry
Customer-story photos are wide landscape crops with softly rounded corners; avatars are circles with a 2px green ring.
## Components
### Buttons
**`button-primary`** — "Sign up for GitHub", "Get started for free": the main action in every hero and banner.
- `{colors.primary}` fill, `{colors.on-primary}` label in `{typography.button-lg}`, `{rounded.md}`, padding 6px 20px, 43px tall, transparent 1px border; `button-secondary` sits to its right.
**`button-primary-block`** — "Create a free organization", "Continue with Team", "Start a free trial" spanning each pricing tier.
- `{colors.primary}` fill, `{colors.on-primary}` `{typography.button-lg}` label, `{rounded.md}`, padding 6px 20px, 43px tall, 367px wide, filling the column.
**`button-primary-sm`** — "Learn more" in the GitHub Platform cards and the footer "Subscribe".
- `{colors.primary}` fill, `{colors.on-primary}` label in `{typography.button-sm}`, `{rounded.md}`, padding 0 12px, 32px tall. Beside it sits `button-secondary-sm` "See plans and pricing".
**`button-compare`** — "Join for free", "Continue with Team" in the sticky compare-table header.
- `{colors.primary}` fill, `{colors.on-primary}` `{typography.button-sm}` label, `{rounded.md}`, padding 0 12px, 32px tall, 264px wide; the Enterprise column adds a grey "Contact Sales" below.
**`button-secondary`** — "Download GitHub Copilot app", "Learn more", "Compare plans" beside a green button.
- `{colors.control-fill}` fill (6% black over white), `{colors.ink}` label in `{typography.button-lg}`, `{rounded.md}`, padding 6px 20px, 43px tall, 1px `{colors.hairline}` border.
**`button-secondary-sm`** — "Explore Actions", "Explore Codespaces", "Start Enterprise free trial" under feature panels.
- `{colors.control-fill}` fill, `{colors.ink}` label in `{typography.button-sm}`, `{rounded.md}`, padding 0 12px, 32px tall, 1px `{colors.hairline}` border; one per panel, left-aligned.
**`button-secondary-tier`** — "Contact Sales" below "Start a free trial" in the Enterprise tier.
- `{colors.control-fill-tier}` fill, `{colors.ink}` `{typography.button-lg}` label, `{rounded.md}`, padding 6px 20px, 43px tall, 367px wide, 1px `{colors.hairline}` border.
**`button-secondary-dark`** — "Contact sales" beside the green CTA on Actions and Enterprise heroes and banners.
- `{colors.control-fill-dark}` fill (12% white over black), `{colors.ink-inverse}` label in `{typography.button-lg}`, `{rounded.md}`, padding 6px 20px, 43px tall, faint white 1px border.
**`button-signup`** — "Sign up" at the right end of the light header, after a plain "Sign in" link.
- `{colors.ink}` fill, `{colors.ink-inverse}` label in `{typography.button-sm}`, `{rounded.md}`, padding 0 12px, 32px tall; the header's only filled control.
**`button-signup-dark`** — "Sign up" in the dark header on Actions and Enterprise.
- `{colors.canvas}` fill, `{colors.ink}` label in `{typography.button-sm}`, `{rounded.md}`, padding 0 12px, 32px tall: the light-header button inverted.
**`button-arrow-circle`** — the chevron link at the foot of add-on cards and customer stories.
- `{colors.canvas}` fill, `{colors.link}` chevron, `{rounded.full}`, 32px size, 1px `{colors.hairline-strong}` border. It replaces a text link: cards carry no "Read more" label.
**`button-arrow-circle-dark`** — the same chevron on dark feature and story cards.
- `{colors.surface-dark}` fill, `{colors.link-dark}` chevron, `{rounded.full}`, 32px size, 1px `{colors.hairline-dark-strong}` border.
**`button-pager`** — pause buttons on the logo marquee and the testimonial pager arrows.
- `{colors.surface-pill}` fill, `{colors.ink-muted}` icon, `{rounded.full}`, 32px size, 1px `{colors.hairline-soft}` border; the testimonial pager pairs two with dot indicators between.
### Cards & Containers
**`eyebrow-pill`** — the announcement link above the home headline.
- `{colors.surface-pill}` fill, `{colors.ink}` text in `{typography.body}`, `{rounded.full}`, padding 8px, 46px tall, 1px `{colors.hairline-soft}` border; illustration left, circled chevron right.
**`eyebrow-label`** — "PLANS & PRICING", "GITHUB ACTIONS", "PLATFORM", "BUILT WITH GITHUB" above headlines.
- `{colors.ink-body}` text in `{typography.eyebrow-mono}`, uppercase, followed by a solid 9×14px block cursor in `{colors.primary}` (`{colors.primary-bright}` on dark pages). No fill or border.
**`hero-signup-form`** — the email field fused with "Sign up for GitHub" on the home page.
- `{colors.control-fill}` fill, `{colors.ink}` text, `{rounded.lg}`, padding 4px, 53px tall, 1px `{colors.hairline}` border. `input-email` on the left, `button-primary` inset on the right.
**`platform-card`** — the "GitHub" and "Copilot" cells under "GitHub Platform".
- `{colors.canvas}` fill, `{colors.ink}` title with Octocat mark in `{typography.heading-platform}`, cells split by a `{colors.hairline-soft}` vertical. A `screenshot-tray` on top, a `{typography.body-lg}` muted line, then `button-primary-sm` and `button-secondary-sm` centred.
**`feature-panel`** — "Actions", "Code Quality", "Codespaces" in "More ways to use GitHub".
- `{colors.canvas}` fill, `{colors.ink}` title in `{typography.heading-xs}`, left-aligned. Below a `screenshot-tray`: a muted `{typography.body-lg}` subtitle and one `button-secondary-sm`. Two then three per row.
**`screenshot-tray`** — the frame around every product screenshot on light pages.
- `{colors.surface-soft}` fill with `{colors.grid-line}` graph-paper lines, square corners (`{rounded.none}`), 1px `{colors.hairline}` border; the UI inside sits inset with a coloured left accent bar.
**`stat-cell`** — "225M+ developers building on GitHub" inside the scrolling activity marquee.
- `{colors.canvas}` fill, `{colors.primary}` number in `{typography.stat-md}`, padding 24px, 1px `{colors.hairline}` border; caption in `{colors.ink-muted}` `{typography.eyebrow-mono}`. Neighbouring activity cells sit on `{colors.surface-soft}`.
**`stat-panel`** — "800M" and "90%" beside the home testimonial.
- `{colors.canvas}` fill, `{colors.primary}` numerals in `{typography.stat-lg}`, muted mono caption below; two cells stacked and divided by a `{colors.hairline-soft}` rule.
**`testimonial-block`** — the Coinbase CTO quote on the home page.
- `{colors.canvas}` fill, `{colors.ink}` quote in `{typography.quote-lg}`. A `quote-tile` above, a 48px avatar with a 2px `{colors.primary}` ring, name and muted role below, then the `button-pager` control.
**`quote-tile`** — the opening quote-mark tile on testimonials.
- `{colors.primary-wash}` fill, `{colors.primary}` "“" glyph in Mona Sans Mono, `{rounded.xl}`, 56px size. On dark pages it switches to `{colors.primary-wash-dark}` with a bright green glyph.
**`customer-story-card`** — "Figma streamlines development and strengthens security" and its two siblings.
- `{colors.canvas}` fill, `{colors.ink}` headline in `{typography.story-title}`, left-aligned; company logo on top, `button-arrow-circle` at the foot; three cells under a segmented colour rule.
**`logo-marquee`** — the customer logo rows on home and pricing.
- `{colors.canvas}` fill, label in `{colors.ink-muted}` `{typography.eyebrow-mono}` in a left cell, then muted grey logos scrolling to a `button-pager` pause button.
**`pricing-tier`** — the Free, Team and Enterprise columns.
- `{colors.surface-soft}` fill, square corners (`{rounded.none}`), padding 0 24px, 1px `{colors.hairline}` outline. `{colors.ink}` plan name in `{typography.heading-md}`, muted description, `{typography.price}` price with muted "USD", `button-primary-block`, then an "Includes:" list with `{colors.primary-deep}` checks.
**`recommended-strip`** — "RECOMMENDED" above the Enterprise tier.
- `{colors.surface-soft}` fill, `{colors.ink}` label in `{typography.eyebrow-mono}`, padding 16px 24px 16px 32px, 53px tall, with a 1px `{colors.primary}` top rule as the only highlight.
**`info-callout`** — the Copilot note inside the Enterprise tier.
- `{colors.info-wash}` fill, `{colors.ink}` text in `{typography.body-sm}`, padding 12px, faint blue top and bottom rules, a blue info icon left and a `{colors.link}` underlined link.
**`addon-card`** — "GitHub Copilot", "Premium support" in "Additional add-ons".
- `{colors.canvas}` fill, `{colors.ink}` title in `{typography.heading-sm}`, `{rounded.lg}`, padding 32px. `icon-tile` on top, muted `{typography.body}` description, `button-arrow-circle` at the foot; three per row in hairline cells.
**`icon-tile`** — the small glyph tile heading every add-on card.
- `{colors.primary-wash}` fill, `{colors.primary}` 20px icon, `{rounded.xl}`, padding 12px, 44px size; no border.
**`icon-tile-dark`** — the same tile on Actions and Enterprise cards ("Hosted runners", "Govern engineers and agents").
- `{colors.primary-wash-dark}` fill, `{colors.primary-bright}` icon, `{rounded.xl}`, padding 12px, 44px size.
**`feature-card-dark`** — "Hosted runners", "Matrix builds", "Enterprise Cloud" cells on dark pages.
- `{colors.surface-dark}` fill, `{colors.ink-inverse}` title in `{typography.heading-sm}`, `{rounded.lg}`, padding 64px; `icon-tile-dark`, `{colors.ink-inverse-muted}` description, optional `button-arrow-circle-dark`. Cells share `{colors.hairline-dark}` borders.
**`cta-banner`** — "Grupo Boticário increases developer productivity by 94% with Copilot" on pricing.
- `{colors.surface-soft}` fill, `{colors.ink}` headline in `{typography.heading-lg}`, padding 64px; `button-primary` and `button-secondary` under the headline, a rounded photo on the right half.
**`cta-banner-dark`** — "The future of workflow automation is now" and "Start your journey with GitHub".
- `{colors.surface-dark-raised}` fill, `{colors.ink-inverse}` headline in `{typography.heading-xl}`, padding 96px 64px, centred; a muted line then `button-primary` (with `button-secondary-dark` on Enterprise).
**`compare-table`** — the "Compare plans" feature matrix on pricing.
- `{colors.canvas}` fill, `{colors.ink-muted}` cells in `{typography.body}`, cell padding 12px 28px, 1px `{colors.hairline-soft}` row rules. Values are green checks, dashes, or "Unlimited" beside a 24px tinted-green infinity circle.
**`compare-group-row`** — "Code management", "Code workflow", "Collaboration" group headers.
- `{colors.canvas}` fill, `{colors.ink}` label in `{typography.table-group}` with a caret, padding 48px 28px 4px, 1px `{colors.hairline-soft}` bottom rule.
### Inputs & Forms
**`input-email`** — "Enter your email" inside `hero-signup-form`.
- `{colors.control-fill}` behind it, `{colors.ink}` text in `{typography.body-sm}`, `{rounded.lg}`, padding 16px 12px 0 16px, 41px tall, no visible border of its own; placeholder in `{colors.ink-muted}`.
**`input-search`** — "Search" with a "/" key hint in the light header.
- `{colors.canvas}` fill, `{colors.ink-muted}` text in `{typography.body}`, `{rounded.md}`, padding 1px 4px 1px 12px, 36px tall, 1px `{colors.hairline-strong}` border; "/" sits in a 4px-rounded chip.
**`input-search-dark`** — the same field in the dark header.
- `{colors.surface-dark}` fill, `{colors.ink-inverse-muted}` text in `{typography.body}`, `{rounded.md}`, padding 1px 4px 1px 12px, 36px tall, 1px `{colors.hairline-dark-strong}` border.
**`select-language`** — the "English" language menu at the right of the footer legal row.
- `{colors.control-fill-soft}` fill, `{colors.ink}` text in `{typography.body-sm}`, `{rounded.md}`, padding 2px 12px, 32px tall, 1px `{colors.hairline}` border, globe icon left and caret right.
### Navigation
**`top-nav`** — the light header on Home and Pricing.
- `{colors.canvas}` fill, `{colors.ink}` links in `{typography.nav-link}`, 68px tall, 1px `{colors.hairline-soft}` bottom rule. Octocat, "Products", "Developers", "Businesses", "Resources" triggers, "Pricing"; right: `input-search`, "Sign in", `button-signup`.
**`top-nav-dark`** — the same header on Actions and Enterprise.
- `{colors.surface-dark}` fill, `{colors.ink-inverse}` links in `{typography.nav-link}`, 68px tall, `{colors.hairline-dark}` bottom rule, with `input-search-dark` and `button-signup-dark`.
**`nav-menu-trigger`** — "Products", "Developers", "Businesses", "Resources" with a small caret.
- No fill, `{colors.ink}` label in `{typography.nav-link}`, `{rounded.xxl}`, padding 0 8px, 28px tall; the caret is `{colors.ink-muted}`.
**`footer`** — the light site footer.
- `{colors.surface-soft}` fill, `{colors.ink}` links in `{typography.body-sm}`, 2px `{colors.primary-deep}` top rule. Newsletter block in `{typography.label-mono}`, four link columns, then a `{typography.caption-mono}` legal row with `select-language`.
**`footer-dark`** — the footer on dark pages.
- `{colors.surface-dark-raised}` fill, `{colors.ink-inverse}` links in `{typography.body-sm}`, 2px `{colors.primary-bright}` top rule, `{colors.ink-inverse-muted}` headings; otherwise the same layout as `footer`.
### Signature Components
**`grid-frame`** — the hairline column that frames every page.
- `{colors.canvas}` fill (black on dark pages), `{colors.ink}` content, square corners (`{rounded.none}`); 1px `{colors.hairline-soft}` verticals run the page height, and every section ends in a full-width horizontal rule.
**`grid-paper-band`** — the graph-paper band below the home hero and behind "Let Copilot handle the models".
- `{colors.surface-soft}` fill crossed by `{colors.grid-line}` lines, square corners (`{rounded.none}`), with small pixel-square corner marks; product screenshots float on it.
**`river-row-dark`** — "Run a workflow on any event", "Actions marketplace" rows on Actions.
- `{colors.surface-dark}` fill, `{colors.ink-inverse-muted}` copy in `{typography.body}`, white heading; text left, screenshot right, and a `{colors.link-dark}` "Explore the actions marketplace ›" link.
**`testimonial-dark`** — the Ralf Gommers, SciPy quote on Actions.
- `{colors.surface-dark}` fill, `{colors.ink-inverse}` quote in `{typography.quote-mono}`; the first sentence in `{colors.quote-green}`. Caption under a `{colors.hairline-dark-strong}` rule: mono uppercase name with green cursor, muted role.
**`faq-item-dark`** — "What is GitHub Enterprise?" and the other Enterprise FAQ rows.
- `{colors.surface-dark}` fill, `{colors.ink-inverse}` question in `{typography.heading-xs}`, 1px `{colors.hairline-dark}` bottom rule, `{colors.primary-bright}` caret at the right; answers open in muted `{typography.body}`.
**`faq-tabs-dark`** — "ABOUT GITHUB ENTERPRISE", "USING GITHUB ENTERPRISE" category list left of the FAQ.
- `{colors.surface-dark}` fill, `{colors.ink-inverse-muted}` labels in `{typography.eyebrow-mono}`; the active item turns white with a `{colors.primary-bright}` square marker.
## Do's and Don'ts
### Do
- Use `button-primary` in `{colors.primary}` for the single main action of every hero, tier and banner, on light and dark pages.
- Pair it with `button-secondary` (or `button-secondary-dark` on black), a translucent grey slab with a 1px `{colors.hairline}` border.
- Frame content in `grid-frame` cells that share 1px `{colors.hairline-soft}` borders instead of spacing cards apart.
- Set statistics in `{typography.stat-md}` or `{typography.stat-lg}` mono numerals coloured `{colors.primary}`.
- Put an uppercase `eyebrow-label` with a green block cursor above section headlines.
- Show product screenshots inside a `screenshot-tray` on graph-paper `{colors.surface-soft}`.
- Close each page with `footer` (2px `{colors.primary-deep}` rule) or `footer-dark` (2px `{colors.primary-bright}` rule).
- Use `button-arrow-circle` as the only call to action on add-on and story cards.
### Don't
- Don't add drop shadows to cards or tiers; depth comes from hairlines and translucent fills.
- Don't colour headlines; keep them `{colors.ink}` or `{colors.ink-inverse}` and let green carry emphasis.
- Don't round cells, tiers or bands; only controls and tiles carry `{rounded.md}` to `{rounded.xl}`.
- Don't use blue for buttons; `{colors.link}` is reserved for inline links and chevrons.
- Don't set headlines heavier than 480; Mona Sans display works at 400–460.
- Don't mix light and dark themes on one page; each page commits to `top-nav` or `top-nav-dark` throughout.
- Don't let decorative colours (the segmented rule, pixel mosaic) leak into buttons or text.
Usage
1. Connect getdesign.md to your AI tool (once)
claude mcp add --scope user --transport http getdesign https://getdesign.md/api/mcpRun it in your terminal, then start a new session. In the Claude app, add a custom connector with this address:
https://getdesign.md/api/mcpThe first time you ask, your AI opens getdesign.md in your browser to sign in. All tools and help
2. Then ask it
Apply the GitHub design from getdesign.md to this project.Run this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
The GitHub design reference uses graph-paper grid framing, light and pure-black themes, Mona Sans headlines. It works best for code hosting sites, developer product pages, and enterprise pricing tables.
Installs
—
Bookmarked
—
Independent analysis of publicly observable patterns, curated as a starting point for inspiration. Not affiliated with or endorsed by GitHub; GitHub and its logo are trademarks of their respective owner.
Preview
GitHub DESIGN.md FAQ
How do I use the GitHub DESIGN.md with Claude Code, Cursor, or Codex?
Run npx getdesign@latest add github from your project root, then ask your AI assistant to use DESIGN.md for UI work.
What does the GitHub DESIGN.md cover?
It covers overview, colors, typography, layout, elevation & depth, shapes, components, and do's and don'ts.
Is this an official GitHub file?
No. It is an independent analysis of publicly observable patterns, curated as a starting point for inspiration. It is not affiliated with or endorsed by GitHub.
Similar DESIGN.md files
GitLab
DevSecOps platform. Square-cornered graphite and paper-white bands, GitLab Sans, gradient accents.
Jenkins
Open-source automation server. Document-first white pages, charcoal top bar, cerulean footer.
Nuxt
Vue framework. Dark-native neutrals, Outfit display type, single mint-green accent.
Replit
AI app builder and IDE. Warm cream canvas, glowing prompt box, orange actions, peach bento tiles.