Overview#
GitBook presents documentation software as something calm, exact and quietly confident. The pages are paper-white ({colors.canvas}) with generous vertical air, and almost everything on them is drawn in a warm stone family: near-black {colors.ink} for headlines and the main buttons, {colors.ink-muted} for body copy, {colors.ink-subtle} for secondary labels and {colors.surface-muted} for soft fills and hairlines. Against that restraint, one hot orange ({colors.accent}) does every bit of signalling: the closing phrase of the hero headline ("Then fixes it."), the tiny "New" and "Most popular" badges, the mono eyebrows above each section, the outline of the featured pricing column and the orange ribbon sculpture that wraps the hero product mockup.
The type is General Sans at a medium weight throughout, set large and tightly tracked for headlines (45px display with -0.9px tracking) and comfortable for body text. A second voice, Geist Mono in uppercase, appears only as small orange eyebrow labels ("CUSTOMERS", "PLANS", "GIT SYNC"), which gives the marketing site a faint terminal flavour that fits a docs-as-code product. Buttons are fully rounded pills, cards use a 16px radius with a 1px stone hairline, and product screenshots sit in a white frame with a soft drop shadow.
Density is moderate: sections are separated by 120px or more, content is held to a centred ~1160px column, and grids rarely exceed four columns. The page rhythm is white for nearly the whole scroll, then a single off-white {colors.canvas-soft} band for the closing call to action that runs straight into an off-white footer. Pricing keeps the same white canvas and groups its four plans into two outlined containers; the demo page splits into copy on the left and an off-white form card set over an orange ribbon image on the right.
Key Characteristics:
- Warm near-black pill buttons (
{colors.primary}) as the main action, with pale stone pills ({colors.surface-muted}) as the secondary - One accent orange (
{colors.accent}) reserved for highlight words, badges, mono eyebrows, stat figures and the featured pricing outline - General Sans at weight 500 for everything from 45px display to 12px captions, with negative tracking on headings
- Geist Mono uppercase eyebrows in orange introduce sections
- 16px-radius white cards with a 1px
{colors.hairline}border, never heavy shadows - Framed docs-site mockups (white window with traffic-light dots) wrapped by an orange 3D ribbon
- White page body, one off-white closing band, off-white footer
Colors#
Brand & Accent#
- Primary Ink (
{colors.primary}): 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 Submit button. - On Primary (
{colors.on-primary}): white label text on primary pills and on orange badges. - GitBook Orange (
{colors.accent}): #fe551b, the only saturated brand color. Highlight words in headlines, "New" / "Most popular" badges, Geist Mono eyebrows, stat figures such as "2.8x", the featured pricing column outline, the agent rail outline and the underline under inline text links. - Orange Tint (
{colors.accent-tint}): the 5% orange wash inside the "Set up GitBook with your agent" rail. - Orange Wash (
{colors.accent-wash}): the 4% orange fill of the "Includes $20 of AI credits" chip on pricing cards. - Orange Line (
{colors.accent-line}): the pale orange 1px border around the credits chip. - Promo Tint (
{colors.promo-tint}): the peach fill of the footer promo cards ("Verifone", "The State of Docs Report 2026"), a 5% orange wash over the off-white footer.
Surface#
- Canvas (
{colors.canvas}): the white page background and the fill of cards, mockups and inputs. - Canvas Soft (
{colors.canvas-soft}): #fafaf9, the off-white closing CTA band, the footer, the demo form card, the pricing calculator panel, the logo tiles and the announcement pill. - Surface Muted (
{colors.surface-muted}): #efeeed, the fill of secondary pill buttons ("Sign up with GitHub", "Talk to sales", "Get started"). - Nav Pill (
{colors.surface-nav-pill}): the lighter translucent stone of the nav "Start for free" pill. - Chip Surface (
{colors.surface-chip}): the faint grey of tag chips at the foot of feature cards ("Git Sync", "GitBook Agent").
Text#
- Ink (
{colors.ink}): headlines, card titles, button labels on light pills. - Ink Muted (
{colors.ink-muted}): #57534d, body paragraphs, the hero subtitle, nav links, form labels and input text. - Ink Subtle (
{colors.ink-subtle}): #79716b, secondary labels: the nav "Login" and "Start for free", plan descriptions ("For individuals"), pricing feature lists, testimonial attribution.
Semantic#
- Hairline (
{colors.hairline}): the 1px border on feature cards, the product mockup frame, logo tiles and the pricing calculator. - Hairline Strong (
{colors.hairline-strong}): the darker 1px outline around the "Basic needs" pricing group. - Input Border (
{colors.input-border}): the 1px border on demo form inputs and selects.
Brand Gradient#
The featured "Ultimate" pricing card carries a diagonal orange wash: linear-gradient(225deg, {colors.accent} at 10% opacity 3%, transparent 61%), so the top-right corner glows faintly orange and fades to white by the middle of the card. No other gradient is used as chrome.
Typography#
Font Family#
- General Sans (Indian Type Foundry, variable): the single family for headlines, body, buttons, nav and captions. It renders at a variable weight of 500 almost everywhere (460 for nav links), which gives headlines a modern, even colour rather than a bold one.
- Geist Mono: uppercase eyebrow labels in orange, and small labels inside product mockups.
Hierarchy#
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|---|---|---|---|---|---|
{typography.display} | 45px | 500 | 1 | -0.9px | Hero headline, closing band headline |
{typography.headline} | 38px | 500 | 1 | -0.76px | Centred section headings, "How much will it cost?" |
{typography.heading-lg} | 32px | 500 | 1.2 | -0.64px | Split-section headings beside illustrations |
{typography.form-title} | 30px | 500 | 28px | -0.4px | "Contact us" form title |
{typography.heading-md} | 24px | 500 | 1.2 | -0.48px | Pricing group titles, plan prices, testimonial quotes |
{typography.title} | 20px | 500 | 1.3 | -0.4px | Card titles, plan names, stat figures |
{typography.lead} | 18px | 500 | 1.6 | -0.18px | Hero subtitle |
{typography.body} | 16px | 500 | 1.5 | 0 | Body paragraphs, card descriptions |
{typography.button} | 16px | 500 | 1 | -0.48px | 38px pill buttons, tag chips |
{typography.form-label} | 16px | 400 | 1.2 | 0 | Demo form labels |
{typography.nav-link} | 14px | 460 | 1.5 | 0.14px | Top navigation links |
{typography.button-sm} | 14px | 500 | 1.6 | 0 | Nav pills, agent buttons |
{typography.body-sm} | 14px | 500 | 1.6 | 0 | Small body, footer, stat captions |
{typography.chip} | 14px | 500 | 1 | -0.28px | "Copy prompt" chip |
{typography.input} | 14px | 200 | 1.2 | 0 | Input and select text |
{typography.list-item} | 13px | 500 | 1.6 | 0 | Pricing feature lists |
{typography.caption} | 12px | 500 | 1.6 | 0 | Badges, trial notes, "Trusted by" |
{typography.eyebrow-lg} | 14px | 600 | 1.3 | -0.28px | Page eyebrow ("PLANS"), uppercase |
{typography.eyebrow} | 12px | 600 | 1 | 0.24px | Section eyebrows ("CUSTOMERS", "GIT SYNC"), uppercase |
Principles#
- One sans family at one weight: hierarchy comes from size and tracking, not from bold. Headlines stay at 500 and tighten to -2% tracking.
- Colour is the second hierarchy tool:
{colors.ink}for headings,{colors.ink-muted}for body,{colors.ink-subtle}for anything secondary. - Orange appears in type only as the highlight phrase of a headline, the mono eyebrow and stat figures, never as body text.
- Display lines are set solid (line height 1), body copy opens up to 1.5–1.6.
Note on Font Substitutes#
General Sans is distributed by Fontshare rather than Google Fonts. Where it is unavailable, a geometric grotesk with similar proportions such as Manrope or Inter at weight 500 is the closest substitute; keep the negative tracking on headings. Geist Mono is freely available.
Layout#
Spacing System#
An 8px-based scale: {spacing.xxs} 4px and {spacing.xs} 8px inside pills and chips, {spacing.sm} 12px and {spacing.md} 16px for button padding and small card padding, {spacing.lg} 24px for card and pricing-card padding, {spacing.xl} 32px for panel padding, {spacing.xxl} 64px for the footer top, and {spacing.section} 120px for the gap between page sections and the top padding under the fixed nav. The closing CTA band uses an even larger 200px of vertical padding.
Grid & Container#
- Content column of about 1160px, centred, with 40px side gutters at 1280–1440px.
- The navigation floats as a 1176px rounded bar (48px tall) at the top of the page.
- Feature cards run in a four-up row; customer logos in a four-up tile grid; enterprise benefits in a two-column layout around a central illustration.
- Split sections alternate copy and illustration left and right in two equal columns.
- Pricing places four plans in two outlined groups of two ("Basic needs", "Growing needs & AI workflows").
Whitespace Philosophy#
Whitespace is the main separator. Sections are not boxed or tinted; they are held apart by 120px or more of white, and only the closing CTA band and footer switch to {colors.canvas-soft}. Inside cards the padding is a steady 24px, so the white margins read as part of the calm, document-like voice.
Responsive Strategy#
Breakpoints#
| Name | Width | Behaviour |
|---|---|---|
| Desktop large | ≥ 1600px | Content column stays centred at its max width |
| Desktop | 1200px – 1599px | Full layout: four-up feature cards, two-column splits |
| Tablet | 810px – 1199px | Grids drop to two columns, splits stack illustration under copy |
| Mobile | ≤ 809px | Single column, nav collapses to logo plus menu toggle |
Touch Targets#
Main pill buttons are 38px tall and nav pills 32px; inputs are 40px. On touch screens the 38px pill is the smallest primary target, so keep button padding intact when stacking.
Collapsing Strategy#
The four-up feature card row and logo grid fall to two and then one column. Split sections stack with copy first. The two pricing groups stack vertically, each group keeping its two plans side by side until mobile, where they stack too. The nav links collapse behind a menu toggle while the "Get a demo" pill remains visible.
Image Behavior#
Product mockups and the orange ribbon artwork scale with the column width; the ribbon is decorative and may crop at the viewport edges. Customer logos sit centred in fixed-height tiles.
Elevation & Depth#
| Level | Treatment | Use |
|---|---|---|
| 0 Flat | No shadow, 1px {colors.hairline} border | Feature cards, logo tiles, pricing calculator |
| 1 Pill lift | 0 1px 5px rgba(0,0,0,0.05) | Announcement pill above the hero |
| 2 Mockup | 0 4px 12px rgba(0,0,0,0.15) | Framed product screenshot under the hero |
| 3 Float | 0 3px 97px rgba(0,0,0,0.08) | Illustration panels in split sections |
Decorative Depth#
The hero mockup is wrapped by a glossy orange 3D ribbon that passes behind and in front of the window, the strongest depth cue on the site. Illustrations use dotted orange connector lines and small white rounded icon tiles with faint shadows, and the closing band carries a very light embossed GitBook logo mark in the background.
Shapes#
Border Radius Scale#
| Token | Value | Use |
|---|---|---|
{rounded.none} | 0px | Pricing cards inside their outlined group |
{rounded.xs} | 4px | Nav links, credits chip |
{rounded.sm} | 8px | Nav bar, logo tiles, mockup tiles |
{rounded.md} | 10px | Form inputs and selects |
{rounded.lg} | 12px | Footer promo cards |
{rounded.xl} | 16px | Feature cards, product mockup frame, pricing groups, calculator |
{rounded.xxl} | 20px | Demo form card |
{rounded.pill} | 99px | Every pill button and tag chip |
{rounded.full} | 9999px | Badges, the Copy prompt chip, the agent rail, the announcement pill |
Photography Geometry#
There is almost no photography. Avatars in testimonials and illustrations are circular; customer logos are monochrome marks in 8px-radius tiles; the demo page uses a 16px-radius panel filled with the orange ribbon artwork.
Components#
Buttons#
button-primary: the main CTA. A {colors.primary} pill with {colors.on-primary} label in {typography.button}, {rounded.pill}, padding 10px 14px 12px, 38px tall, usually followed by a small arrow. Used for "Start for free", "View the docs", "Get a demo", "Read the story", "View all".
button-secondary: the paired light action. A {colors.surface-muted} pill with {colors.ink} label, same type, radius, padding and height as the primary. "Sign up with GitHub", "Talk to sales", the Free plan's "Get started".
button-nav-primary: the nav "Get a demo" pill: {colors.primary} fill, {colors.on-primary} label in {typography.button-sm}, padding 8px 20px, 32px tall.
button-nav-secondary: the nav "Start for free" pill: {colors.surface-nav-pill} fill, {colors.ink-subtle} label, padding 10px 15px, 32px tall.
button-nav-login: the nav "Login" text pill: no fill, {colors.ink-subtle} label, padding 10px 15px.
button-chip: the small "Copy prompt" control: {colors.canvas-soft} fill, {colors.ink-muted} label in {typography.chip}, padding 7px 12px, 28px tall.
button-agent: white pills inside the agent rail ("Claude Code", "Codex", "Cursor"): {colors.canvas} fill, {colors.ink} label with a product icon, {typography.button-sm}, padding 12px 16px, 38px tall.
button-submit: the demo form's full-width Submit: {colors.primary} fill, {colors.on-primary} label in {typography.caption}, {rounded.pill}, 40px tall.
Cards & Containers#
feature-card: white {colors.canvas} card, {rounded.xl}, 24px padding, 1px {colors.hairline} border, no shadow. A small icon tile at the top, a {typography.title} heading, {typography.body} description in {colors.ink-muted}, and a tag chip at the foot.
tag-chip: the chip at the foot of a feature card ("Git Sync", "Insights"): {colors.surface-chip} fill, {colors.ink} label in {typography.button}, {rounded.pill}, padding 10px 14px, 36px tall.
logo-tile: customer logo tiles on pricing: {colors.canvas-soft} fill, 1px {colors.hairline} border, {rounded.sm}, logo centred.
testimonial: a quote in {typography.heading-md} {colors.ink} beside a small off-white avatar card, with attribution in {colors.ink-subtle} and a button-primary below.
stat-figure: the enterprise impact row: a small orange square marker, the figure ("2.8x", "~30%") in {colors.accent} {typography.title}, and a two-line {typography.body-sm} caption in {colors.ink}, separated by thin vertical hairlines.
cta-band: the closing "Accurate docs. Better answers." band: full-width {colors.canvas-soft}, 200px vertical padding, centred {typography.display} headline, a muted subtitle and a primary plus secondary pill pair.
footer: {colors.canvas-soft} footer, padding 64px 40px 32px, with Product / Solutions / Resources groups, orange Geist Mono column headers and {typography.body-sm} links in {colors.ink-muted}.
footer-promo-card: peach {colors.promo-tint} cards in the footer's right column, {rounded.lg}, 16px padding, a title, a short description and an orange-underlined text link.
Inputs & Forms#
form-card: the demo "Contact us" container: {colors.canvas-soft} fill, {rounded.xxl}, horizontal padding 24px, title in {typography.form-title}.
form-label: {colors.ink-muted} labels in {typography.form-label} above each field, with an asterisk for required fields.
text-input: white {colors.canvas} field, 1px {colors.input-border} border, {rounded.md}, 10px padding, 40px tall, text in {typography.input} {colors.ink-muted}.
select-input: the "Company size" select, styled exactly like the text input with a native chevron.
Navigation#
nav-bar: a floating white bar ({colors.canvas} at 90% opacity), {rounded.sm}, padding 8px 16px, 48px tall. Logo left, centred links (Product, Solutions, Resources with chevrons; Enterprise, Pricing), and Login / Start for free / Get a demo on the right.
nav-link: {colors.ink-muted} labels in {typography.nav-link}, {rounded.xs}, padding 3px 8px 4px.
text-link: inline links in body copy ("Contact our sales team", "Claude", "Read the story") stay {colors.ink} in {typography.body} and carry a 1px {colors.accent} underline.
Signature Components#
announcement-pill: the pill above the hero headline: {colors.canvas-soft} fill, {typography.body-sm} text in {colors.ink-muted}, {rounded.full}, padding 5px 8px 5px 6px, 32px tall, a 1px hairline and a faint lift shadow, opening with an orange "New" badge and ending with an arrow.
badge-accent: small orange badges ("New", "Most popular", "Agent traffic tracker"): {colors.accent} fill, {colors.on-primary} text in {typography.caption}, {rounded.full}, padding 1px 6px 2px 7px, 22px tall.
badge-dashed: the "2 months free!" tag next to the billing toggle: no fill, a 1px dashed {colors.accent} outline, {colors.ink} text in {typography.caption}, {rounded.full}, padding 3px 10px.
eyebrow-label: Geist Mono uppercase labels in {colors.accent} and {typography.eyebrow} above section headings.
agent-rail: the "Set up GitBook with your agent" selector: a 70px pill track in {colors.accent-tint} with a 1px {colors.accent} outline holding three white button-agent pills.
product-mockup: a framed docs-site screenshot: {colors.canvas} window, {rounded.xl}, 1px {colors.hairline} border, traffic-light dots in the title bar and the level-2 mockup shadow, wrapped by the orange ribbon.
mockup-tile: the cards inside the mockup ("Quickstart", "Security"): {colors.canvas} fill, 1px {colors.hairline} border, {rounded.sm}, a warm grey illustration area with dotted orange connectors above a title and caption.
pricing-group: the outlined container that holds two plans: {rounded.xl}, 1px {colors.hairline-strong} outline, group title in {typography.heading-md} above it.
pricing-card: one plan column inside a group: {colors.canvas}, {rounded.none}, 24px padding, plan name in {typography.title}, description in {colors.ink-subtle}, price in {typography.heading-md}, a full-width pill CTA, then a checklist in {typography.list-item}.
pricing-card-featured: the "Ultimate" plan: same layout with a 1px {colors.accent} outline, {rounded.xl} on its outer corners, the brand gradient wash from the top right, a "Most popular" badge-accent and a button-primary CTA.
credits-chip: the "Includes $20 of AI credits" strip on paid plans: {colors.accent-wash} fill, 1px {colors.accent-line} border, {rounded.xs}, padding 4px 4px 4px 8px, sparkle icon and {typography.caption} text.
pricing-calculator: the "Pricing calculator" panel: {colors.canvas-soft} fill, 1px {colors.hairline} border, {rounded.xl}, padding 32px 28px, with plan selector cards, quantity steppers and a white total-per-month summary.
Do's and Don'ts#
Do#
- Use
{colors.primary}pills for the one main action in a section and pair them with a{colors.surface-muted}pill for the alternative. - Keep all buttons, badges and chips fully rounded (
{rounded.pill}for buttons,{rounded.full}for badges). - Reserve
{colors.accent}for highlight words, badges, eyebrows, stat figures and the featured pricing outline. - Set headlines in General Sans 500 with negative tracking; never bold them.
- Introduce sections with a Geist Mono uppercase eyebrow in orange.
- Border cards with a 1px
{colors.hairline}and leave them shadowless. - Separate sections with white space, saving
{colors.canvas-soft}for the closing band, footer and form cards. - Show the product inside a white, softly shadowed window frame.
Don't#
- Don't use orange as a button fill: the main CTA is near-black.
- Don't add gradients beyond the faint orange wash on the featured plan.
- Don't use square or slightly rounded buttons; pills only.
- Don't set body text in
{colors.ink}; body copy is{colors.ink-muted}. - Don't tint whole sections in colour; the page stays white until the closing band.
- Don't stack heavy shadows on cards; depth belongs to mockups and illustrations.
- Don't mix in a second display typeface; General Sans carries every heading.