Developer platform with a light paper theme, green-tinted gray scale, Mona Sans typography, and playful per-product accent colors.
GitHub 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 GitHub 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。
GitHub's homepage speaks to working developers with quiet confidence: a paper-white canvas, green-tinted grays, and product UI screenshots doing the persuading. The hero pairs a huge medium-weight headline ("Software still starts with you") with an inline email capture — green button, no ornament. Sections below showcase Copilot and the platform inside framed app mockups on a subtle blue-gray grid, separated by a rainbow-gradient hairline. Mood: precise, modern, human — engineering warmth rather than corporate gloss.
Mona Sans everywhere — a variable grotesque run at medium weights, tighter tracking as size grows. Display headlines hit ~80px at weight 500 with -0.03em tracking; section headers 32–48px; body 16–20px; UI labels 14px/500. Code and CLI snippets switch to Mona Sans Mono. Headlines are sentence case, plain-spoken.
A centered 1280px column; hero is full-width and minimal. Product sections present framed app screenshots on a faint engineering-grid backdrop — the grid signals "built by developers" without a single drop shadow. The footer inverts to near-black with a multi-column link grid. Section rhythm: 40–64px vertical gaps, 24px gutters.
Almost flat: depth comes from the gray-scale steps and 1px #B6BFB8/#D2D9D4 borders. Interactive lift is minimal — buttons keep the same footprint and shift shade on hover. The app mockups sit inside bordered frames on the grid, not on shadows.
Controls use GitHub's classic 6px radius; inputs and sign-up controls share it. Marketing pills (filter chips, eyebrow banners) go fully rounded; nav dropdowns and large cards reach 24px. The mix is deliberate: crisp 6px for anything functional, pills for anything decorative/filter-like.
Uniform 200ms transitions — ease for background/border color, and the GitHub signature cubic-bezier(0.16,1,0.3,1) spring-out curve for elements that surface or expand. No looping decoration; the Mascot peeking over the hero fold is the only whimsy.
Plain, confident, developer-native. Headlines are short declaratives ("Software still starts with you", "Let Copilot handle the models"). CTAs name the outcome: "Sign up for GitHub", "Download GitHub Copilot app", "Start Enterprise free trial". Stats are numeric and concrete ("800M+", "98%"). Sentence case throughout; no exclamation points.
從本頁下載、存取 https://www.designmdpro.app/websites/github.md,或透過 DesignMD Pro MCP 伺服器以 slug "github" 呼叫 get_design_md 工具。
將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。
例如:「請依照 DESIGN.md 中的 GitHub 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」
請依照 GitHub(github.com) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。
## 色彩
- outline: #B6BFB8
- primary: #08872B
- surface: #FFFFFF
- secondary: #0377FF
- on-primary: #FFFFFF
- on-surface: #000000
- outline-variant: #D2D9D4
- surface-inverse: #000000
- surface-container: #F2F5F3
- on-surface-inverse: #FFFFFF
- on-surface-variant: #58635B
- surface-container-high: #E4EBE6
## 字型
- body-lg: "Mona Sans", 20px, weight 400, line-height 1.5
- code-md: "Mona Sans Mono", 14px, weight 400, line-height 1.5
## 圓角
- lg: 8px
- md: 6px
- sm: 4px
- xl: 24px
- full: 9999px
## 間距
- lg: 24px
- md: 16px
- sm: 8px
- xl: 40px
- xs: 4px
- xxl: 64px
- base: 8px
- gutter: 24px
## 元件
- nav-link: height 28px, padding 8px, rounded 24px, textColor #000000, typography Mona Sans 14px
- chip-pill: height 42px, padding 16px, rounded 9999px, textColor #58635B, typography Mona Sans 14px, backgroundColor #F2F5F3
- badge-info: padding 8px, rounded 9999px, textColor #000000, typography Mona Sans 14px, backgroundColor {colors.tertiary.sky}
- badge-promo: padding 8px, rounded 9999px, textColor #000000, typography Mona Sans 14px, backgroundColor {colors.tertiary.pink}
- button-dark: height 28px, padding 8px, rounded 6px, textColor #FFFFFF, typography Mona Sans 14px, backgroundColor #000000
- input-email: height 43px, padding 24px, rounded 6px, textColor #000000, typography Mona Sans 16px, backgroundColor #F2F5F3
## 規則
- 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。
- 所有文字皆套用上述字型樣式,並維持其字級與字重層級。
- 圓角與間距請取自上述比例尺,確保各元件外觀一致。
完整 DESIGN.md:https://www.designmdpro.app/websites/github.md在 v0 提示詞產生器中自訂 →GitHub 的品牌主色為 森林綠(#08872B),其 DESIGN.md 共定義了 12 個色彩 tokens。
GitHub 的主要字型為 Mona Sans 與 Mona Sans Mono。
是的。Mona Sans 是免費開源字型,可在 Google Fonts 上取得。
下載這份 DESIGN.md 並貼入 Tailwind 主題產生器或 shadcn 主題產生器,即可取得包含 GitHub 主色 #08872B 與其餘 tokens 的現成主題。
不是。此檔案由 DesignMD Pro 擷取自公開的 github.com 網站,與 GitHub 無任何關聯亦未獲其背書。
版本 1.0.0 擷取於 2026年11月20日。