GitLab DESIGN.md design system & style guide
Developer ToolsProv1.0.0 (Latest)DevSecOps platform for software engineering, security, and AI-assisted delivery in one control plane.
You can read GitLab's full design narrative and up to 8 primary colors free. Upgrade to Pro for all 49 design tokens, full DESIGN.md downloads, and 1 revisions.
Upgrade to DesignMD Pro to copy all colors as :root CSS variables, inspect component token references, and download the full source file.
Design Guidelines
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.
How to use GitLab's DESIGN.md with an AI agent
Get GitLab's DESIGN.md
Fetch https://www.designmdpro.app/websites/gitlab-1.md or call the get_design_md tool with slug "gitlab-1" from the DesignMD Pro MCP server to get the public version. The full token set requires Pro.
Save it as DESIGN.md in your project root
Put the file next to AGENTS.md or CLAUDE.md so Claude Code, Cursor, Codex and other coding agents can find it.
Ask your agent to follow it
For example: "Build the settings page following the GitLab design system in DESIGN.md — use its colors, typography and spacing tokens."
GitLab style AI prompt
Build a responsive landing page in the visual style of GitLab (about.gitlab.com), following its DESIGN.md design system.
## Colors
- outline: #45424D
- primary: #7759C2
- surface: #18171D
- secondary: #18171D
- on-primary: #FFFFFF
- on-surface: #FCFBFC
- inverse-surface: #FCFBFC
- surface-container: #28272D
## Typography
- 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
## Corner radius
- sm: 4px
- full: 120px
## Rules
- Use only the colors above for backgrounds, text, borders and accents; do not invent new colors.
- Set all text with the typography styles above and keep their size and weight hierarchy.
- Take corner radius and spacing from the scales above so components look consistent.
Full DESIGN.md: https://www.designmdpro.app/websites/gitlab-1.mdCustomize in the V0 prompt generator →Frequently asked questions
What is GitLab's primary color?
GitLab's primary brand color is Indigo (#7759C2). Its DESIGN.md defines 11 color tokens in total.
What font does GitLab use?
GitLab's primary typefaces are GitLab Sans and GitLab Mono.
How do I use GitLab's design tokens in Tailwind CSS or shadcn/ui?
GitLab's primary color (#7759C2) is public on this page. Generating a complete Tailwind or shadcn theme needs the full DESIGN.md, which is available with DesignMD Pro.
Is this GitLab DESIGN.md official?
No. DesignMD Pro extracted it from the public about.gitlab.com website. It is not affiliated with or endorsed by GitLab.
When was GitLab's DESIGN.md last updated?
Version 1.0.0 was captured on December 2, 2026.
GitLab and its trademarks belong to their respective owners. DesignMD Pro is an independent project, not affiliated with or endorsed by GitLab; this DESIGN.md is extracted from the public website for reference only.