---
protocol: uifino/design-md@2.0
name: "PostHog Design System"
slug: "posthog.com"
url: "https://posthog.com"
platform: "website"
category: "DevTools"
fit_for: ["Product Analytics", "Open-Source Tools", "Playful Brands", "Dev Communities"]
avoid_for: ["Formal Banking", "Luxury Fashion", "Stealth Dark Terminals"]
typography:
  display: "RoundHog"
  open_alternative: "Plus Jakarta Sans + Source Code Pro"
  body: "RoundHog"
  mono: "Source Code Pro"
  headline_tracking: "-0.025em"
tokens:
  default_radius: "8px"
  radius_ladder: ["6px", "8px", "12px", "16px"]
  spacing_px: [4, 8, 12, 16, 24, 36, 56, 80]
colors:
  light:
    canvas: "#EEEFE9"
    surface: "#FDFDF8"
    elevated: "#D3DAC6"
    border: "#BFC1B7"
    ink: "#111827"
    muted: "#65675E"
    accent: "#CD8407"
    accent_foreground: "#111111"
  dark:
    canvas: "#141416"
    surface: "#1D1F1B"
    elevated: "#262823"
    border: "#383B33"
    ink: "#F4F1EA"
    muted: "#A6A89E"
    accent: "#EB9D2A"
    accent_foreground: "#111111"
---

# PostHog — DESIGN.md Protocol

## 1. Visual Direction & Fit
Frames a #D3DAC6 sage OS window and warm-parchment (#FDFDF8 / #EEEFE9) cards over meadow wallpaper and desktop shortcut icons, combining 36px/800 RoundHog headlines, tactile #CD8407 amber buttons, vivid #B62AD9 demo tabs, and nostalgic PostHog 3000 box art.

- **Best Suited For**: Product Analytics · Open-Source Tools · Playful Brands · Dev Communities
- **Avoid Using For**: Formal Banking · Luxury Fashion · Stealth Dark Terminals

## 2. Surface & Color Hierarchy
- **Dark Mode**: Canvas `#141416` · Surface `#1D1F1B` · Border `1px solid #383B33` · Ink `#F4F1EA` · Accent `#EB9D2A`
- **Light Mode**: Canvas `#EEEFE9` · Surface `#FDFDF8` · Border `1px solid #BFC1B7` · Ink `#111827` · Accent `#CD8407`

## 3. Typography, Geometry & Spacing
- **Display / Body**: `RoundHog` (Open-source alternative: `Plus Jakarta Sans + Source Code Pro`), tracking `-0.025em`.
- **Monospace**: `Source Code Pro` with `font-variant-numeric: tabular-nums`.
- **Radius & Rhythm**: Default radius `8px` (ladder: 6px, 8px, 12px, 16px), spacing `4px · 8px · 12px · 16px · 24px · 36px · 56px · 80px`.

## 4. Measured Live DOM Audit

### Measured Color Area Share
| Role | CSS Variable | Hex | Share |
| :--- | :--- | :--- | :--- |
| Warm Parchment Card Surface | `--brand-surface` | `#FDFDF8` | 22.3% |
| Muted Sage Panel Surface | `--brand-elevated` | `#E5E7E0` | 19.8% |
| Warm Off-White Canvas | `--brand-canvas` | `#EEEFE9` | 17.9% |
| Sage OS Window Frame | `--brand-window` | `#D3DAC6` | 12.6% |
| Pure White Interactive Panel | `--brand-panel` | `#FFFFFF` | 7.5% |
| Vivid Magenta Tab Accent | `--brand-magenta` | `#B62AD9` | 6.5% |
| Tactile Amber Primary CTA | `--brand-accent` | `#CD8407` | 3.5% |
| Deep Charcoal Ink & Mockup | `--brand-ink` | `#111827` | 5.2% |
| Olive-Gray Structural Border | `--brand-border` | `#BFC1B7` | 4.7% |

### Measured Typography & Free Open-Source Alternatives
| Level | Detected Font | Free Alternative | Size / Weight / Line-Height / Tracking |
| :--- | :--- | :--- | :--- |
| H1 Hero | RoundHog | `Plus Jakarta Sans` | 36px · 800 · 40px (1.11) · -0.9px (-0.025em) |
| H2 Section | RoundHog | `Plus Jakarta Sans` | 30px · 700 · 40px (1.33) · -0.75px (-0.025em) |
| Body Copy | RoundHog | `Plus Jakarta Sans` | 15px · 500 · 22.5px (1.50) · normal |
| Code & Meta | Source Code Pro | `Source Code Pro` | 13px · 500 · 18.85px (1.45) · normal |

### Component Geometry & Surface Physics (Container Max Width: `979px`)
- **Tactile Amber Primary CTA**: radius `8px` · border `1px solid #B17816` · shadow `0 3px 0 #B17816 (tactile bottom lip)` · height: 47px (hero) / 32px (nav) · bg: #CD8407 · ink: #111111
- **Sage OS Window & Parchment Cards**: radius `12px` · border `1px solid #BFC1B7` · shadow `0 12px 32px rgba(17, 24, 39, 0.12)` · window: #D3DAC6 · card: #FDFDF8 · content max-width: 979px
- **Floating Retro OS Menu Bar**: radius `8px` · border `1px solid rgba(191, 193, 183, 0.85)` · shadow `0 2px 8px rgba(0, 0, 0, 0.06)` · height: 56px · bg: rgba(211, 218, 198, 0.92)

### Interactive Hover Transitions
- **Amber Primary Button**: Rest (`#CD8407` / border `#B17816` / text `#111111`) → Hover (`#EB9D2A` / border `#9A650F` / text `#111111`) · `150ms cubic-bezier(0.4, 0, 0.2, 1)`
- **Parchment Secondary Button**: Rest (`#FFFFFF` / border `#B17816` / text `#111111`) → Hover (`#FDFDF8` / border `#CD8407` / text `#111111`) · `150ms cubic-bezier(0.4, 0, 0.2, 1)`
- **Magenta Demo Tab**: Rest (`#E5E7E0` / border `#BFC1B7` / text `#374151`) → Hover (`#B62AD9` / border `#B62AD9` / text `#FFFFFF`) · `150ms cubic-bezier(0.4, 0, 0.2, 1)`

## 5. Multi-Page Section Anatomy

### Page: Home (`/`)
- **01 Retro Desktop Floating Menu Bar** (Retro OS Topbar [0%–0.9%]): 56px floating sage-tinted OS menu bar over blurred meadow wallpaper with 6 compact menu links, amber 3D-bordered CTA, and utility icons.
- **02 Context-Layer Hero, Magenta Tabs & Dual Logo Wall** (OS Hero + Tabs [0.88%–23.6%]): Flanked by retro desktop shortcut icons, pairing a 36px/800 RoundHog headline and sky-blue highlight with a floating setup card, a vivid #B62AD9 tabbed Q&A window, and humorous Colorful vs. Sleek logo cards.
- **03 Live Event Stream & AI Telemetry Box Plots** (Live Feed + Plots [23.62%–46.7%]): Combines a dark interactive Fetch demo app with a live event ingestion table and a crisp multi-metric AI latency/token/cost box-plot card.
- **04 Autonomous Issue Triage & Self-Driving PR Flow** (Triage + Auto PR [46.72%–70.8%]): Shows prioritized automated issue diagnostics followed by an authentic GitHub-style automated PR review card (+4/-1 diff indicator) for self-driving bug fixes.
- **05 Full Product Suite & Engineer Proof** (Bento + Proof [70.78%–87.1%]): Walks through the unified analytics, replay, flags, experiments, surveys, and warehouse suite with PostHog's signature candid developer copy.
- **06 PostHog 3000 Retro Box CTA & Hit Counter Footer** (CD Box CTA Foot [87.14%–100.0%]): Closes with the nostalgic PostHog 3000 CD-ROM software box, US/EU region toggle, $0 FREE amber CTA, and retro odometer hit counter.

### Page: Pricing (`/pricing`)
- **01 Retro Desktop Menu Bar** (Retro OS Topbar [0%–0.9%]): 56px floating desktop menu bar shared across routes.
- **02 97% Free Hero & Monthly Allowance Strip** (97% Free Box Hero [0.93%–22.6%]): Dot-grid warm-ivory card pairing the '97% free' headline and PostHog 3000 box art above a horizontal monthly free-allowance breakdown.
- **03 Usage-Based Pricing Matrix & Platform Add-Ons** (Usage Calculator [22.62%–83.1%]): Transparently details per-product usage tiers, interactive calculators, platform add-ons, and volume discounts.
- **04 Pricing FAQ & Window Footer** (FAQ + Window Base [83.12%–100.0%]): Answers billing-limit and usage questions at the bottom of the OS window.

### Page: Changelog (`/changelog`)
- **01 Retro Desktop Menu Bar** (Retro OS Topbar [0%–4.9%]): 56px global OS menu bar.
- **02 Monthly Engineering Changelog Stream** (Monthly Release [4.93%–80.0%]): Displays high-velocity releases (C/C++ SDK, Mobile SDKs, offline evals) grouped by month inside the warm-paper OS window.
- **03 OS Window Bottom Edge** (Window Footer [80%–100.0%]): Clean OS window footer with quick navigation.

### Page: Docs (`/docs`)
- **01 Retro Desktop Menu Bar** (Retro OS Topbar [0%–5.3%]): 56px consistent desktop menu bar.
- **02 PostHog Docs Product Index & Quickstarts** (Docs Index Grid [5.33%–80.0%]): Organizes Self-driving, AI Observability, Data Stack, Session Replay, Product Analytics, Feature Flags, and Error Tracking docs inside the paper-toned window.
- **03 Docs Window Footer** (Community Footer [80%–100.0%]): Connects to community Q&A and open-source GitHub links.

## 6. Signature Rules & Anti-AI Slop Guardrails
- **DO**: Wrap marketing content inside a warm sage/parchment desktop window (#D3DAC6 / #EEEFE9 / #FDFDF8) flanked by OS shortcut icons and topped by a 56px floating menu bar.
- **DO**: Give primary CTAs tactile mechanical presence: #CD8407 amber fill, #111111 dark ink, 8px radius, and a solid #B17816 bottom border lip that brightens to #EB9D2A on hover.
- **DO**: Use punchy highlighter blocks (sky blue, sage green, warm yellow) and saturated #B62AD9 magenta tabs sparingly to anchor scanning without turning the canvas neon.
- **DO**: Pair candid, self-aware developer copy and real interactive product telemetry (live event tables, AI box plots, GitHub PR diffs) with nostalgic 1990s software box art.
- **DON'T**: NEVER swap PostHog's warm #EEEFE9/#FDFDF8 parchment surfaces for cold sterile #FFFFFF or generic dark SaaS gradients.
- **DON'T**: NEVER flatten primary amber buttons into generic borderless pills; the #B17816 border and tactile bottom lip are core to the retro-hardware feel.
- **DON'T**: NEVER replace candid, specific developer copy ('97% of companies use PostHog for free') with generic corporate marketing buzzwords.
- **DON'T**: NEVER remove the crisp #BFC1B7 structural hairlines separating dense tables, box-plot telemetry cards, and OS window chrome.
