GitLab DESIGN.md 設計系統與風格指南
Developer ToolsProv1.0.0 (最新)DevSecOps platform for software engineering, security, and AI-assisted delivery in one control plane.
你可以免費閱讀 GitLab 的完整設計敘述與最多 8 色主色票。升級 Pro 即可取得全部 49 個設計 Token、完整 DESIGN.md 原始檔下載與 1 個歷史版本。
升級 DesignMD Pro,將所有色彩複製為 :root CSS variables、檢視元件 Token 引用關係,並下載完整原始檔。
設計指南
Overview
GitLab’s captured homepage presents an enterprise DevSecOps platform through a dramatic, high-contrast dark theme. A nearly black plum canvas, fine geometric dot patterns, and oversized white headlines create a technical, editorial atmosphere, while modular content tiles and trusted-customer marks add structure. The familiar orange fox mark is the main warm brand element; violet link accents and gradient calls to action add a limited secondary color range. Other captured pages for the platform, pricing, and Duo Agent Platform reinforce the same modular, high-information system.
Colors
Deep charcoal-plum (surface) is the main hero and header background, paired with near-white text for strong contrast. A slightly lighter charcoal surface separates cards and editorial tiles. Muted gray supports secondary copy, while GitLab violet (primary) is reserved for links and small interaction accents. The orange brand mark is primarily imagery; avoid expanding its warm tone into large interface fills. Light content sections use warm white against the dark sections for clear pacing.
Typography
GitLab Sans and GitLab Mono are both loaded. The hero heading reaches 96px at a heavy variable weight, with tight negative tracking and compact line-height. Secondary display headings use a 64px scale; body text is 16px with a comfortable 24px line-height. GitLab Mono appears in uppercase metadata labels, providing a technical contrast to the geometric sans-serif.
Layout
The header is a full-width dark navigation row with product, solutions, pricing, resources, company, and contact links, followed by search, demo, trial, sign-in, and locale controls. The hero uses a broad modular grid: oversized headline and CTA sit beside patterned negative space and small content tiles, with a customer-logo band below. Further sections alternate dark and light surfaces, align to a centered desktop container near 1110px, and use substantial vertical spacing. Collapse complex panels into a clear single-column sequence on small screens.
Elevation & Depth
Depth is architectural rather than shadow-based. Use tonal changes between near-black and charcoal, 1px dividers, subtle dotted patterns, and large open space. Cards are mostly flat rectangular panels, occasionally with a translucent fill. Avoid decorative drop shadows that compete with the geometric background.
Shapes
The interface is predominantly square-edged, with 4px rounding on buttons and a few full-pill utility controls. Broad feature tiles remain rectangular to support the architectural grid. Reserve rounded shapes for compact controls rather than applying them to every panel.
Motion & Micro-interaction
Common color and transform feedback is brief, around 180–300ms, with a few longer opacity or decorative transitions. Keep hover and menu states understated and functional. Any large background or content movement should remain smooth and secondary to the editorial layout.
Voice & Content Strategy
Copy is confident, outcome-oriented, and aimed at engineering and security leaders. Examples include “Speed you can trust, all the way to production,” “Ship faster. Stay in control,” and “One control plane.” Navigation labels are concise, while section headlines frame a clear operational benefit. Use uppercase monospace sparingly for categories such as “BLOG” and other small metadata.
Components
The global navigation sits over the dark canvas with light text and compact, 4px-rounded actions. The primary free-trial button reverses the palette with a white surface and dark text; demo and sign-in controls remain quieter against the background. The hero CTA is a wide horizontal gradient panel with a directional arrow. Editorial tiles use a translucent charcoal fill and clear category/title hierarchy. Trusted-customer logos form a horizontal strip that visually closes the hero.
Do's and Don'ts
- Do use GitLab Sans for interface and display text, with GitLab Mono for compact metadata.
- Do use near-black plum surfaces with high-contrast off-white typography.
- Do make hero headlines oversized and tightly tracked.
- Do organize product information in a centered, modular grid with generous section spacing.
- Do use violet for subtle links and use the orange brand mark as an image accent.
- Do use restrained 4px rounding on actions and keep feature cards mostly rectangular.
- Do alternate dark and light sections to pace long-form product information.
- Don't rely on soft shadows to create depth; use tonal surfaces and thin dividers.
- Don't introduce broad bright color fields that compete with the dark architectural canvas.
如何在 AI Agent 中使用 GitLab 的 DESIGN.md
取得 GitLab 的 DESIGN.md
存取 https://www.designmdpro.app/websites/gitlab-1.md 或透過 DesignMD Pro MCP 伺服器以 slug "gitlab-1" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。
將其儲存為專案根目錄中的 DESIGN.md
將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。
請你的 Agent 遵循該規範
例如:「請依照 DESIGN.md 中的 GitLab 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」
GitLab 風格 AI 提示詞
請依照 GitLab(about.gitlab.com) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。
## 色彩
- outline: #45424D
- primary: #7759C2
- surface: #18171D
- secondary: #18171D
- on-primary: #FFFFFF
- on-surface: #FCFBFC
- inverse-surface: #FCFBFC
- surface-container: #28272D
## 字型
- body-lg: "GitLab Sans", 24px, weight 400, line-height 1.33, letter-spacing -0.02em
- label-sm: "GitLab Mono", 12px, weight 400, line-height 1.5, letter-spacing 0.06em
## 圓角
- sm: 4px
- full: 120px
## 規則
- 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。
- 所有文字皆套用上述字型樣式,並維持其字級與字重層級。
- 圓角與間距請取自上述比例尺,確保各元件外觀一致。
完整 DESIGN.md:https://www.designmdpro.app/websites/gitlab-1.md在 v0 提示詞產生器中自訂 →常見問題
GitLab 的主色是什麼?
GitLab 的品牌主色為 靛藍(#7759C2),其 DESIGN.md 共定義了 11 個色彩 tokens。
GitLab 使用什麼字型?
GitLab 的主要字型為 GitLab Sans 與 GitLab Mono。
如何在 Tailwind CSS 或 shadcn/ui 中使用 GitLab 的 design tokens?
本頁已公開 GitLab 的主色(#7759C2)。產生完整的 Tailwind 或 shadcn 主題需要完整的 DESIGN.md,可透過 DesignMD Pro 取得。
這份 GitLab DESIGN.md 是官方發布的嗎?
不是。此檔案由 DesignMD Pro 擷取自公開的 about.gitlab.com 網站,與 GitLab 無任何關聯亦未獲其背書。
GitLab 的 DESIGN.md 最後一次更新是什麼時候?
版本 1.0.0 擷取於 2026年12月2日。
GitLab 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 GitLab 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。