MozaikaDesign system

ClickHouse — Design System

dark · professional · medium · tailwind · confidence 92% · deep decode

The full decoded design system for ClickHouse: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.

Open in Mozaika →

This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/clickhouse.

Tokens

ClickHouse's decoded design system: background #131312, text #ECECEE, accent #FAFF69, link #161600, primary #FAFF69; type scale h1 96px / h2 36px / body 24px; 4px spacing base; 8px base radius. The single interactive/action color is #FAFF69 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#131312
surface#20201F
border#333333
text#ECECEE
text_muted#99999A
primary#FAFF69
accent#FAFF69
link#161600
secondary#4F5101
button_bg#FAFF69
button_text#151515

Using these colors

Typography

Spacing

Radii

Motion

Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).

Native design tokens

TokenValue
--color-neutral-750lab(11.6695% -.575654 2.20573)
--color-neutral-600lab(40.7356% -.0000149012 .00000596046)
--color-neutral-500lab(53.5884% 0 0)
--color-amber-600lab(60.3514% 40.5624 87.1228)
--color-primary-900lab(6.80894% -2.73491 10.0176)
--color-neutral-300lab(77.7048% -.0000298023 0)
--color-primary-400lab(93.4022% -17.6904 90.034)
--color-red-200lab(86.017% 19.8815 7.75869)
--color-neutral-200lab(88.8292% 0 -.0000119209)
--color-blue-300lab(77.5052% -6.4629 -36.42)

…and 104 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: h1.animate-fade-updiv.absolutep.animate-fade-updiv.animate-fade-up×2 → div.w-fulldiv.cc-window

Overlay recipe (measured)

dialog panel: #141414 · radius 10px

Responsive (measured)

Per-section tokens (11)

Export: DESIGN.md

# ClickHouse — Design System

> dark, professional, medium, tailwind — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#131312` |
| surface | `#20201F` |
| border | `#333333` |
| text | `#ECECEE` |
| text_muted | `#99999A` |
| primary | `#FAFF69` |
| accent | `#FAFF69` |
| link | `#161600` |
| secondary | `#4F5101` |
| button_bg | `#FAFF69` |
| button_text | `#151515` |

**Using these colors**

- **Action color** `#FAFF69` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `primary`, `accent`, `button_bg` are all `#FAFF69` — one role, not several (your action color).
- **accent** `#FAFF69` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed.
- **link** `#161600` — fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference).
- **secondary** `#4F5101` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
- **Page coverage** (full-page screenshot pixels): `#131312` 49.2% · `#282826` 43.1% · `#797E6F` 7.7%

## Typography

- Heading: **Inter**
- Body: **Inter**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 96px / 600 · lh 96px |
| h2 | 36px / 600 · lh 45px |
| h3 | 24px / 400 · lh 36px |
| body | 16px / 400 · lh 24px |
| small | 14px / 500 · lh 18px |
| eyebrow | 14px / 600 · tracking 0.35px |

- Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** Inter — free, on Google.

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 2px, 5px, 6px, 8px, 10px, 12px, 16px, 24px, 32px, 40px — snap all gaps/padding to these
- section rhythm: 96px top/bottom padding per section (measured)

## Radius
- base: 8px
- button: 4px
- card: 8px
- pill: 9999px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#166534` / `#FFFFFF` | 1px solid rgb(20, 20, 20) | 4px | 12px 16px 12px 16px | 400 14px | none |
| secondary | `lab(97.5527 -15.3436 68.8452)` / `lab(6.77022 -0.00000745058 0)` | 1px solid lab(97.5527 -15.3436 68.8452) | 4px | 10px 16px 10px 16px | 500 14px | none |

**States (measured, not guessed)**

- primary hover: background `#14532D`
- primary focus: outline `1px solid rgb(20, 20, 20)`
- secondary hover: border `1px solid lab(93.4022 -17.6904 90.034)` · background `lab(93.4022 -17.6904 90.034)`

## Motion
- durations: 150ms (dominant) · 300ms · 500ms
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `ease`
- animated properties: color, background-color, border-color, outline-color

Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion.

## Their own tokens (verbatim from :root)

| Token | Value |
|-------|-------|
| `--color-neutral-750` | `lab(11.6695% -.575654 2.20573)` |
| `--color-neutral-600` | `lab(40.7356% -.0000149012 .00000596046)` |
| `--color-neutral-500` | `lab(53.5884% 0 0)` |
| `--color-amber-600` | `lab(60.3514% 40.5624 87.1228)` |
| `--color-primary-900` | `lab(6.80894% -2.73491 10.0176)` |
| `--color-neutral-300` | `lab(77.7048% -.0000298023 0)` |
| `--color-primary-400` | `lab(93.4022% -17.6904 90.034)` |
| `--color-red-200` | `lab(86.017% 19.8815 7.75869)` |
| `--color-neutral-200` | `lab(88.8292% 0 -.0000119209)` |
| `--color-blue-300` | `lab(77.5052% -6.4629 -36.42)` |
| `--color-yellow-400` | `lab(83.2664% 8.65132 106.895)` |
| `--color-primary-300` | `lab(97.5527% -15.3436 68.8452)` |

_…and 102 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 1280px · common grid: 2-col
- nav: 73px sticky · backdrop blur(8px) · border-bottom 1px solid oklab(0.999994 0.0000455678 0.0000200868 / 0.05) · bg oklab(0.1957 -0.0000019595 0.00000458956 / 0.8)

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 73 | 574 | — | — | 0/48 | — |
| 648 | 338 | — | — | 80/48 | — |
| 986 | 569 | 4 | 16 | 64/0 | — |
| 1667 | 1995 | 2 | 48 | 0/0 | 42/58 |
| 3758 | 960 | — | — | 96/96 | — |

## Motion choreography (measured)
Load order: `h1.animate-fade-up` @0ms → `div.absolute` @2ms → `p.animate-fade-up` @79ms → `div.animate-fade-up`×2 @270ms → `div.w-full` @641ms → `div.cc-window` @1536ms
- `h1.animate-fade-up` — opacity 0→1 · transform translateY(8px)→translateY(0px) — 500ms ease
- `p.animate-fade-up` — opacity 0→1 · transform translateY(8px)→translateY(0px) — 500ms ease (delay 200ms)
- `div.animate-fade-up` ×2 — opacity 0→1 · transform translateY(8px)→translateY(0px) — 500ms ease (delay 400ms)
- `div.absolute` — opacity 1→1 — 2000ms cubic-bezier(0.4, 0, 0.6, 1) · loops
- overlay dialog (auto-opened): panel #141414 · r 10px · border 1px solid rgb(57, 57, 57)

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- card ×4: pad 0px 0px 0px 0px · r 8px · border 1px solid oklab(0.375299 -0.00000376999 0.00000882149 / 0.8) · shadow  · bg oklab(0.1957 -0.0000019595 0.00000458956 / 0.5)
  - hover: box-shadow `` · font-weight `400` · letter-spacing `normal`
- link: lab(97.5527 -15.3436 68.8452) · no underline

## Responsive (measured)
- breakpoints: 330px · 416px · 528px · 549px · 768px · 930px
- mobile (390px): hero 24px · body 16px · nav: inline

## How to apply
Paste the Tailwind `@theme` (or CSS variables) as your base, then build each
section to its spec — verify every color, radius, and font against these tokens.
Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.

---

> **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/clickhouse

Export: Tailwind v4 (@theme)

@theme {
  /* action color #FAFF69 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #131312;
  --color-surface: #20201F;
  --color-border: #333333;
  --color-text: #ECECEE;
  --color-text-muted: #99999A;
  --color-primary: #FAFF69;  /* primary brand / action color. */
  --color-accent: #FAFF69;  /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
  --color-link: #161600;  /* fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --color-secondary: #4F5101;  /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
  --color-button-bg: #FAFF69;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #151515;
  /* fonts: Inter — free, on Google. */
  --font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* measured weights: 400, 500, 600, 700 — use these, not 400/600 */
  --text-hero: 96px; --font-weight-hero: 600; --leading-hero: 96px;
  --text-h2: 36px; --font-weight-h2: 600; --leading-h2: 45px;
  --text-h3: 24px; --font-weight-h3: 400; --leading-h3: 36px;
  --text-body: 16px; --font-weight-body: 400; --leading-body: 24px;
  --text-small: 14px; --font-weight-small: 500; --leading-small: 18px;
  --text-eyebrow: 14px; --font-weight-eyebrow: 600; --tracking-eyebrow: 0.35px;
  --radius-base: 8px;
  --radius-button: 4px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --color-btn-hover: #14532D;  /* measured primary hover fill */
  --outline-focus: 1px solid rgb(20, 20, 20);  /* measured focus ring */
  --ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --section-y: 96px;  /* per-section vertical padding (measured) */
  --spacing: 4px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 5, 6, 8, 10, 12, 16, 24, 32, 40px */
}

Export: CSS variables

:root {
  /* action color #FAFF69 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #131312;
  --surface: #20201F;
  --border: #333333;
  --text: #ECECEE;
  --text-muted: #99999A;
  --primary: #FAFF69;  /* primary brand / action color. */
  --accent: #FAFF69;  /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
  --link: #161600;  /* fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --secondary: #4F5101;  /* optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. */
  --button-bg: #FAFF69;  /* primary-button fill — the main call-to-action color. */
  --button-text: #151515;
  --font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-hero: 96px; --weight-hero: 600; --leading-hero: 96px;
  --text-h2: 36px; --weight-h2: 600; --leading-h2: 45px;
  --text-h3: 24px; --weight-h3: 400; --leading-h3: 36px;
  --text-body: 16px; --weight-body: 400; --leading-body: 24px;
  --text-small: 14px; --weight-small: 500; --leading-small: 18px;
  --text-eyebrow: 14px; --weight-eyebrow: 600; --tracking-eyebrow: 0.35px;
  --radius: 8px;
  --radius-button: 4px;
  --radius-card: 8px;
  --radius-pill: 9999px;
  --btn-bg-hover: #14532D;
  --focus-ring: 1px solid rgb(20, 20, 20);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --section-y: 96px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --color-neutral-750: lab(11.6695% -.575654 2.20573);
  --color-neutral-600: lab(40.7356% -.0000149012 .00000596046);
  --color-neutral-500: lab(53.5884% 0 0);
  --color-amber-600: lab(60.3514% 40.5624 87.1228);
  --color-primary-900: lab(6.80894% -2.73491 10.0176);
  --color-neutral-300: lab(77.7048% -.0000298023 0);
  --color-primary-400: lab(93.4022% -17.6904 90.034);
  --color-red-200: lab(86.017% 19.8815 7.75869);
  --color-neutral-200: lab(88.8292% 0 -.0000119209);
  --color-blue-300: lab(77.5052% -6.4629 -36.42);
  --color-yellow-400: lab(83.2664% 8.65132 106.895);
  --color-primary-300: lab(97.5527% -15.3436 68.8452);
}
/* fonts: Inter — free, on Google. */