GitBook DESIGN.md 设计系统与风格规范
Developer ToolsPro 专属v1.0.0 (最新)A documentation platform for building, publishing, and maintaining product and developer knowledge bases.
当前可免费阅读 GitBook 的完整设计叙述与最多 8 色主色板。升级 Pro 即可获取全部 50 个设计 Token、完整 DESIGN.md 源码下载及 1 个历史版本。
升级 DesignMD Pro,复制全部颜色的 :root CSS 变量、查看组件配色引用并下载完整源文件。
设计规范
Overview
GitBook presents an editorial documentation platform with a warm, calm base and a precise orange accent. The experience is open and human-readable, while compact monospaced labels and product interfaces signal technical depth.
Colors
Warm white and soft stone surfaces dominate. Near-black is used for high-priority text, with orange reserved for highlighted words, small labels, active states, and primary actions. Use the warmer muted gray for supporting copy.
Typography
General Sans provides the main hierarchy, with display headlines set tight and bold. Geist Mono is used sparingly for technical labels and metadata; keep body copy open and comfortably spaced.
Layout
The homepage uses a centered headline and action cluster, then broad product showcases and alternating feature layouts. A generous desktop container supports the documentation preview while content blocks remain organized into readable columns.
Elevation & Depth
Large product previews may sit on softly contrasting neutral panels with restrained shadows. Avoid excessive borders; separate feature groups through spacing, surface shifts, and the orange illustrative motifs.
Shapes
Buttons and status badges are pill-shaped. Feature containers and product demonstrations use medium-to-large rounding, while internal controls retain smaller corners.
Motion & Micro-interaction
Captured styles show short opacity and state transitions, generally around 200ms. Keep UI feedback calm and quick; avoid animated movement that competes with the documentation examples.
Voice & Content Strategy
Use clear, human language focused on accuracy, collaboration, and useful documentation. Technical labels may be compact and monospaced, but primary headlines should remain conversational.
Components
Primary actions use orange with near-black labels; secondary actions use a pale neutral pill. Product cards should feel soft and spacious, while navigation remains visually light.
Do's and Don'ts
- Do balance human-friendly language with precise technical details.
- Do reserve orange for meaningful emphasis and important actions.
- Don't use saturated color across large text-heavy areas.
- Don't introduce heavy outlines or dramatic shadows around every product card.
如何在 AI agent 里使用 GitBook 的 DESIGN.md
获取 GitBook 的 DESIGN.md
请求 https://www.designmdpro.app/websites/gitbook.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "gitbook"),即可获取公开版本;完整 tokens 需要 Pro。
保存为项目根目录下的 DESIGN.md
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
让 agent 按它来写
例如:“按照 DESIGN.md 里的 GitBook 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
GitBook 风格 AI Prompt
参照 GitBook(gitbook.com)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。 ## 配色 - primary: #FE551B - surface: #FFFFFF - on-primary: #1C1917 - on-surface: #1C1917 - surface-soft: #FAFAF9 - surface-strong: #EFEEED ## 字体 - body-lg: "General Sans", 18px, weight 400, line-height 1.55 - label-sm: "Geist Mono", 12px, weight 600, line-height 1.3 ## 圆角 - lg: 16px - md: 8px - sm: 4px ## 规则 - 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。 - 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。 - 圆角和间距取自上面的尺度,让各组件保持一致。 完整 DESIGN.md:https://www.designmdpro.app/websites/gitbook.md在 V0 Prompt 生成器中自定义 →
常见问题
GitBook 的主色是什么?
GitBook 的品牌主色是橙色(#FE551B),其 DESIGN.md 共定义了 6 个颜色 token。
GitBook 用的是什么字体?
GitBook 的主要字体是 General Sans 和 Geist Mono。
Geist Mono 是免费字体吗?
是的。Geist Mono 是免费开源字体,可在 Google Fonts 获取。
如何在 Tailwind CSS 或 shadcn/ui 中使用 GitBook 的设计 token?
本页公开了 GitBook 的主色 #FE551B。生成完整的 Tailwind 或 shadcn 主题需要完整的 DESIGN.md,可通过 DesignMD Pro 获取。
这份 GitBook DESIGN.md 是官方的吗?
不是。这份文件由 DesignMD Pro 从 gitbook.com 的公开页面提取,与 GitBook 无关联,也未获其认可。
GitBook 的 DESIGN.md 最近一次更新是什么时候?
当前版本 1.0.0 提取于 2026年11月26日。
GitBook 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 GitBook 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。