GitBook

GitBook DESIGN.md 設計系統與風格指南

Developer ToolsProv1.0.0 (最新)
gitbook.com•關聯於 2026年11月26日 下午12:00

A documentation platform for building, publishing, and maintaining product and developer knowledge bases.

Pro 網站

你可以免費閱讀 GitBook 的完整設計敘述與最多 8 色主色票。升級 Pro 即可取得全部 50 個設計 Token、完整 DESIGN.md 原始檔下載與 1 個歷史版本。

顯示 6 / 6 個色彩
深色 (28%)
Aa 測試範例#FE551B
primary
rgb(254, 85, 27)
淺色 (100%)
Aa 測試範例#FFFFFF
surface
rgb(255, 255, 255)
深色 (1%)
Aa 測試範例#1C1917
on-primary
rgb(28, 25, 23)
深色 (1%)
Aa 測試範例#1C1917
on-surface
rgb(28, 25, 23)
淺色 (96%)
Aa 測試範例#FAFAF9
surface-soft
rgb(250, 250, 249)
淺色 (86%)
Aa 測試範例#EFEEED
surface-strong
rgb(239, 238, 237)
取得完整色票、CSS variables 與 DESIGN.md 原始碼

升級 DesignMD Pro,將所有色彩複製為 :root CSS variables、檢視元件 Token 引用關係,並下載完整原始檔。

設計指南

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

  1. 取得 GitBook 的 DESIGN.md

    存取 https://www.designmdpro.app/websites/gitbook.md 或透過 DesignMD Pro MCP 伺服器以 slug "gitbook" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。

  2. 將其儲存為專案根目錄中的 DESIGN.md

    將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。

  3. 請你的 Agent 遵循該規範

    例如:「請依照 DESIGN.md 中的 GitBook 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」

GitBook 風格 AI 提示詞

請依照 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 提示詞產生器中自訂 →

常見問題

GitBook 的主色是什麼?

GitBook 的品牌主色為 橙色(#FE551B),其 DESIGN.md 共定義了 6 個色彩 tokens。

GitBook 使用什麼字型?

GitBook 的主要字型為 General Sans 與 Geist Mono。

Geist Mono 是免費字型嗎?

是的。Geist Mono 是免費開源字型,可在 Google Fonts 上取得。

如何在 Tailwind CSS 或 shadcn/ui 中使用 GitBook 的 design tokens?

本頁已公開 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 擷取自公開網站,僅供參考。