designmd
LibraryTemplatesNEWToolsCLIGuides

DesignMD

Discover, vote, and share the best DESIGN.md files on the internet.

♥ Support Itmeo

Products

  • AI Studio
  • WebGradients

Company

  • About
  • Blog
  • Manifest
  • Donate

Explore

  • Changelog
  • llms.txt
  • ai.txt
  • Sitemap
  • Newsletter

Connect

  • Twitter / X
  • GitHub
  • DESIGN.md spec
  • dimabraven.com

© 2016–2026 Itmeo. All rights reserved.

PrivacyTerms
Home/DESIGN.md Files/PostHog

PostHog DESIGN.md for AI coding agents

Dima BravenDima Braven·May 14, 2026

Open-source product analytics. Dark, bold, opinionated.

devtoolanalyticsdarkopen-sourcedesign-md
PostHog screenshot
CursorClaude CodeCodexGoogle Stitch

Sign in to copy full DESIGN.md files, download .md files, and save styles.

# Design Language: PostHog – We make dev tools for product engineers

> Extracted from `https://posthog.com` on May 28, 2026
> 5000 elements analyzed

This document describes the complete design language of the website. It is structured for AI/LLM consumption — use it to faithfully recreate the visual design in any framework.

## Color Palette

### Primary Colors

| Role | Hex | RGB | HSL | Usage Count |
|------|-----|-----|-----|-------------|
| Primary | `#e1d7c2` | rgb(225, 215, 194) | hsl(41, 34%, 82%) | 17 |
| Secondary | `#eb9d2a` | rgb(235, 157, 42) | hsl(36, 83%, 54%) | 7 |
| Accent | `#eeefe9` | rgb(238, 239, 233) | hsl(70, 16%, 93%) | 17 |

### Neutral Colors

| Hex | HSL | Usage Count |
|-----|-----|-------------|
| `#000000` | hsl(0, 0%, 0%) | 6970 |
| `#4d4f46` | hsl(73, 6%, 29%) | 1350 |
| `#374151` | hsl(217, 19%, 27%) | 717 |
| `#23251d` | hsl(75, 12%, 13%) | 206 |
| `#9ea096` | hsl(72, 5%, 61%) | 69 |
| `#65675e` | hsl(73, 5%, 39%) | 62 |
| `#bfc1b7` | hsl(72, 7%, 74%) | 37 |
| `#ffffff` | hsl(0, 0%, 100%) | 31 |
| `#131316` | hsl(240, 7%, 8%) | 14 |
| `#b6b7af` | hsl(67, 5%, 70%) | 12 |
| `#d0d1c9` | hsl(67, 8%, 80%) | 10 |
| `#73756b` | hsl(72, 4%, 44%) | 8 |

Design System Overview

The PostHog design system captures the visual language of a well-known design and creative tools product. This DESIGN.md file distills its color palette, typography, spacing scale, and component patterns into a format that AI coding agents can read and follow when generating UI.

Open-source product analytics. Dark, bold, opinionated.

AI agents like Cursor, Claude Code, Codex, and Google Stitch can reference this file to produce UI that visually matches the PostHog aesthetic — consistent colors, proportional spacing, and recognizable component patterns — without requiring explicit pixel-by-pixel instructions for every element.

Browse more design and creative tools design systems or explore the full DESIGN.md directory.


Color System

Brand palette extracted from the design system. Click any swatch to copy the hex value.

Text / Primary

#e1d7c2

Accent

#eb9d2a

Surface / Background

#eeefe9

Border / Subtle

#000000

Color Tokens


Typography Specimen

Display

2.8rem / 700 / 1.04

The quick brown fox

Heading H1

2rem / 700 / 1.1

The quick brown fox jumps

Heading H2

1.5rem / 600 / 1.15

The quick brown fox jumps over

Heading H3

1.125rem / 600 / 1.2

The quick brown fox jumps over the lazy

Body

1rem / 400 / 1.5

The quick brown fox jumps over the lazy dog

Small / Caption

0.75rem / 400 / 1.5

The quick brown fox jumps over the lazy dog and sat down.

Monospace

const primary = "System";


Layout & Spacing Tokens

Spacing Scale

space-14px
space-28px
space-312px
space-416px
space-624px
space-832px
space-1248px
space-1664px

Border Radius

radius-none0px
radius-sm4px
radius-md8px
radius-lg16px
radius-xl24px
radius-full9999px

Elevation & Shadow

Flatshadow-none
XSshadow-xs
SMshadow-sm
MDshadow-md
LGshadow-lg
XLshadow-xl

Use with AI Coding Agents

Copy one of these prompts into your AI coding agent to apply the PostHog design system to your project. The DESIGN.md file in your repo root is the source of truth.

# .cursor/rules (or DESIGN.md)
You are working in a project that uses the PostHog design system.

Read the DESIGN.md file in this project root and follow it strictly when generating UI.
Match the brand's exact colors, typography, spacing scale, and border radius.
Do not create generic Tailwind UI — apply the visual language from DESIGN.md.

Key rules:
- Use the defined color palette, not arbitrary hex values
- Apply the correct font family and weight scale
- Follow spacing tokens (4/8/12/16/24/32px scale)
- Match component patterns: buttons, cards, inputs, badges as specified

Related DESIGN.md files

Figma

Figma

Design tool. Clean, professional, subtle brand depth.

View DESIGN.md
Paddle

Paddle

Revenue delivery platform. Clean, modern B2B SaaS.

View DESIGN.md
Rippling

Rippling

Workforce management platform. Dense, enterprise, modern.

View DESIGN.md
Cursor

Cursor

AI-first code editor. Dark, minimal, keyboard-centric devtool.

View DESIGN.md
Spline

Spline

3D design tool for web. Dark, 3D-native aesthetic.

View DESIGN.md
Are.na

Are.na

Research and bookmarking platform. Minimal, intellectual.

View DESIGN.md

Frequently Asked Questions

Can I use the PostHog DESIGN.md with Cursor, Claude Code, or Codex?

Yes. Copy the DESIGN.md file into your project root and reference it in your agent rules. For Cursor, add it to .cursor/rules. For Claude Code, include it as CLAUDE.md. For Codex, add it to your system prompt. The agent will read it and apply the PostHog visual system to any UI it generates.

Is this an official PostHog file?

No — this is an independent reference created for AI coding agent compatibility. It is not officially endorsed by PostHog. The visual system was analyzed and documented to help AI agents produce UI that matches the PostHog aesthetic. Always verify against official PostHog documentation.

What is a DESIGN.md file?

A DESIGN.md file is a Markdown document that describes a product's visual design system in a format that AI coding agents can read and follow. It captures color palettes, typography, spacing, component patterns, and usage rules — giving AI agents like Cursor, Claude Code, and Codex a source of truth for consistent UI generation.

Can I use the PostHog color tokens and visual style in my own project?

The design tokens and visual patterns documented here are for reference and AI agent guidance. If you are building a project inspired by the PostHog visual style, ensure your use is consistent with PostHog's brand guidelines and any applicable trademark or copyright rules. This file helps AI agents understand a style — it does not grant license to use proprietary brand assets.

How do I add this to my project?

Download the DESIGN.md file (requires free account) and place it in your project root. Then tell your AI agent to read it: "Read the DESIGN.md file in this project and follow its design system when generating UI." The agent will pick it up automatically in most modern AI coding tools.