
PostHog
Product analytics platform
An open-source product analytics suite, branded around a hedgehog mascot and a playful, developer-friendly dark UI.
posthog.comColor palette
Accent
Primary brand color — key actions and emphasis.
Pressed or hover state of its base color.
Pressed or hover state of its base color.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Accent color used within the product's own UI.
Neutral
Text and icon color on a solid primary fill.
Primary text color.
Secondary or muted text.
Borders and dividers.
Borders and dividers.
Text and icon color on a solid primary fill.
Page background.
Card and panel surfaces.
Card and panel surfaces.
Card and panel surfaces.
Card and panel surfaces.
Primary text color.
Primary text color.
Type scale
- Display Xl
- 36px · 700 · 1.5
- Display Lg
- 24px · 800 · 1.33
- Heading Lg
- 21px · 700 · 1.4
- Heading Md
- 20px · 700 · 1.4
- Heading Sm
- 18px · 700 · 1.5
- Heading Sm Mixed
- 18px · 600 · 1.56
- Body Md
- 16px · 400 · 1.5
- Body Strong
- 16px · 600 · 1.5
- Link Md
- 16px · 400 · 1.5
- Body Sm
- 15px · 400 · 1.71
- Body Sm Strong
- 15px · 600 · 1.71
- Body Xs
- 14px · 500 · 1.43
- Caption Md
- 14px · 700 · 1.71
- Button Md
- 14px · 700 · 1.5
- Code Sm
- 14px · 400 · 1.43
- Code Xs
- 14px · 500 · 1.43
- Caption Sm
- 13px · 500 · 1.5
- Button Sm
- 13px · 500 · 1
- Caption Xs
- 12px · 600 · 1.33
- Utility Xs
- 12px · 700 · 1.33
Fonts
Spacing & shape
- Xxs
- 2px
- Xs
- 4px
- Sm
- 8px
- Md
- 12px
- Lg
- 16px
- Xl
- 24px
- Xxl
- 32px
- Section
- 80px
- None
- 0px
- Xs
- 2px
- Sm
- 4px
- Md
- 6px
- Lg
- 8px
- Full
- 9999px
Guidelines
- Reserve Primary for primary actions and emphasis — it is the system's one accent color.
- Keep type on the documented family set (IBM Plex Sans Variable, ui-monospace, Source Code Pro).
- Use one of the documented corner radii (0px, 2px, 4px, 6px, 8px, 9999px) rather than a one-off value.
- Build spacing from the documented scale (2px, 4px, 8px, 12px, 16px, 24px, 32px, 80px) instead of arbitrary padding.
- Don't apply Primary as a full-page background or a large fill.
- Don't introduce a second accent color alongside Primary.
- Don't mix in an additional typeface beyond the ones documented here.