# ClickHouse DESIGN.md

> Public preview. The complete DESIGN.md source (all 109 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

ClickHouse runs a high-contrast monochrome-plus-canary identity — a near-black charcoal canvas (#151515) with semibold Basier headlines, Inter body text, and the signature ClickHouse yellow (#FAFF69) doing triple duty as CTA fill, headline accent words, and full-bleed section backgrounds that invert the page to black-on-yellow. Cards ride on a tight dark-gray surface ramp with 1px hairlines, buttons are compact 4px-radius rectangles, and a soft ambient yellow glow occasionally blooms behind hero content.

- Website: https://clickhouse.com
- Primary color: Yellow `#FAFF69`
- Fonts: Inconsolata, Inter, basier
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/clickhouse

## Palette preview

- `error`: `#ff3621`
- `outline`: `#414141`
- `primary`: `#faff69`
- `surface`: `#151515`
- `on-error`: `#ffffff`
- `secondary`: `#c0c0c0`
- `on-primary`: `#151515`
- `on-surface`: `#f9f9f9`

## Typography preview

- `code`: Inconsolata
- `body-lg`: Inter
- `eyebrow`: basier

---

## Overview

ClickHouse's identity is **monochrome engineering with a canary signature**. The canvas is a disciplined charcoal scale (`#151515` base, stepping through `#1D1D1D`, `#282828`, `#414141`), the type is sober — semibold **Basier** headlines, **Inter** for everything else — and then the brand detonates: a highlighter **yellow `#FAFF69`** that fills CTAs, paints single accent words inside white headlines, borders the featured plan, and occasionally floods entire sections so the page inverts to black-on-yellow ("Deploy your way", the stats band, the announcement bar).

The feel is enterprise-infrastructure confident: dense but ordered, built on 1px hairline borders, 4–8px radii, and an 8px-ish spacing rhythm. Depth cues are subtle — a huge diffuse yellow ambient glow (`0 0 800px 480px` at ~7% olive) behind heroes and the yellow-bordered "Scale" card — rather than layered drop shadows. The audience is data engineers; the design says speed and precision through restraint everywhere except the yellow.

## Colors

- **Canary `#FAFF69` (`primary`):** The entire brand in one color — CTA fills ("Get started", "Start free trial"), the second line of the hero headline ("At *any scale*."), the top announcement banner, toggle-pill selected states, check marks, metric-chip text, the featured card's border + glow, and full-bleed section backgrounds. Always pairs with near-black `#151515` text.
- **Soft Canary `#F4F692` (`primary-hover`):** Lighter tint used for selected/hover states of yellow controls.
- **Olive `#4F5101` (`primary-dim`):** Canary darkened ~70% — the ghost-button border, the featured-card outline on dark, and dimmed yellow glows. It reads as "yellow at low power" against charcoal.
- **Charcoal surfaces:** `#151515` base → `#1D1D1D` cards → `#282828` inputs/raised → `#414141` strong borders; `#101010`/`#131312` sunken wells. Translucent variants (`#2B2B2B` at 50–80%) back the sticky nav and overlay cards.
- **Text ramp:** `#F9F9F9` headings-emphasis, `#FFFFFF` pure headings, `#DFDFDF` body/links, `#C0C0C0`–`#A0A0A0` muted captions and eyebrows, `#161600` warm near-black text inside yellow elements.
- **Accent red `#FF3621` (`error`):** Rare — destructive/alert moments and gradient stops only.

## Typography

- **Headlines (Basier 600):** 72px/1.0 display ("Build. Observe. Secure. *At any scale.*"), 48px page titles, 36px section headers — sentence case, tight, mostly `#FFFFFF` with a single yellow accent phrase allowed.
- **Eyebrows:** Basier or Inter 12–14px/600–700, ALL CAPS, +0.025em tracking, `#C0C0C0` — "SEE WHAT YOU CAN BUILD WITH CLICKHOUSE".
- **Body (Inter 400):** 16px/1.5 in `#DFDFDF`; 18px for ledes; 14px for dense UI and card copy.
- **Labels (Inter 500):** 14px/500 for buttons and nav; 12px/700 uppercase for micro-labels.
- **Code (Inconsolata 600):** Occasional — code snippets and technical callouts.

## Layout

- **Grid:** Centered ~1280px (80rem) container; heroes left-align headline+CTA with product art right, or center-stack. Section content grids at 2/3/4/6 columns (the use-case strip runs six hairline-separated cells).
- **Rhythm:** ~4px base — component padding at 8/12/16/24/32, section spacing at 48/64/96px.
- **Banded structure:** Dark hero → logo marquee → feature rows → yellow-bordered testimonial videos → "Deploy your way" yellow band → stats on yellow → FAQ → footer. The yellow bands are what make the page rhythm unmistakable.

## Elevation & Depth

Mostly flat with two signature depth moves: 1px hairlines (`#282828`/`#414141`, plus the olive `#4F5101` where yellow touches dark) divide everything, and an **enormous soft ambient glow** (`0 0 800px 480px`, olive-yellow at ~7% opacity) blooms behind hero sections. Standard Tailwind `shadow-lg` appears only on floating dropdowns/popovers. The featured pricing card elevates via its yellow border + glow, not a shadow.

## Shapes

- **4px (`rounded-sm`):** Primary/ghost buttons, inputs, small cards, selectors — the working radius.
- **6–8px:** Larger cards, nav link hover states, video frames (8px dominant token).
- **Pill (`9999px`):** Toggle options ("Databases"), tag chips ("BETA"), status dots.
- 2px appears on tight nested controls; nothing exceeds ~8px except pills.

## Motion & Micro-interaction

- **State changes:** Standard Tailwind 150ms `cubic-bezier(0.4, 0, 0.2, 1)` for colors/borders; 300ms for larger sweeps.
- **Ambient:** The hero's background bar-chart silhouette and glow drift subtly; logo marquees run continuously; scroll-triggered fades stagger feature grids.
- Hover on the yellow CTA lightens toward `#F4F692`; ghost buttons raise their olive border's apparent brightness; nav items get an 8px-radius dark hover pill.

## Voice & Content Strategy

- **Tone of voice:** Terse, declarative, scale-obsessed — "Build. Observe. Secure. At any scale." One-line value props with zero hedging ("Start free with $300 in credits for 30 days").
- **Capitalization:** Sentence case for headlines and buttons; ALL CAPS for eyebrows and stat labels only.
- **Terminology:** "ClickHouse Cloud", "BYOC", "Observability", "real-time analytics", "compute and storage, metered separately" — canonical product nouns; plans are "Basic / Scale / Enterprise".
- **Button and action labels:** Direct verb phrases — "Get started", "Start free cloud trial", "Contact sales", "Sign in".
- **Proof style:** Stat-forward — "100K+ developers", "3.5k+", "97.5k+", single-line benefit chips ("Blazing fast", "Developer friendly", "Cost efficient").

## Components

- **Primary CTA (`button-primary`):** `#FAFF69` fill + `#151515` Inter 14–16px/500 label + 1px canary border, 4px radius, 40–46px tall. The nav compacts it to 40px ("Get started").
- **Ghost button (`button-ghost`):** Transparent charcoal fill, white label, **1px olive `#4F5101` border**, 4px radius — reads as a dimmed-yellow outline ("Contact sales", "Observability" toggle).
- **Nav (`nav-link`):** Inter 14/500 `#DFDFDF` links on a translucent `#2B2B2B`-at-80% bar; hover takes an 8px-radius dark pill.
- **Pricing cards (`card`/`card-featured`):** `#1D1D1D` surfaces with hairlines; the recommended plan gets the canary border + ambient glow; all plan CTAs stay yellow (plans differentiate by border, not button color).
- **Toggle pill (`toggle-option`):** Canary-filled selected option vs olive-outlined unselected, in a pill track ("Databases | Observability BETA").
- **Tag chip (`chip-tag`):** Dark pill + yellow/label text — "BETA", status tags.
- **Metric chip (`chip-metric`):** Dark tile, canary icon + uppercase label — the "Why ClickHouse" grid ("Blazing fast", "Open source").
- **Input (`input-default`):** `#282828` raised fill, `#DFDFDF` text, 4px radius, 40px — search/region selectors.
- **Announcement banner (`banner-announcement`):** Full-width `#FAFF69` bar, black 14px text, arrow link — the site's top strip.

## Do's and Don'ts

- Do keep the palette monochrome + canary — no second accent hue; grays and yellow carry the whole page.
- Do set yellow-element text in `#151515` (never white on `#FAFF69`), including the announcement bar and toggle pills.
- Do use a single yellow accent phrase inside a white headline for emphasis — don't color whole headlines yellow.
- Do let full-bleed yellow bands carry black type and even dark cards — the inversion is the brand moment.
- Do use the olive `#4F5101` for yellow-adjacent borders/glows on dark — it's the approved "dimmed canary".
- Don't add a second bright accent (the blues/reds in diagrams are data-viz palette, not brand).
- Don't exceed 8px radius on containers or 4px on controls — sharp-ish engineering geometry is intentional.
- Don't rely on shadows for hierarchy — hairlines and the surface ramp do the work; the only glow is the giant ambient yellow.
- Don't sentence-case eyebrows — micro-labels stay ALL CAPS Inter/Basier 12–14px.
