GitHubBrand
Developer tools · DESIGN.md · measured November 29, 2026
GitBook design system
GitBook’s website (gitbook.com) uses the General Sans Variable Variable Bold font on a white background. Measured by Sitepeel on November 29, 2026.
- #FFFFFF
- #FAFAF9
- #1C1917
- #FE551B
From gitbook.com ↗ · 379 elements at 1440×900 and 390×844 Independent analysis, not affiliated with GitBook
GitBook color palette
14 colors with hex codes, grouped by where each one is used on the page.
Surfaces
#FFFFFFbackground · --gitbook-widget-background-solidPage background · 5×#FAFAF9surface-container-lowRaised areas one step from the page · 2×#EFEEEDsurface-containerCards and panels · 2×#FE551B0DoverlayTranslucent fill for cards and controls · 3×#EFEEEDB3overlay-strongStronger translucent fill · 1×Text
#1C1917on-surfacePrimary text and headings · 46×#57534Don-surface-variantSecondary text · 16×#786B67on-surface-mutedMuted text and metadata · 21×#79716Bon-surface-subtleSubtle text and placeholders · 6×#FFFFFFon-primaryText and icons on primaryAccents
#1C1917primaryPrimary buttons and calls to action · 58×#FE551BsecondaryAccent in text, fills and borders · 13×#F25B3AtertiaryAccent · 11×Borders
#EFEEEDoutlineBorders and dividers · 5×GitBook fonts and type scale
5 families.
mobile 29px
mobile 25px
Contrast
Text on #FFFFFF
17.4:17.6:15.1:14.7:1Spacing
No strict grid · 61% are multiples of 4px
xs4pxsm8pxmd10pxlg24pxxl40pxgutter10pxBreakpoints: 809px 809.98px 810px 1199px 1199.98px 1200px 1599px 1599.98px
Shapes
Corner radii, most used first.
Depth
Flat: no shadows measured.
GitBook UI components
Rebuilt from the measured CSS. Buttons from other sites
Motion
Interface transitions
0.533s0.2slinearease
Do’s and don’ts
Rules written from the measurements, so a coding agent stays on style.
- Use #FFFFFF for the page and lift surfaces in small steps: #FAFAF9, #EFEEED.
- Keep text in 4 levels: #1C1917, #57534D, #786B67, #79716B.
- Let contrast carry emphasis; primary actions use #1C1917 on #FFFFFF.
- Set headlines in General Sans Variable Variable Bold with tight tracking (-0.02em).
- Reuse the measured spacing steps (8px, 10px, 24px).
- Use 16px corners on most elements; larger surfaces also use 99px, 4px and 8px.
- Add drop shadows for depth; use tonal surfaces.
- Introduce new font families beyond General Sans Variable Variable Bold, Aeonik Regular, General Sans, Inter and Geist Mono.
- Add saturated accent colors; the measured palette is almost entirely neutral.
- Make interface transitions slower than 0.533s.
---
version: alpha
name: GitBook
description: "Light monochrome interface measured from gitbook.com: General Sans Variable Variable Bold type with Aeonik Regular, tonal surfaces and 16px corners."
colors:
background: "#FFFFFF"
surface: "#FFFFFF"
on-surface: "#1C1917"
on-background: "#1C1917"
on-surface-variant: "#57534D"
on-surface-muted: "#786B67"
on-surface-subtle: "#79716B"
surface-container-low: "#FAFAF9"
surface-container: "#EFEEED"
overlay: "#FE551B0D"
overlay-strong: "#EFEEEDB3"
outline: "#EFEEED"
primary: "#1C1917"
on-primary: "#FFFFFF"
secondary: "#FE551B"
tertiary: "#F25B3A"
typography:
headline-display:
fontFamily: General Sans Variable Variable Bold
fontSize: 45px
fontWeight: 700
lineHeight: 1
letterSpacing: -0.02em
headline-lg:
fontFamily: General Sans Variable Variable Bold
fontSize: 38px
fontWeight: 700
lineHeight: 1
letterSpacing: -0.02em
headline-md:
fontFamily: General Sans Variable Variable Bold
fontSize: 32px
fontWeight: 700
lineHeight: 1.2
letterSpacing: -0.02em
headline-sm:
fontFamily: General Sans Variable Variable Bold
fontSize: 24px
fontWeight: 700
lineHeight: 1.2
letterSpacing: -0.02em
title-lg:
fontFamily: General Sans Variable Variable Bold
fontSize: 20px
fontWeight: 700
lineHeight: 1.3
letterSpacing: -0.02em
body-md:
fontFamily: Aeonik Regular
fontSize: 15px
fontWeight: 400
lineHeight: 1
body-lg:
fontFamily: General Sans
fontSize: 18px
fontWeight: 500
lineHeight: 1.6
letterSpacing: -0.01em
body-sm:
fontFamily: Inter
fontSize: 11px
fontWeight: 400
lineHeight: 1.18
label-lg:
fontFamily: General Sans Variable Variable Bold
fontSize: 16px
fontWeight: 700
lineHeight: 1
letterSpacing: -0.03em
label-md:
fontFamily: Inter
fontSize: 15px
fontWeight: 600
lineHeight: 1.4
letterSpacing: -0.03em
label-sm:
fontFamily: General Sans Variable Variable Bold
fontSize: 14px
fontWeight: 700
lineHeight: 1.6
code:
fontFamily: Geist Mono
fontSize: 14px
fontWeight: 600
lineHeight: 1.3
letterSpacing: -0.02em
headline-display-mobile:
fontFamily: General Sans Variable Variable Bold
fontSize: 29px
fontWeight: 700
lineHeight: 1
letterSpacing: -0.02em
headline-lg-mobile:
fontFamily: General Sans Variable Variable Bold
fontSize: 25px
fontWeight: 700
lineHeight: 1.2
letterSpacing: -0.02em
rounded:
sm: 4px
md: 8px
lg: 16px
xl: 99px
full: 9999px
spacing:
xs: 4px
sm: 8px
md: 10px
lg: 24px
xl: 40px
gutter: 10px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
rounded: "{rounded.xl}"
padding: 8px 20px
height: 32px
button-primary-hover:
backgroundColor: "{colors.secondary}"
button-outline:
backgroundColor: "{colors.surface-container}"
textColor: "{colors.on-surface}"
rounded: "{rounded.xl}"
padding: 10px 14px 12px 14px
height: 38px
button-outline-hover:
backgroundColor: "#E0E0E0"
button-ghost:
backgroundColor: "{colors.background}"
textColor: "#656973"
typography: "{typography.label-lg}"
rounded: 100px
padding: 12px 16px
height: 46px
link:
textColor: "{colors.primary}"
---
# GitBook Design System
## Overview
GitBook describes itself as: “GitBook is the documentation platform built for humans and AI. Built-in MCP connects your docs to AI agents, while GitBook Agent keeps them accurate.” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#1C1917)** text and almost no color: actions are carried by contrast, not hue.
Type is set in **General Sans Variable Variable Bold** and **Aeonik Regular**, with **Geist Mono** for code. Headlines run large with tight negative tracking; body text is 15px. The surface language is flat. Corners are mostly 16px.
Measured from [gitbook.com](https://www.gitbook.com/) on November 29, 2026 at 1440×900 and 390×844 from 379 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 14 roles.
- **White (#FFFFFF):** Page background, seen 5 times. Token `background`, CSS `--gitbook-widget-background-solid`.
- **Charcoal (#1C1917):** Primary text and headings, seen 46 times. Token `on-surface`.
- **Warm Slate (#57534D):** Secondary text, seen 16 times. Token `on-surface-variant`.
- **Warm Slate (#786B67):** Muted text and metadata, seen 21 times. Token `on-surface-muted`.
- **Warm Slate (#79716B):** Subtle text and placeholders, seen 6 times. Token `on-surface-subtle`.
- **Snow (#FAFAF9):** Raised areas one step from the page, seen 2 times. Token `surface-container-low`.
- **Mist (#EFEEED):** Cards and panels, seen 2 times. Token `surface-container`.
- **Vivid Orange 5% (#FE551B0D):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **Mist 70% (#EFEEEDB3):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Mist (#EFEEED):** Borders and dividers, seen 5 times. Token `outline`.
- **Charcoal (#1C1917):** Primary buttons and calls to action, seen 58 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Vivid Orange (#FE551B):** Accent in text, fills and borders, seen 13 times. Token `secondary`.
- **Vivid Red (#F25B3A):** Accent, seen 11 times. Token `tertiary`.
## Typography
**General Sans Variable Variable Bold**, **Aeonik Regular**, **General Sans**, **Inter** and **Geist Mono** (monospace) share the interface. Fallback stack: `General Sans Variable Variable Bold, General Sans Variable Variable Bold Placeholder, sans-serif`. Other loaded fonts: Space Mono.
- **headline-display:** General Sans Variable Variable Bold 45px at weight 700, line height 1, tracking -0.02em (29px on mobile). Page title (h1).
- **headline-lg:** General Sans Variable Variable Bold 38px at weight 700, line height 1, tracking -0.02em (25px on mobile). Section headings (h2).
- **headline-md:** General Sans Variable Variable Bold 32px at weight 700, line height 1.2, tracking -0.02em. Sub-section headings.
- **headline-sm:** General Sans Variable Variable Bold 24px at weight 700, line height 1.2, tracking -0.02em. Card and feature titles.
- **title-lg:** General Sans Variable Variable Bold 20px at weight 700, line height 1.3, tracking -0.02em. Small titles.
- **body-md:** Aeonik Regular 15px at weight 400, line height 1. Body text.
- **body-lg:** General Sans 18px at weight 500, line height 1.6, tracking -0.01em. Lead paragraphs.
- **body-sm:** Inter 11px at weight 400, line height 1.18. Secondary and small text.
- **label-lg:** General Sans Variable Variable Bold 16px at weight 700, line height 1, tracking -0.03em. Large buttons and tabs.
- **label-md:** Inter 15px at weight 600, line height 1.4, tracking -0.03em. Buttons, navigation and labels.
- **label-sm:** General Sans Variable Variable Bold 14px at weight 700, line height 1.6. Small labels and badges.
- **code:** Geist Mono 14px at weight 600, line height 1.3, tracking -0.02em. Code and technical values.
## Layout
Spacing does not follow a strict grid: 61% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.
- **Scale:** xs 4px, sm 8px, md 10px, lg 24px, xl 40px.
- **Gaps:** 10px is the most common gap in flex and grid layouts.
- **Breakpoints:** 809px, 809.98px, 810px, 1199px, 1199.98px, 1200px, 1599px, 1599.98px.
## Elevation & Depth
The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#FAFAF9 → #EFEEED) and #EFEEED borders.
## Shapes
Most elements use 16px corners. Measured radii, most used first:
- **lg (16px):** 164 elements.
- **xl (99px):** 64 elements.
- **full (9999px):** 40 elements.
- **sm (4px):** 28 elements.
- **md (8px):** 12 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Get a demo”):** #1C1917 fill, #FFFFFF text, 12px/400, 99px radius, padding 8px 20px.
- **button-primary-hover:** background #FE551B, text #FFFFFF on hover.
- **button-outline (“Sign up with GitHub”):** #EFEEED fill, #1C1917 text, 12px/400, 99px radius, padding 10px 14px 12px 14px.
- **button-outline-hover:** background #E0E0E0, text #1C1917 on hover.
- **button-ghost (“Ask”):** #FFFFFFE6 fill, #656973 text, 16px/400, 100px radius, padding 12px 16px, border 1px solid #E5E5E5, shadow `rgba(0, 0, 0, 0.05) 0px 1px 3px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px -1px`.
- **link:** transparent fill, #1C1917 text, padding 0px.
## Do's and Don'ts
- Do use #FFFFFF for the page and lift surfaces in small steps: #FAFAF9, #EFEEED.
- Do keep text in 4 levels: #1C1917, #57534D, #786B67, #79716B.
- Do let contrast carry emphasis; primary actions use #1C1917 on #FFFFFF.
- Do set headlines in General Sans Variable Variable Bold with tight tracking (-0.02em).
- Do reuse the measured spacing steps (8px, 10px, 24px).
- Do use 16px corners on most elements; larger surfaces also use 99px, 4px and 8px.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond General Sans Variable Variable Bold, Aeonik Regular, General Sans, Inter and Geist Mono.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.533s.
## Motion
Interface transitions are quick: 0.533s, 0.2s.
- **Easing:** `linear`, `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/gitbook.com/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
Fonts
What font does GitBook use?
GitBook uses General Sans Variable Variable Bold (weight 700) and Aeonik Regular (weight 400), with Geist Mono for code on gitbook.com. Page titles are 45px at weight 700 (29px on phones) and body text is 15px. Measured on November 29, 2026.
- AaGeneral Sans Variable Variable Bold · 700
- AaAeonik Regular · 400
- AaGeneral Sans · 500
- AaInter · 400, 600
Colors
GitBook colors: palette and hex codes
GitBook’s main colors are #FFFFFF (white) for the background and #1C1917 (charcoal) for text, with #FE551B (vivid orange) and #F25B3A (vivid red) as other accents. Measured on November 29, 2026.
- #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
- #1C1917 charcoalrgb(28, 25, 23) · hsl(24, 10%, 10%)
- #57534D warm slatergb(87, 83, 77) · hsl(36, 6%, 32%)
- #786B67 warm slatergb(120, 107, 103) · hsl(14, 8%, 44%)
- #79716B warm slatergb(121, 113, 107) · hsl(26, 6%, 45%)
- #FAFAF9 snowrgb(250, 250, 249) · hsl(60, 9%, 98%)
- #EFEEED mistrgb(239, 238, 237) · hsl(30, 6%, 93%)
- #FE551B vivid orangergb(254, 85, 27) · hsl(15, 99%, 55%)
Tech stack
What is GitBook built with?
GitBook’s website (gitbook.com) is built with Framer, React, Cloudflare, Motion and Google Fonts. Measured on November 29, 2026.
- Site builder & CMS
- Framer
- JavaScript framework
- React 18.3.1
- Analytics
- Amplitude, Microsoft Clarity 0.8.77, Reddit Pixel, Google Ads
- Hosting & CDN
- Cloudflare
- Marketing & support
- HubSpot
- Animation & 3D
- Motion
What you can build with it
Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.
Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.
Build a landing page for my product. Follow for every color, font, spacing value, corner and button.
Need a page behind a login?
The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.
More in Developer tools
All DESIGN.md examples →Not in the library? Make a DESIGN.md from any site.
FAQ
GitBook design system questions
What font does GitBook use?
GitBook’s website uses General Sans Variable Variable Bold (weight 700) and Aeonik Regular (weight 400), with Geist Mono for code. Page titles are 45px at weight 700 (29px on phones) and body text is 15px. Measured on November 29, 2026.
What are the GitBook colors and hex codes?
On gitbook.com: #FFFFFF (white) for the background and #1C1917 (charcoal) for text, with #FE551B (vivid orange) and #F25B3A (vivid red) as other accents. The color palette above lists all 14 colors with their hex codes and where each one is used.
What is the GitBook design system?
The design system on this page is gitbook.com’s, as measured on November 29, 2026: General Sans Variable Variable Bold type and 16px corners, written down as a DESIGN.md. It is not GitBook’s own documentation.
What is GitBook built with?
GitBook’s website (gitbook.com) is built with Framer, React, Cloudflare, Motion and Google Fonts. The full tech stack Sitepeel found: Framer, React, Amplitude, Cloudflare, Microsoft Clarity, Reddit Pixel, HubSpot, Motion, Google Fonts and Google Ads. Measured on November 29, 2026.
What is the GitBook DESIGN.md?
A plain-text file with GitBook’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.
How do I use it with Claude Code or Cursor?
Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.
Is this GitBook’s official design system?
No. Sitepeel measured it from gitbook.com’s public page on November 29, 2026. It is an independent analysis, not made or approved by GitBook.
Can I use GitBook’s style in my own product?
Use it to learn, prototype and compare. For a real product, make the style your own, and never copy GitBook’s logo, name, pictures or text.
How accurate are the values?
Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.




