Design System Analysis of GitBook

A paper-white documentation brand where warm near-black pill buttons do the work and a single hot orange marks the key phrase of each headline, every badge and every mono eyebrow, set in General Sans at a calm medium weight.

01 — Foundations

Color Palette

Primary Ink · primary

#1c1917

the warm near-black #1c1917 of every main CTA: nav "Get a demo", hero "Start for free", "View the docs", "Read the story", the demo form Sub

On Primary · on-primary

#ffffff

white label text on primary pills and on orange badges.

GitBook Orange · accent

#fe551b

#fe551b, the only saturated brand color. Highlight words in headlines, "New" / "Most popular" badges, Geist Mono eyebrows, stat figures such

Orange Tint · accent-tint

#fff6f3

the 5% orange wash inside the "Set up GitBook with your agent" rail.

Orange Wash · accent-wash

#fff8f6

the 4% orange fill of the "Includes $20 of AI credits" chip on pricing cards.

Orange Line · accent-line

#ffddd1

the pale orange 1px border around the credits chip.

Promo Tint · promo-tint

#faf1ee

the peach fill of the footer promo cards ("Verifone", "The State of Docs Report 2026"), a 5% orange wash over the off-white footer.

Canvas · canvas

#ffffff

the white page background and the fill of cards, mockups and inputs.

Canvas Soft · canvas-soft

#fafaf9

#fafaf9, the off-white closing CTA band, the footer, the demo form card, the pricing calculator panel, the logo tiles and the announcement p

Surface Muted · surface-muted

#efeeed

#efeeed, the fill of secondary pill buttons ("Sign up with GitHub", "Talk to sales", "Get started").

Nav Pill · surface-nav-pill

#f4f3f2

the lighter translucent stone of the nav "Start for free" pill.

Chip Surface · surface-chip

#f5f5f5

the faint grey of tag chips at the foot of feature cards ("Git Sync", "GitBook Agent").

Ink · ink

#1c1917

headlines, card titles, button labels on light pills.

Ink Muted · ink-muted

#57534d

#57534d, body paragraphs, the hero subtitle, nav links, form labels and input text.

Ink Subtle · ink-subtle

#79716b

#79716b, secondary labels: the nav "Login" and "Start for free", plan descriptions ("For individuals"), pricing feature lists, testimonial a

Hairline · hairline

#efeeed

the 1px border on feature cards, the product mockup frame, logo tiles and the pricing calculator.

Hairline Strong · hairline-strong

#d9d9d9

the darker 1px outline around the "Basic needs" pricing group.

Input Border · input-border

#dddddb

the 1px border on demo form inputs and selects.

02 — Foundations

Typography

General Sans carries every heading, body line and button at a variable weight of 500, while Geist Mono appears only as small uppercase orange eyebrows.

display
General Sans — 45px / 500 / 1 / -0.9px
GitBook
headline
General Sans — 38px / 500 / 1 / -0.76px
GitBook
heading-lg
General Sans — 32px / 500 / 1.2 / -0.64px
GitBook
form-title
General Sans — 30px / 500 / 28px / -0.4px
GitBook
heading-md
General Sans — 24px / 500 / 1.2 / -0.48px
GitBook
title
General Sans — 20px / 500 / 1.3 / -0.4px
The quick brown fox jumps over the lazy dog
lead
General Sans — 18px / 500 / 1.6 / -0.18px
The quick brown fox jumps over the lazy dog
body
General Sans — 16px / 500 / 1.5 / 0
The quick brown fox jumps over the lazy dog
button
General Sans — 16px / 500 / 1 / -0.48px
The quick brown fox jumps over the lazy dog
form-label
General Sans — 16px / 400 / 1.2 / 0
The quick brown fox jumps over the lazy dog
nav-link
General Sans — 14px / 460 / 1.5 / 0.14px
The quick brown fox jumps over the lazy dog
button-sm
General Sans — 14px / 500 / 1.6 / 0
The quick brown fox jumps over the lazy dog
body-sm
General Sans — 14px / 500 / 1.6 / 0
The quick brown fox jumps over the lazy dog
chip
General Sans — 14px / 500 / 1 / -0.28px
The quick brown fox jumps over the lazy dog
input
General Sans — 14px / 200 / 1.2 / 0
The quick brown fox jumps over the lazy dog
list-item
General Sans — 13px / 500 / 1.6 / 0
The quick brown fox jumps over the lazy dog
caption
General Sans — 12px / 500 / 1.6 / 0
The quick brown fox jumps over the lazy dog
eyebrow-lg
Geist Mono — 14px / 600 / 1.3 / -0.28px
The quick brown fox jumps over the lazy dog
eyebrow
Geist Mono — 12px / 600 / 1 / 0.24px
The quick brown fox jumps over the lazy dog
03 — Components

Button Variants

button-primary

Near-black pill, the main CTA across the site.

button-secondary

Stone pill paired with the primary.

button-nav-primary

Compact nav CTA.

button-nav-secondary

Translucent stone nav pill.

button-nav-login

Text-only nav pill.

button-chip

Small off-white utility chip.

button-agent

White pill inside the orange agent rail.

button-submit

Full-width demo form submit.

04 — Components

Cards & Surfaces

Collaborate on docs like code

Sync your repo, then branch, review, and merge documentation like a PR.

Git Sync

feature-card + tag-chip

Quickstart
Get up and running fast.

product-mockup + mockup-tile

Free

For individuals

$0

pricing-group + pricing-card

Most popular

Ultimate

Includes AI credits

pricing-card-featured + credits-chip

Pricing calculator

2 months free!

pricing-calculator + badge-dashed

Claude CodeCursoragent-rail
NewSee what AI agents do with docs →

Customers

2.8x

Increase in organic search traffic

announcement-pill + badge-accent + eyebrow-label + stat-figure

“It made writing our public API documentation so much easier.”

Product Owner · View the docs

testimonial + text-link

Logo

logo-tile

Accurate docs. Better answers.

cta-band

Verifone

How Verifone increased assistant traffic after migrating.

Read the story

footer + footer-promo-card

ProductPricingnav-bar + nav-link
05 — Components

Form Elements

Contact us

text-input
select-input
06 — Foundations

Spacing Scale

An 8px-based scale from 4px inside pills to 120px between page sections, with 24px as the steady padding inside cards.

xxs
4px
xs
8px
sm
12px
md
16px
lg
24px
xl
32px
xxl
64px
section
120px
07 — Foundations

Border Radius

Every button is a 99px pill, cards and mockup frames use 16px, inputs 10px and the demo form card 20px.

0px
none
Pricing cards inside their outlined group
4px
xs
Nav links, credits chip
8px
sm
Nav bar, logo tiles, mockup tiles
10px
md
Form inputs and selects
12px
lg
Footer promo cards
16px
xl
Feature cards, product mockup frame, pricing groups…
20px
xxl
Demo form card
99px
pill
Every pill button and tag chip
9999px
full
Badges, the Copy prompt chip, the agent rail, the…
08 — Foundations

Elevation & Depth

Level 0 — flat, 1px hairline. Feature cards, logo tiles, pricing calculator.
Level 1 — pill lift. Announcement pill above the hero.
Level 2 — mockup shadow. Framed product screenshot.
Level 3 — float. Illustration panels in split sections.
09 — Responsive

Responsive Behavior

NameWidthKey changes
Mobile≤ 809pxSingle column; nav collapses to logo plus menu toggle; pricing plans stack
Tablet810–1199pxGrids drop to two columns; split sections stack illustration under copy
Desktop1200–1599pxFull layout: four-up feature cards, two-column splits
Desktop large≥ 1600pxContent column stays centred at its max width
375
810
1200
1600

Touch targets: main pill buttons are 38px tall, nav pills 32px and inputs 40px; keep button padding intact when stacking. Collapsing: four-up feature cards and logo grids fall to two and then one column, split sections stack with copy first, the two pricing groups stack vertically, and the nav links collapse behind a menu toggle while the Get a demo pill stays visible.