Developer Tools & IDEs Light theme No. 027 / 134

GitHub

Code hosting platform. Graph-paper grid framing, light and pure-black themes, Mona Sans headlines

#ffffff #08872b 31 colors 25 type styles 6px radius
github/design Light theme
GitHub ProductCompanyPricing Get started
Developer Tools & IDEs
Tools that disappear into the work.

Code hosting platform. Graph-paper grid framing, light and pure-black themes, Mona Sans headlines

Start building Documentation
Type specimenDisplay Hero
Aa
Mona Sans56px
#08872b 31 color tokens 25 type styles 6px radius
01

Color

Palette & roles.

31 tokens extracted from the file. Ratios shown against the light canvas.

Aa 4.7:1
Primary #08872b Brand · primary
Aa 1.0:1
On Primary #ffffff Text · on-primary
Aa 7.0:1
Primary Deep #0d6731 Brand · primary-deep
Aa 1.5:1
Primary Bright #5fed83 Brand · primary-bright
Aa 1.6:1
Quote Green #23ea57 Brand · quote-green
Aa 1.1:1
Primary Wash #ebf9f4 Brand · primary-wash
Aa 14.3:1
Primary Wash Dark #0d3024 Brand · primary-wash-dark
Aa 6.4:1
Link #0055d5 Text · link
Aa 1.5:1
Link Dark #a2daff Text · link-dark
Aa 1.0:1
Canvas #ffffff Surface · canvas
Aa 1.1:1
Surface Soft #f2f5f3 Surface · surface-soft
Aa 1.0:1
Surface Pill #f9fbf9 Surface · surface-pill
Aa 1.2:1
Grid Line #e7ebe9 Token · grid-line
Aa 1.1:1
Control Fill #f0f0f0 Token · control-fill
Aa 1.2:1
Control Fill Soft #e4e7e5 Token · control-fill-soft
Aa 1.4:1
Control Fill Tier #d6d8d6 Token · control-fill-tier
Aa 21.0:1
Surface Dark #000000 Surface · surface-dark
Aa 18.5:1
Surface Dark Raised #0f1511 Surface · surface-dark-raised
Aa 16.5:1
Control Fill Dark #1f1f1f Token · control-fill-dark
Aa 1.4:1
Hairline #d2d9d4 Border · hairline
Aa 1.2:1
Hairline Soft #e4ebe6 Border · hairline-soft
Aa 1.9:1
Hairline Strong #b6bfb8 Border · hairline-strong
Aa 16.8:1
Hairline Dark #191f1b Border · hairline-dark
Aa 11.2:1
Hairline Dark Strong #353d37 Border · hairline-dark-strong
Aa 21.0:1
Ink #000000 Text · ink
Aa 15.8:1
Ink Body #1f2328 Text · ink-body
Aa 6.3:1
Ink Muted #58635b Text · ink-muted
Aa 1.0:1
Ink Inverse #ffffff Text · ink-inverse
Aa 1.1:1
Ink Inverse Soft #f0f6fc Text · ink-inverse-soft
Aa 2.3:1
Ink Inverse Muted #a4aea6 Text · ink-inverse-muted
Aa 1.2:1
Info Wash #deebf4 Semantic · info-wash
02

Typography

The type ramp.

Families, sizes, weights and tracking exactly as specified. Local faces fall back to the closest system stack.

Mona SansLocalMona Sans MonoLocal
Display Hero Mona Sans · 56px · 440 / 61.6px · 0

Build something worth remembering.

Heading Section Mona Sans · 40px · 400 / 48px · 0

Clarity at every scale.

Body Mona Sans · 16px · 400 / 24px · 0.24px

The quick brown fox jumps over the lazy dog.

Body Lg Mona Sans · 18px · 400 / 27px · 0.18px

The quick brown fox jumps over the lazy dog.

Label Mono Mona Sans Mono · 14px · 480 / 21px · 0

const system = "design";

Quote Mono Mona Sans Mono · 32px · 425 / 48px · -0.64px

const system = "design";

Heading Xl Mona Sans · 40px · 460 / 48px · 0

Clarity at every scale.

Heading Lg Mona Sans · 34px · 460 / 44.2px · 0

Clarity at every scale.

Quote Lg Mona Sans · 32px · 480 / 43.2px · 0

The quick brown fox jumps over the lazy dog.

03

Shape & space

Radii & rhythm.

The geometry and spacing scale that give the system its physical feel.

Corner radii

None0px
Xs4px
Md6px
Lg8px
Xl12px
Xxl24px
Full9999px

Spacing scale

4px Xxs
8px Xs
12px Sm
16px Md
24px Lg
32px Xl
64px Xxl
96px Section
04

The source

Read the file.

The complete DESIGN.md behind GitHub, rendered for reading — or copy the raw Markdown for your agent.

Download

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#

TokenSizeWeightLine heightLetter spacingUse
display-hero56px44061.6px0"Software still starts with you", "Try the Copilot-powered platform"
heading-xl40px46048px0"Let Copilot handle the models", dark CTA banners
heading-section40px40048px0"GitHub Platform", "More ways to use GitHub"
heading-lg34px46044.2px0"Join the world's largest developer community", case-study banner
quote-lg32px48043.2px0home testimonial
quote-mono32px42548px-0.64pxdark Actions testimonial
stat-lg34px40044.2px0"800M", "90%"
stat-md28px40037.8px0"225M+"
heading-md28px48037.8px0plan names
heading-platform28px40037.8px0"GitHub", "Copilot" platform cards
price28px40037.8px0.24px"$0", "$4", "$21"
heading-sm22px48030.8px0add-on and dark feature card titles
story-title22px40030.8px0customer story headlines
table-group20px50026px0"Code management", "Code workflow"
heading-xs20px40026px0feature-panel titles, FAQ questions
body-lg18px40027px0.18pxsection intros, panel subtitles
body16px40024px0.24pxdescriptions, feature lists
body-strong16px55020.8px0"Featured add-ons"
button-lg16px50024px0.16px43px buttons
button-sm14px50021px0.21px32px buttons
nav-link14px40021px0.24pxheader menu
body-sm14px40021px0.21pxcallouts, footer links
eyebrow-mono14px40021px0.21px"PLANS & PRICING", "RECOMMENDED" (uppercase)
label-mono14px48021px0footer headings, "THE DEVELOPER NEWSLETTER"
caption-mono12px50018px0copyright 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#

NameWidthBehaviour
Wide1280px+full framed column
Desktop1012pxheader collapses below this
Tablet768pxthree-column grids drop to two or one
Mobile544pxsingle 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#

LevelTreatmentUse
0flat, hairline bordersall cells, cards, tiers
1translucent overlay fillsecondary buttons, hero form
22px coloured top rulefooter, 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#

TokenValueUse
{rounded.none}0pxcells, tiers, bands
{rounded.xs}4pxkeyboard hint chip
{rounded.md}6pxbuttons, search, select
{rounded.lg}8pxemail form, add-on and dark feature cards
{rounded.xl}12pxicon and quote tiles
{rounded.xxl}24pxheader menu triggers
{rounded.full}9999pxpills, 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.

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.