MozaikaDesign system

ClickHouse — Design System

dark · professional · medium · tailwind · confidence 92%

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; 8px 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

Per-section tokens (11)

Export: DESIGN.md

# ClickHouse — Design System

> dark, professional, medium, tailwind

## 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.

## Typography

- Heading: **Inter**
- Body: **Inter**
- h1: 96px
- h2: 36px
- body: 24px

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

## Spacing
- base unit: 8px
- scale: 4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px

## Radius
- base: 8px
- button: 4px

## Primary button
- bg `#FAFF69` · text `#151515` · radius 4px

## 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.

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;
  --text-h1: 96px;
  --text-h2: 36px;
  --text-body: 24px;
  --radius-base: 8px;
  --radius-button: 4px;
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 24px;
  --spacing-6: 32px;
  --spacing-7: 48px;
  --spacing-8: 64px;
}

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;
  --radius: 8px;
  --radius-button: 4px;
}
/* fonts: Inter — free, on Google. */