メインコンテンツへスキップ
GitLab Docs

GitLab Docs DESIGN.md デザインシステム & スタイルガイド

Developer ToolsProv1.0.0 (最新)
docs.gitlab.com•紐付け日: 2026年12月2日 04:00•レビュー Bestony

Documentation for the GitLab DevOps platform: white reading pages under a charcoal hero panel lit by soft violet and tanuki auras, with hairline borders instead of shadows.

Pro サイト

GitLab Docs の完全なデザイン解説と最大 8 色のプライマリカラーは無料で閲覧できます。Pro にアップグレードすると全 147 件のデザイントークン、完全な DESIGN.md ダウンロード、1 件の改訂履歴を利用できます。

全 26 色中 8 色を表示
ダーク (11%)
Aa テストサンプル#2F5CA0
link
rgb(47, 92, 160)
ダーク (13%)
Aa テストサンプル#C02F12
error
rgb(192, 47, 18)
ライト (71%)
Aa テストサンプル#DCDBD9
outline
rgb(220, 219, 217)
ダーク (1%)
Aa テストサンプル#171321
primary
rgb(23, 19, 33)
ライト (100%)
Aa テストサンプル#FFFFFF
surface
rgb(255, 255, 255)
ライト (100%)
Aa テストサンプル#FFFFFF
on-error
rgb(255, 255, 255)
ダーク (47%)
Aa テストサンプル#FCA326
tertiary
rgb(252, 163, 38)
ダーク (15%)
Aa テストサンプル#7759C2
secondary
rgb(119, 89, 194)
完全なパレット、CSS variables、DESIGN.md ソースを取得

DesignMD Pro にアップグレードすると、すべてのカラーを :root CSS variables としてコピーし、コンポーネントのトークン参照を確認して完全なソースファイルをダウンロードできます。

デザインガイドライン

Overview

GitLab Docs is the documentation front end for GitLab, built on the company's own Pajamas design system. It reads as a technical library, not a marketing site: a single search hero at the top, then an endless, calm column of white reading pages broken up by card grids and code blocks. The personality is precise, unshowy and generous with whitespace — a system that wants to be scanned and trusted rather than admired.

The one moment of theatre is the hero panel. It is a charcoal (#171321) rounded slab, 1376px wide with a 32px radius, floating above the white page on a soft violet shadow (0 8px 40px rgba(54,35,102,0.1), 0 20px 20px -20px rgba(54,35,102,0.3)). Inside it, four large radial auras — two violet #2f2a6b, one orchid #bb7cb3, one GitLab tanuki orange #fca326 — bleed out from the corners at 50–80% opacity, so the panel shifts from indigo at the top-left to warm amber at the bottom-right. "Find GitLab answers fast" sits in 64px weight-600 white over it.

Below the hero the palette collapses to almost nothing: white pages, ink #3a383d body copy, #18171d headings, blue #2f5ca0 links, #f7f7f5 code and callout panels, and #dcdbd9 hairlines. Colour returns only as small accents — the purple release banner, the pastel reference-architecture cards, and the five rotating icon tiles that open each "Get started" card. Density is moderate and deliberately even: 16px body text at a 1.6 line-height inside an 832px measure, with a 272px sidebar and a right-hand table of contents bracketing it.

The audience is GitLab users and administrators — developers, SREs, and people evaluating a self-managed install — so the design optimises for findability and long-session reading comfort over brand expression.

Colors

The system is Pajamas, and it is almost entirely neutral. One charcoal, one brand purple, one tanuki orange, and a long neutral ramp do everything.

  • Primary — Charcoal #171321 (--gl-color-brand-charcoal): the hero panel fill and the primary button fill. It is also the text colour of the CTA label's hover state. On white it measures 18.2:1, which is why it can carry 14px button text comfortably.
  • On-primary — #ffffff (--gl-color-brand-white): CTA labels, footer links, the hero headline, and the icon inside every icon tile.
  • Primary-container — Deep Violet #493c83: the release banner across the very top of the page ("GitLab 19.6 has landed. See what's new"). White text on it reads at 9.3:1.
  • Secondary — Brand Purple #7759c2: the icon tile behind the "Use GitLab" card, an 8px-radius square with 8px of padding. It also appears as one of the hero's aura colours in a lighter #a989f5.
  • Secondary-container — Lilac #dcd1fc: the default fill of the reference-architecture cards (1,000 / 2,000 / 3,000 users). Ink text on it measures 8.0:1.
  • Tertiary — Tanuki Orange #fca326: GitLab's signature orange. It is one of the hero auras, and it is the underline that animates under the hero's quick links ("Get started", "CI/CD reference", "SSH keys", "Personal access tokens", "Common Git commands"). Charcoal on it reads at 9.0:1.
  • Tertiary-container — #f6f3fe: the selected state of a reference-architecture card, swapping in for the lilac default.
  • Accent tiles — Orchid #bb7cb3, Apricot #e1986d, Dusty Rose #cd8d8d: the remaining three of the five rotating icon-tile colours, cycling through the eight "Get started" cards.
  • Surface — #ffffff and Surface-dim — #f7f7f5: the page background, and the fill of code blocks, callouts, the "Tier / Offering" availability strip, and hovered cards.
  • Surface-strong — #ecebea: the hover and active background of sidebar navigation items.
  • Surface-inverse — #28272d: the footer band. White links on it read at 14.8:1.
  • On-surface — Ink #3a383d: all body copy, list items and default button labels.
  • On-surface-variant — Grey #646163: breadcrumbs and secondary metadata.
  • On-surface-heading — #18171d: every heading from h1 to h5, one step darker than body text.
  • Outline — #dcdbd9 and Outline-variant — #c1bfbe: card and code-block hairlines, and the 1px borders on default buttons and inputs respectively.
  • Link — #2f5ca0: inline links inside prose, and inline code spans.
  • Error — #c02f12: the system's danger colour for alerts and validation.

There is no dark theme on these pages: the stylesheet ships a syntax-dark.css and a full set of dark token values, but nothing was activated during capture, so no dark tokens are recorded here.

Typography

One family carries the whole product: GitLab Sans, self-hosted as a variable woff2 covering weights 100–900, with a -apple-system / Segoe UI / Roboto fallback chain. GitLab Mono (also variable) carries all code. There is no display face and no second sans.

Hierarchy comes from size and a single weight. Every heading — h1 through h5 — is weight 600, and they step down cleanly: 40px (page title), 32px, 24px, 18px, 16px, at line-heights of 1.15 / 1.25 / 1.25 / 1.25 / 1.4. The hero headline is the one outlier at 64px, still weight 600, still white. Body copy is 16px/400 at a 1.6 line-height; the homepage lead paragraphs step up to 24px; small print, breadcrumbs and footer links drop to 14px and 12px. Nothing is italicised in the interface, and letter-spacing is left at normal everywhere — the type does its work through size contrast alone.

Code is where the second family shows up. Inline code is GitLab Mono at 12.25px on a #ecebea chip with a 4px radius; fenced blocks are GitLab Mono at 14px on #f7f7f5. Syntax highlighting uses the bundled Chroma palette: keywords in green, strings in #ba2121, comments in italic #408080, numbers and operators in #666666, class and function names in #0000ff.

Layout

A three-column reading shell. The content column is capped at 52rem (832px) with a 22rem minimum; a 17rem (272px) sidebar sits to its left and a table of contents to its right. The page container is 86rem (1376px), centred, and the header is 4rem tall on mobile and 7rem on desktop. The footer is a fixed 21rem band. Section rhythm is 60px, and the hero's inner container is capped at 55rem (880px) so the search field never stretches to the panel's full width.

Vertical spacing runs on a 4px-based scale — 4, 8, 12, 16, 24, 32, 48 — with 20px as the standard card padding and 40px as the gutter. Cards are laid out in responsive grids of one, two, three or four columns; the "Get started" grid is three-across on desktop.

The homepage is the exception to the reading shell: it is a landing page with the hero panel, a five-link quick-link row, an eight-card icon grid, a reference-architecture strip, and an install-methods grid, all stacked full-bleed. The documentation pages drop straight into sidebar / breadcrumb / content / TOC.

Elevation & Depth

Depth is almost entirely absent, and that is deliberate — this is a reading surface.

  • One real shadow in the system: the hero panel's 0 8px 40px rgba(54,35,102,0.1), 0 20px 20px -20px rgba(54,35,102,0.3). It is violet-tinted rather than black, which is what keeps the charcoal slab from looking like a heavy block on a white page.
  • Everywhere else, separation is a 1px hairline — #dcdbd9 on cards and code blocks, #c1bfbe on buttons and inputs. Inputs and some buttons use an inset 1px ring (0 0 0 1px) instead of a border so the control never changes size on focus.
  • Focus is a 2px outline with a 4px offset, never a glow and never a ring that eats layout. Inside the hero the ring is brand white; outside it, the system focus colour.
  • Cards lift by changing fill, not by casting shadow: hovering a card swaps #ffffff for #f7f7f5 and slides the arrow glyph in its title from -50% to 0.

Shapes

Uniformly soft. 8px is the system radius and it is used for buttons, inputs, cards, code blocks, callouts and the icon tiles. 4px is the smaller sibling, used for inline code chips, the sidebar's active indicator and the footer's focus ring. 32px is reserved for the hero panel — the only large architectural radius in the product. Pills use 9999px (the hero search field), and circular avatars use 50%. Nothing is fully square, and no component uses a radius larger than the hero.

Motion & Micro-interaction

Motion is short, eased and functional. There is exactly one curve and one duration.

  • State change — 200ms cubic-bezier(0.22, 0.61, 0.36, 1): every colour transition in the system — color, background-color, border-color, box-shadow, text-decoration-color — runs on this single easing, which is a fast-out, slow-in curve. It makes hover feedback feel immediate without being snappy.
  • Control feedback — 150ms ease-in-out: the slightly quicker border/shadow transition on form controls.
  • Underline swap — 400ms ease: the hero's quick links carry two stacked underlines, a tanuki one and a red→purple→blue gradient one. On hover the tanuki underline's background-size animates to 0 1px while the gradient's animates to 100% 1px, so one line slides out as the other slides in.
  • Card affordance — 200ms: the arrow glyph after a card title translates in and darkens on hover, and the card fill shifts to #f7f7f5.
  • Focus rings appear instantly — no transition, no fade.

Nothing scrolls, nothing parallaxes, and no keyframe animation runs on the marketing or documentation surfaces without a user action behind it.

Voice & Content Strategy

  • Tone of voice: plain, declarative and technical. The copy states what a thing is and what it does, in as few words as possible — "Get to know the GitLab end-to-end workflow." — and never oversells. Where a little warmth appears it is dry and British: "You've got options. See them all".
  • Capitalization: sentence case everywhere, including headings ("Get started with GitLab", "Reference architectures", "Install GitLab Self-Managed"). Buttons are sentence case too, never uppercase and never Title Case.
  • Terminology: the product is "GitLab", the docs are "GitLab Docs", the configuration file is always the literal .gitlab-ci.yml set in monospace, and tiers are named "Free, Premium, Ultimate". Installation methods are "Linux package", "Helm chart", "the Operator", "Docker", "Self-compile", "cloud provider".
  • Button and action labels: verb-first and specific — "Get free trial", "Edit this page", "Copy for LLM", "Allow all", "Confirm my choices". No generic "Submit" or "Click here".
  • Search and empty states: the hero search placeholder doubles as documentation of scope: "Search topics, API and CI/CD reference". Loading and error states are handled by the underlying Pajamas components rather than bespoke copy.
  • Numbers, dates, and units: reference architectures are labelled by user count with thin-space grouping ("1,000 users", "25,000 users"); releases are versioned "19.7", "19.6"; file names and code identifiers are always monospaced and never translated.

Components

Primary button (.btn-confirm)

32px tall, 8px radius, charcoal #171321 fill, white 14px/400 label, 12px horizontal padding, and a 1px inset charcoal ring so the silhouette never shifts on focus. Hover darkens the fill to #28272d over 200ms; nothing else changes — no shadow, no scale, no border swap. This is the "Get free trial" button in the header.

Default button

The same 32px × 8px geometry on a white fill with a 1px #c1bfbe border and #3a383d label. Used for "What's new?", "English", the version selector, "Edit this page" and "Copy for LLM". Hover fills #f7f7f5. When several sit together they merge into a segmented control — "Copy for LLM" and its dropdown chevron share one 8px-radius shell with only the outer corners rounded.

Icon tile

A 40px square, 8px radius, holding a white line glyph. Five colours rotate through the eight "Get started" cards — brand purple #7759c2, tanuki #fca326, orchid #bb7cb3, apricot #e1986d and dusty rose #cd8d8d — with 8px of padding inside the tile. The tile is the only place the interface uses saturated colour at any size.

Card

White fill, 1px #dcdbd9 border, 8px radius, 20px padding. A 16px/600 #18171d title with 4px below it, then 16px/400 #3a383d body copy. On hover the fill becomes #f7f7f5, the title's trailing arrow glyph translates from -50% to 0 and darkens to full ink, all over 200ms. Focus-visible draws a 2px outline at 4px offset.

Reference-architecture card

A wider, shorter card that leads with a number: "1,000 users" in 16px/600 over an 8px label, with a right-pointing arrow. Default fill is lilac #dcd1fc; the selected or current card swaps to #f6f3fe. Six of them sit in a single row on desktop.

Search input

Two sizes. The header search is 32px tall with an 8px radius, a 1px inset ring and 8px padding. The hero search is 52px tall, fully pill-shaped at 9999px, 800px wide, with 16px padding and a 16px label — the largest input in the system and the visual anchor of the hero panel.

Sidebar navigation item

16px/400 #3a383d links with 8px vertical padding in a 272px rail. Hover and the active item both fill #ecebea; the active item additionally grows a 3px × 20px charcoal bar at its left edge, inset 6px, vertically centred. Section headers ("Tutorials", "Release notes") are 12px grey with a chevron.

Code block

A #f7f7f5 panel with a 1px #dcdbd9 border, 8px radius, 20px horizontal and 16px vertical padding. Body is GitLab Mono at 14px in #3a383d. A copy button sits in the top-right corner; its tooltip is a 4px-radius dark chip that fades in on hover and focus.

Inline code

GitLab Mono at 12.25px on a #ecebea chip with a 4px radius and 2px padding, coloured #2f5ca0 when it appears inside a link and #3a383d otherwise.

Callout / availability strip

A #f7f7f5 panel, 8px radius, 1px #dcdbd9 border, 16px padding, carrying "Tier: Free, Premium, Ultimate" and "Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated" in 14px/400. Consecutive callouts stack with the shared border collapsed and only the outer corners rounded.

Release banner

A full-bleed #493c83 bar above the header, 12px vertical padding, white 14px text, with the link underlined and an X dismiss button at the right.

Footer

A full-bleed #28272d band, 60px vertical padding, four columns — Company, Feedback, Help & Community, Resources. Column titles are 16px white; links are 14px white; social glyphs are 16px masked icons. The GitLab tanuki logo and the "GitLab Docs" wordmark sit above the columns, and a "Cookie Preferences" link closes the list.

Do's and Don'ts

  • Do use charcoal #171321 for exactly one primary action per view, and keep #28272d as its only hover state.
  • Don't introduce a second brand colour. Purple #7759c2 and tanuki #fca326 are accents for tiles, banners and underlines — never for body text or large fills.
  • Do set every corner to 8px. Reserve 32px for the hero panel and 9999px for pills; don't invent a new radius.
  • Don't reach for shadows. One violet-tinted shadow exists (the hero); everything else separates with a 1px #dcdbd9 hairline or a fill change to #f7f7f5.
  • Do keep every heading at weight 600 and let size alone carry hierarchy — 40 / 32 / 24 / 18 / 16px. Don't add weight contrast or letter-spacing to headings.
  • Do animate colour changes on 200ms cubic-bezier(0.22, 0.61, 0.36, 1) and nothing else; don't animate layout properties or introduce a second easing.
  • Do write headings, body and buttons in sentence case; don't uppercase or title-case interface labels.
  • Do keep body copy at 16px with a 1.6 line-height inside an 832px measure, and set file names and identifiers in GitLab Mono.
  • Don't restyle the third-party consent dialog — its palette and controls belong to the consent platform, not to Pajamas.
  • Do use the 2px outline at 4px offset for focus, and switch the ring to brand white when the focused control sits inside the charcoal hero.

GitLab Docs の DESIGN.md を AI エージェントで使う方法

  1. GitLab Docs の DESIGN.md を取得する

    https://www.designmdpro.app/websites/gitlab-docs.md を取得するか、DesignMD Pro MCP サーバーから slug "gitlab-docs" で get_design_md ツールを呼び出すと公開版を取得できます。完全なトークンセットには Pro が必要です。

  2. プロジェクトルートに DESIGN.md として保存する

    Claude Code、Cursor、Codex などのコーディングエージェントが参照できるよう、AGENTS.md や CLAUDE.md と同じ階層に配置してください。

  3. エージェントに仕様へ従うよう指示する

    例:「DESIGN.md にある GitLab Docs のデザインシステム(カラー、タイポグラフィ、スペーシングトークン)に従って設定ページを構築してください。」

GitLab Docs スタイル AI プロンプト

GitLab Docs(docs.gitlab.com) のビジュアルスタイルに基づき、その DESIGN.md デザインシステムに従ってレスポンシブなランディングページを構築してください。

## カラー
- link: #2F5CA0
- error: #C02F12
- outline: #DCDBD9
- primary: #171321
- surface: #FFFFFF
- on-error: #FFFFFF
- tertiary: #FCA326
- secondary: #7759C2

## タイポグラフィ
- body-lg: "GitLab Sans", 24px, weight 400, line-height 1.6
- code-md: "GitLab Mono", 14px, weight 400, line-height 1.6

## 角丸
- md: 8px
- sm: 4px
- xl: 32px

## ルール
- 背景、テキスト、ボーダー、アクセントには上記のカラーのみを使用し、新しい色を勝手に作らないでください。
- すべてのテキストに上記のタイポグラフィスタイルを適用し、サイズとウェイトの階層を維持してください。
- コンポーネントの一貫性を保つため、角丸とスペーシングは上記のスケールから選択してください。

完全な DESIGN.md: https://www.designmdpro.app/websites/gitlab-docs.md
v0 プロンプトジェネレーターでカスタマイズ →

よくある質問

GitLab Docs のプライマリカラーは何ですか?

GitLab Docs のプライマリブランドカラーは ブラック(#171321)です。DESIGN.md には合計 26 個のカラートークンが定義されています。

GitLab Docs はどのフォントを使用していますか?

GitLab Docs のプライマリ書体は GitLab Sans・GitLab Mono です。

GitLab Docs の design tokens を Tailwind CSS や shadcn/ui で使うにはどうすればよいですか?

GitLab Docs のプライマリカラー(#171321)はこのページで公開されています。完全な Tailwind または shadcn テーマを生成するには、DesignMD Pro で提供される完全な DESIGN.md が必要です。

この GitLab Docs の DESIGN.md は公式のものですか?

いいえ。DesignMD Pro が公開ウェブサイト docs.gitlab.com から抽出したものであり、GitLab Docs との提携や承認関係はありません。

GitLab Docs の DESIGN.md はいつ最終更新されましたか?

バージョン 1.0.0 は 2026年12月2日 に取得されました。

GitLab Docs およびその商標は各権利者に帰属します。DesignMD Pro は独立したプロジェクトであり、GitLab Docs との提携や承認関係はありません。この DESIGN.md は公開ウェブサイトから参考目的で抽出されたものです。