Sitepeel
GitBook website (gitbook.com) as measured on November 29, 2026

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
Download DESIGN.md

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

White#FFFFFFbackground · --gitbook-widget-background-solidPage background · 5×
Snow#FAFAF9surface-container-lowRaised areas one step from the page · 2×
Mist#EFEEEDsurface-containerCards and panels · 2×
Vivid Orange 5%#FE551B0DoverlayTranslucent fill for cards and controls · 3×
Mist 70%#EFEEEDB3overlay-strongStronger translucent fill · 1×

Text

Charcoal#1C1917on-surfacePrimary text and headings · 46×
Warm Slate#57534Don-surface-variantSecondary text · 16×
Warm Slate#786B67on-surface-mutedMuted text and metadata · 21×
Warm Slate#79716Bon-surface-subtleSubtle text and placeholders · 6×
White#FFFFFFon-primaryText and icons on primary

Accents

Charcoal#1C1917primaryPrimary buttons and calls to action · 58×
Vivid Orange#FE551BsecondaryAccent in text, fills and borders · 13×
Vivid Red#F25B3AtertiaryAccent · 11×

Borders

Mist#EFEEEDoutlineBorders and dividers · 5×

GitBook fonts and type scale

5 families.

AaGeneral Sans Variable Variable BoldWeights 700General Sans Variable Variable Bold, General Sans Variable Variable Bold Placeholder, sans-serif
AaAeonik RegularWeights 400Aeonik Regular, Aeonik Regular Placeholder, sans-serif
AaGeneral SansWeights 500General Sans, General Sans Placeholder, sans-serif
AaInterWeights 400, 600Inter, Inter Placeholder, sans-serif
AaGeist MonoMonospace · Weights 600Geist Mono, monospace
headline-displayPage title (h1)GitBook45px · 700 · 1 · -0.02em
mobile 29px
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog38px · 700 · 1 · -0.02em
mobile 25px
headline-mdSub-section headingsThe quick brown fox jumps over the lazy dog32px · 700 · 1.2 · -0.02em
headline-smCard and feature titlesThe quick brown fox jumps over the lazy dog24px · 700 · 1.2 · -0.02em
title-lgSmall titlesThe quick brown fox jumps over the lazy dog20px · 700 · 1.3 · -0.02em
body-mdBody textThe quick brown fox jumps over the lazy dog15px · 400 · 1
body-lgLead paragraphsThe quick brown fox jumps over the lazy dog18px · 500 · 1.6 · -0.01em
body-smSecondary and small textThe quick brown fox jumps over the lazy dog11px · 400 · 1.18
label-lgLarge buttons and tabsThe quick brown fox jumps over the lazy dog16px · 700 · 1 · -0.03em
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog15px · 600 · 1.4 · -0.03em
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog14px · 700 · 1.6
codeCode and technical valuesconst ready = true;14px · 600 · 1.3 · -0.02em

Contrast

Text on #FFFFFF

AaAAA17.4:1
AaAAA7.6:1
AaAA5.1:1
AaAA4.7:1

Spacing

No strict grid · 61% are multiples of 4px

xs4px
sm8px
md10px
lg24px
xl40px
gutter10px

Breakpoints: 809px 809.98px 810px 1199px 1199.98px 1200px 1599px 1599.98px

Shapes

Corner radii, most used first.

lg16px · 164×
xl99px · 64×
full9999px · 40×
sm4px · 28×
md8px · 12×

Depth

Flat: no shadows measured.

GitBook UI components

Rebuilt from the measured CSS. Buttons from other sites

Get a demo
button-primaryFilled button · hover to see the measured hover state
Sign up with GitHub
button-outlineOutlined button · hover to see the measured hover state
Ask
button-ghostOutlined button
Inline link
linkInline link

Motion

Interface transitions

0.533s0.2s
linearease

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.
GitBook DESIGN.md245 lines

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
Find every font on gitbook.com with Font finder →

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%)
Get gitbook.com’s palette as CSS or Tailwind with Colors →

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
Check gitbook.com live with Tech stack →

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.

Prompt · DESIGN.md attached

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.

See the Chrome extension

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.