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 服务器调用 get_design_md 工具(slug 为 "github")。
把文件放在 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 Prompt 生成器中自定义 →GitHub 的品牌主色是森林绿(#08872B),其 DESIGN.md 共定义了 12 个颜色 token。
GitHub 的主要字体是 Mona Sans 和 Mona Sans Mono。
是的。Mona Sans 是免费开源字体,可在 Google Fonts 获取。
下载这份 DESIGN.md,粘贴到 Tailwind 主题生成器或 shadcn 主题生成器,即可得到包含 GitHub 主色 #08872B 及其余 token 的可用主题。
不是。这份文件由 DesignMD Pro 从 github.com 的公开页面提取,与 GitHub 无关联,也未获其认可。
当前版本 1.0.0 提取于 2026年11月20日。