---
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).
