01 — Color
Cream canvas, olive ink, single yellow-orange CTA, plus a four-color pastel callout family for inline doc tips/warnings/info.
Brand & Accent
Surface
Text
Semantic — Callout Banners (doc-only)
02 — Typography
IBM Plex Sans Variable across every text role with weights 400/500/600/700/800. Weight 800 is reserved for the largest display moments.
03 — Components
Yellow-orange primary, soft-cream secondary, transparent tertiary — the entire button vocabulary plus product-tab and pill-tab variants.
04 — Callouts & Code
Four-color pastel callout banner family used inside doc article body. Code blocks invert to deep olive-charcoal — the system's only "elevated" surface.
Code Block (Dark)
Inline Code Chip
Use the posthog.identify() method to associate events with a known user. The distinct_id parameter accepts a unique user identifier.
05 — Cards
Marketing cards on cream, doc cards on warm-white, pricing tier cards with check-icon feature lists, and the signature hedgehog-mascot card.
Marketing & Doc Cards
Product analytics
Measure engagement, track conversion, and understand single sessions — based on a single source of truth.
Session replay
Watch real users interact with your product to debug issues and find friction points.
Getting started
Learn how to use product analytics to understand your users.
Pricing Tier Cards
Free
$0
Pay-as-you-go
$0
Enterprise
Custom
Hedgehog Mascot Card
Hedgehog mascot card
Standard product card with a hand-drawn hedgehog character anchored in the right margin.
Engineering blog vibe
Hedgehogs in lab coats, terminals, and reading glasses scatter across pages as marginalia.
06 — Navigation
A 40px sub-nav strip carries section anchors on workflows / product pages; the doc sidebar carries 240px-wide rounded-icon section nav with an "Ask PostHog AI" search at top.
Sub-nav Strip
Doc Sidebar
Product analytics
Learn how to use product analytics to understand your users. Build dashboards, run funnels, and find your most engaged customers.
07 — Forms
6px-radius rectangle inputs at 36px height. Focus relies on a 2px Accent Blue border + translucent blue outline halo.
08 — Layout
8px base. Section rhythm sits at 80px between major content blocks across every page.
09 — Shapes
Most chrome lives at 4–6px. Pill (9999px) is reserved for the sticky nav CTA and pill chips.
Sub-nav, footer, doc sidebar, primary nav
Inline code chip, micro-rule highlight
Inline buttons, micro chips
Marketing cards, pricing cards, every standard CTA
Tab top corners, rare large containers
Sticky CTA pill, pill chips
10 — Depth
No drop shadows. Cards sit flat on cream with thin olive borders. The dark code-block surface is the only "elevated" moment.
11 — Responsive
7 breakpoint zones with a documentation-aware collapse strategy. The doc sidebar promotes to a top accordion at tablet.
| Name | Width | Key Changes |
|---|---|---|
| ultrawide | 1920px+ | Content max-width 1280px; gutters grow to ~80px |
| desktop-large | 1440px | Default — 4-up tiles, 240px doc sidebar |
| desktop | 1280px | Same with narrower gutters |
| desktop-small | 1024px | 4-up tiles → 3-up; doc sidebar visible |
| tablet | 768px | 3-up tiles → 2-up; doc sidebar accordion; nav hamburger |
| mobile | 480px | Single-column; hero 36px → ~28px |
| mobile-narrow | 320px | Section padding tightens to 32px |