Zum Hauptinhalt springen
GitHub Desktop

GitHub Desktop DESIGN.md Design-System & Styleguide

Developer ToolsProv1.0.0 (Neueste)
desktop.github.com•Verknüpft am 30. Nov. 2026, 04:00•Geprüft von Bestony

GitHub's official desktop Git client, presented in the Primer Brand system with Mona Sans type and a single green action color.

Pro-Website

Du kannst die vollständige Design-Beschreibung von GitHub Desktop und bis zu 8 Primärfarben kostenlos lesen. Upgrade auf Pro für alle 95 Design-Tokens, vollständige DESIGN.md -Downloads und 1 Versionen.

8 von 13 Farben angezeigt
Dunkel (0%)
Aa Beispieltext#000000
ink
rgb(0, 0, 0)
Dunkel (11%)
Aa Beispieltext#0055D5
link
rgb(0, 85, 213)
Dunkel (18%)
Aa Beispieltext#08872B
primary
rgb(8, 135, 43)
Hell (100%)
Aa Beispieltext#FFFFFF
surface
rgb(255, 255, 255)
Hell (100%)
Aa Beispieltext#FFFFFF
on-primary
rgb(255, 255, 255)
Dunkel (2%)
Aa Beispieltext#262C28
banner-dark
rgb(38, 44, 40)
Hell (96%)
Aa Beispieltext#F9FBF9
canvas-soft
rgb(249, 251, 249)
Hell (92%)
Aa Beispieltext#EBF9F4
primary-tint
rgb(235, 249, 244)
Vollständige Palette, CSS variables und DESIGN.md-Quelle erhalten

Upgrade auf DesignMD Pro, um alle Farben als :root CSS variables zu kopieren, Komponenten-Token-Referenzen zu prüfen und die vollständige Quelldatei herunterzuladen.

Design-Richtlinien

Overview

GitHub Desktop's product pages speak in GitHub's Primer Brand voice: confident, engineer-facing, and quietly playful. The layout is a tall marketing scroll — announcement bar, global header, a 56px headline hero, then feature sections that pair a verb-first heading with a product screenshot — sitting on white with one unmistakable green action color. The audience is developers who already live in GitHub, so the page reads like documentation that happens to sell: precise sentences, no exclamation marks, no stock photography. Imagery is the product itself — a macOS window mock with traffic-light controls, diffs, and waveforms — floating on a soft pastel gradient that shifts from lavender to mint. Density is moderate and rhythmic; every section breathes at a 64px beat.

Colors

One green carries the entire product identity; everything else is neutral.

  • Primary (#08872B): the GitHub marketing green. It fills the primary download button, the selected state in docs navigation, and the active-tab underline — the only saturated fill on the page.
  • Primary hover (#077124) / primary strong (#0D6731): the hover state (the brand green mixed 16% toward black) and the deeper green used for pressed and accent borders.
  • Primary tint (#EBF9F4): a pale green wash for subtle emphasis surfaces.
  • Link (#0055D5): the Primer blue for inline links and PR references, kept strictly for navigation and references — never for large fills.
  • Ink (#000000) / on-surface muted (#58635B): headings and primary text are pure black; body copy, captions, and secondary text use the warm gray #58635B.
  • Surface (#FFFFFF) / surface muted (#F2F5F3) / canvas soft (#F9FBF9): white page canvas, light-gray inset panels (secondary buttons, pills), and the barely-green off-white used behind sections.
  • Banner dark (#262C28): the near-black announcement bar at the very top ("Looking for an agent-driven desktop experience?"), with white text.

Borders are hairline-only and intentionally untokenized here: 1px #E4EBE6 for default dividers and 1px #D2D9D4 for stronger separation.

Typography

A single variable family, Mona Sans (weights 200–900, loaded as a variable font), with Mona Sans Mono reserved for metadata and eyebrows. The scale is compressed at the top and generous in the middle, and mid weights (440–480) do the work that 600–700 does in other systems.

  • Display: the hero headline is 56px at weight 440 with a tight 1.1 line height; documentation H1s step down to 48px.
  • Headings: 40px/460 for section headlines, 24px/600 for subsections, and 22px/480 for the feature headings ("Review code changes with precision").
  • Body: 18px/400 for hero and lead paragraphs, 16px/400 for standard copy, 14px/400 for navigation, lists, and captions — all with slight positive tracking (0.01–0.015em) that keeps the variable font open at small sizes.
  • Labels: buttons share the 14px/400 body level rather than bolding. Mono eyebrows ("GITHUB DESKTOP") are 14px/480 in Mona Sans Mono, and micro-labels such as "MANAGE COOKIES" are 12px/500 mono, usually uppercase.

Layout

A fixed 1280px container with a fluid inner gutter: the home grid uses clamp(20px, (100vw − 768px) / 4, 128px), so side padding grows with the viewport and content never touches the edge. Spacing runs on Primer's 4px base scale (4/8/12/16/24/32/48) with 64px as the section rhythm and 80px for spacious sections; the CTA banner opens at 80px and settles to 88px on desktop. Cards use 32px inline padding (40px/64px for the centered marketing variant). The docs layout is a two-column shell: a fixed sidebar of expandable categories plus a 768px-max reading column for article prose.

Elevation & Depth

Depth is almost entirely absent, and that is the point: hierarchy comes from hairlines and tonal layers, not shadows. Cards sit on white separated by 1px #E4EBE6 dividers (the docs "Recommended" row is divided by vertical hairlines, not boxed), inset panels use the #F2F5F3 muted canvas, and the only shadow in the system is the resting button shadow. The hero's product mock is the single exception — it floats on a pastel lavender-to-mint gradient (#E5E7FF → #EAF7EE) that gives the page its one moment of atmosphere. Focus is expressed as a 2px outline inset by 2px, never as a glow.

Shapes

Corner radii are small and consistent: 6px on buttons and inputs (the split download button rounds only its outer corners), 8px on general boxes, 12px on the floating visual panels (top corners only, where they meet the page), and 24px on the header's pill-shaped menu triggers ("Products", "Developers"). Fully round pills (9999px) are reserved for eyebrow banners and tag chips. Small 4px radii appear on minor chips. Nothing on the page mixes more than one radius within a component.

Motion & Micro-interaction

Motion is fast, functional, and color-led. Button state changes run 200ms ease (80ms on the button base), color transitions use a 200ms cubic-bezier(0.33, 1, 0.68, 1) curve, and structural reveals — accordion expansions, tab-panel swaps — take 600ms with a strong decelerating cubic-bezier(0.16, 1, 0.3, 1) so content settles rather than snaps. Transforms (chevron rotations, video-player controls) stay at 200ms ease. Nothing loops and nothing moves on scroll. Honor prefers-reduced-motion by collapsing every duration to zero.

Voice & Content Strategy

  • Tone of voice: plain, competent, and dry — GitHub writing at its most economical. The hero promises an outcome, not a feeling: "Experience Git without the struggle".
  • Capitalization: sentence case throughout. Feature headings open with a verb and continue lowercase: "Review code changes with precision", "Stash your changes without committing them to a branch".
  • Terminology: the product is always "GitHub Desktop" (never "the app" or "GHD"); repositories are "repos"; the announcement bar points to "the GitHub Copilot app".
  • Button and action labels: the CTA names the exact artifact and platform — "Download for macOS (Apple Silicon)", with a chevron split-button for other platforms. Secondary actions are terse nouns: "Quickstart", "Overview".
  • Explanatory copy: one calm sentence that assumes competence: "Whether you're new to Git or a seasoned user, GitHub Desktop simplifies your development workflow." Release notes follow the same discipline — change type in a colored badge (NEW / ADDED / FIXED / IMPROVED), then the behavior, then the PR number.
  • Numbers, dates, and units: release versions render as a mono pill ("3.7.0") beside a spelled-out date ("November 20, 2026"); PR references are "#23185".

Components

  • Primary button: green #08872B fill, white 14px/400 label, 6px radius, 16px horizontal padding (6px vertical) at a 43px height. Hover mixes the green 16% toward black (#077124); active deepens to #0D6731. The download CTA is a split button — label on the left, platform chevron on the right, outer corners only.
  • Secondary button: #F2F5F3 fill with black text, identical geometry ("Quickstart" in the docs hero).
  • Inverted button: black fill with white text, used once in the global header ("Sign up").
  • Input: white field, 1px #D2D9D4 border, 6px radius, 12px padding, 41px height, 16px placeholder-weight text; the header search carries a trailing "/" kbd hint. Focus transitions in 80ms on the cubic-bezier color curve.
  • Nav: a 68px white bar; top-level items are 14px #000000, with dropdown triggers shaped as 24px pills. The active documentation item is green (#08872B) with a matching 2px green bottom border; inactive items are black.
  • Card: white surface, 12px radius, 32px inline padding, hairline-separated from its neighbors; the centered marketing variant opens to 40px/64px padding. Tinted cards swap the fill for the pale green #EBF9F4.
  • Announcement banner: full-width #262C28 bar, white 14px text, 16px padding, dismissible; it is the only dark surface above the fold.
  • Pill / badge: 24px-radius chips on the muted canvas with 12px/500 mono labels — version numbers, eyebrow banners, and cookie controls. Release-note change badges (NEW green, ADDED, FIXED blue, IMPROVED purple) are small uppercase pills with 10px/600 text.
  • Episode-style feature block: a 22px/480 heading, an 18px gray paragraph, and a product screenshot; blocks alternate sides down the page.

Do's and Don'ts

  • Do keep #08872B as the only saturated fill — one primary action per view.
  • Do set buttons at 14px/400, not bold; Mona Sans' mid weights carry the label.
  • Do keep every border a 1px hairline (#E4EBE6 default, #D2D9D4 strong); reach for the muted canvas before reaching for a shadow.
  • Do hold the 64px section rhythm and the 4px spacing base; don't introduce off-scale values like 18px or 40px gaps.
  • Do reserve Mona Sans Mono for eyebrows, version pills, and metadata — never for headings or body copy.
  • Don't use the link blue #0055D5 for fills or large text; it is for inline links and references only.
  • Don't round past the scale: 6px buttons, 8px boxes, 12px visual panels, 24px pills — and never two radii in one component.
  • Don't animate beyond the token set: 200ms for state changes, 600ms decelerating for structural reveals, nothing looping or scroll-linked.
  • Don't write marketing hype in the copy — the voice is "Experience Git without the struggle", not "Supercharge your workflow!".
  • Don't drop the announcement bar's contrast pairing: white on #262C28 only.

So nutzt du die DESIGN.md von GitHub Desktop mit einem AI-Agent

  1. DESIGN.md von GitHub Desktop abrufen

    Rufe https://www.designmdpro.app/websites/github-desktop.md ab oder nutze das Tool get_design_md mit dem Slug "github-desktop" über den DesignMD Pro MCP-Server, um die öffentliche Version zu erhalten. Der vollständige Token-Satz erfordert Pro.

  2. Als DESIGN.md im Projektstamm speichern

    Lege die Datei neben AGENTS.md oder CLAUDE.md ab, damit Claude Code, Cursor, Codex und andere Coding-Agents sie finden.

  3. Deinen Agent anweisen, ihr zu folgen

    Zum Beispiel: "Baue die Einstellungsseite nach dem GitHub Desktop-Design-System in DESIGN.md — verwende dessen Farb-, Typografie- und Abstands-Tokens."

AI-Prompt im Stil von GitHub Desktop

Erstelle eine responsive Landingpage im visuellen Stil von GitHub Desktop (desktop.github.com) gemäß dem DESIGN.md-Design-System.

## Farben
- ink: #000000
- link: #0055D5
- primary: #08872B
- surface: #FFFFFF
- on-primary: #FFFFFF
- banner-dark: #262C28
- canvas-soft: #F9FBF9
- primary-tint: #EBF9F4

## Typografie
- body-lg: "Mona Sans", 18px, weight 400, line-height 1.5, letter-spacing 0.01em
- label-sm: "Mona Sans Mono", 12px, weight 500, line-height 1.5

## Eckenradius
- lg: 8px
- md: 6px
- sm: 4px

## Regeln
- Verwende für Hintergründe, Text, Rahmen und Akzente ausschließlich die obigen Farben; erfinde keine neuen Farben.
- Setze alle Texte mit den obigen Typografie-Stilen und behalte deren Größen- und Gewichtshierarchie bei.
- Entnimm Eckenradien und Abstände den obigen Skalen, damit Komponenten konsistent wirken.

Vollständige DESIGN.md: https://www.designmdpro.app/websites/github-desktop.md
Im v0 Prompt Generator anpassen →

Häufig gestellte Fragen

Was ist die Primärfarbe von GitHub Desktop?

Die primäre Markenfarbe von GitHub Desktop ist Waldgrün (#08872B). Die zugehörige DESIGN.md definiert insgesamt 13 Farb-Tokens.

Welche Schriftart verwendet GitHub Desktop?

Die primären Schriftarten von GitHub Desktop sind Mona Sans und Mona Sans Mono.

Ist Mona Sans eine kostenlose Schriftart?

Ja. Mona Sans ist kostenlos und Open Source und auf Google Fonts verfügbar.

Wie verwende ich die design tokens von GitHub Desktop in Tailwind CSS oder shadcn/ui?

Die Primärfarbe von GitHub Desktop (#08872B) ist auf dieser Seite öffentlich sichtbar. Für ein vollständiges Tailwind- oder shadcn-Theme wird die komplette DESIGN.md benötigt, die mit DesignMD Pro verfügbar ist.

Ist diese DESIGN.md von GitHub Desktop offiziell?

Nein. DesignMD Pro hat sie von der öffentlichen Website desktop.github.com extrahiert. Es besteht keine Verbindung zu GitHub Desktop und keine Unterstützung durch GitHub Desktop.

Wann wurde die DESIGN.md von GitHub Desktop zuletzt aktualisiert?

Version 1.0.0 wurde am 30. November 2026 erfasst.

GitHub Desktop und zugehörige Marken gehören ihren jeweiligen Eigentümern. DesignMD Pro ist ein unabhängiges Projekt und steht in keiner Verbindung zu GitHub Desktop und wird nicht von GitHub Desktop unterstützt; diese DESIGN.md wurde ausschließlich zu Referenzzwecken von der öffentlichen Website extrahiert.