← Gallery

extracted · 34 artefacts

posthog.com

Live extraction of https://posthog.com — tokens, emitters, anatomy, icons, voice, motion, MCP server, AGENTS.md, prompt pack and a 13-chapter brand book. Generated with one command.

18colors
Aaf0
vs design-extractor.com

They surface 4 sections per brand (DESIGN.md · Tailwind · CSS · Tokens). designlang ships 34 artefacts for posthog.com and renders 12+ sections below.

See full comparison ↗
3,849 charsbrand book ↗
---
site: PostHog – We make dev tools for product engineers
url: "https://posthog.com"
generated_at: "2026-06-25T08:30:20.024Z"
generator: "designlang@13.0.0"
intent: landing
material: material-you
library: shadcn/ui
tokens:
  colors:
    primary: "#e1d7c2"
    secondary: "#eb9d2a"
    accent: "#eeefe9"
    background: "#e5e7e0"
    foreground: "#000000"
  typography:
    sans: IBM Plex Sans Variable
    base: 15
  spacing:
    base: 4
    scale: "[1, 20, 32, 48, 64, 120, 144, 220]"
  radii:
    xs: 2
    sm: 5
    md: 8
    full: 9999
  shadows:
    sm: "rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.2) 0px 0px 6px 2px"
---

# Overview

A **landing** page (heuristic confidence 0.31), dressed in **material-you** material (0.45).

Component library appears to be **shadcn/ui** (0.65).

> "The new way to build products"

The author writes in a **neutral** voice; headings tend to be **Sentence case** case and **balanced**.

Reading order detected on the source: `cta → footer → nav → nav → cta → feature-grid → pricing-table`.

Source: <https://posthog.com>.

# Colors

| role | hex | usage |
|---|---|---|
| primary | `#e1d7c2` | 17 |
| secondary | `#eb9d2a` | 7 |
| accent | `#eeefe9` | 18 |
| background | `#e5e7e0` | — |
| foreground | `#000000` | — |

**Neutrals:** `#000000` · `#4d4f46` · `#374151` · `#23251d` · `#9ea096`

**Total unique colors detected:** 29.

# Typography

**Families**
- `IBM Plex Sans Variable` · 3801 uses
- `Open Runde` · 1192 uses
- `Source Code Pro` · 1 uses

**Body size:** `15px` / line-height `25.7143px`.

**Heading scale**
| level | size | weight | line-height |
|---|---|---|---|
| h1 | `24px` | `800` | `32px` |
| h2 | `21.4286px` | `700` | `30px` |
| h3 | `19.2857px` | `600` | `30px` |

# Layout

**Spacing base:** `4px` increments.
**Scale:** `1px` · `20px` · `32px` · `48px` · `64px` · `120px` · `144px` · `220px`

**Layout primitives:** 6 grid containers · 246 flex containers.

**Breakpoints:** `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px` · `[object Object]px`

# Elevation and Depth

**Shadow scale**
- `sm` — `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.25) 0px 25px 50px -12px`
- `sm` — `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.2) 0px 0px 6px 2px`

**Z-index layers:** 6 · ⚠ 1 issue(s)

# Shapes

**Radius scale**
- `xs` — `2px`
- `sm` — `5px`
- `md` — `8px`
- `full` — `9999px`

# Components

**Detected patterns:** `buttons` · `cards` · `links` · `navigation` · `footer` · `tabs`

**Anatomy**
| kind | variants | sizes | instances |
|---|---|---|---|
| button | primary, secondary | md, medium, sm, xs | 58 |

# Do's and Don'ts

**Do's**
- Use `get`, `product`, `install` as the primary verbs in CTAs — these dominate the source.
- Write headings in **Sentence case** case, **balanced** length.
- Address the reader with the pronoun posture **you-only**.
- Stay inside the **material-you** material — match shadow and radius habits.

**Don'ts**
- Don't ship copy on the colors flagged in accessibility — 1 contrast pair(s) fail WCAG AA on the source itself.
- Don't 1 wcag contrast failures.
- Don't 541 !important rules — prefer specificity over overrides.
- Don't 94% of css is unused — consider purging.
- Don't 7683 duplicate css declarations.

---
_Generated by [designlang](https://github.com/Manavarya09/design-extract) v13.0.0 from <https://posthog.com>._
_Compatible with the DESIGN.md convention pioneered by [design-extractor.com](https://www.design-extractor.com) — extended with intent, material, voice, anatomy, and library detection._

Typography

IBM Plex Sans Variable
The quick brown fox jumps
display · 56px / 600
The quick brown fox jumps
headline · 36px / 500
The quick brown fox jumps
subhead · 22px / 400
The quick brown fox jumps
body · 16px / 400
The quick brown fox jumps
caption · 12px / 500 · uppercase

Agent prompt

One self-contained system prompt with every posthog.com token, anatomy slot and voice rule. Drop it into any AI agent and it builds in this brand without hallucinating.

paste into Claude · GPT · Cursor · Windsurf · v0
# You are building UI in the posthog.com design system.

Source: https://posthog.com
Extracted by designlang on 2026-06-25.

## Brand at a glance

- title         PostHog – We make dev tools for product engineers
- page intent   landing
- material      material-you
- design grade  B

## Colour

- primary     #e1d7c2
- secondary   #eb9d2a
- accent      #eeefe9
- neutrals    #000000 · #4d4f46 · #374151 · #23251d · #9ea096 · #65675e

## Typography

- families   IBM Plex Sans Variable · Open Runde · Source Code Pro
- weights    400 · 500 · 600 · 700 · 800
- base size  16px

## Spacing

- scale      1px · 20px · 32px · 48px · 64px · 120px · 144px · 220px

## Radii

- scale      2px · 5px · 8px · 9999px

## Motion

- durations  150ms · 300ms

## Voice

- tone       neutral
- pronoun    you-only
- headings   Sentence case
- CTA verbs  get · product · install · shuffle · open · pricing

## Component anatomy

- button     variants: [object Object] · [object Object] · [object Object]  ·  slots: true · true · false

## Accessibility

- WCAG score 96% · failing pairs: 1

## Build rules

1. Use the colours above. **Never invent a new hex.** If you need a
   shade between two existing colours, derive it via HSL adjustment
   from the closest extracted colour and call out the derivation.
2. Use the extracted typography families. If you need a missing weight,
   pick the nearest available weight from the list and note it.
3. Snap spacing values to the scale above. No off-scale paddings or
   margins.
4. Snap border radii to the scale above.
5. Match the voice: same tone, same pronoun stance, same heading
   style. Reuse the listed CTA verbs.
6. Aim for WCAG AA contrast minimum. When the brand colours fail,
   prefer the foreground colour on the background colour rather than
   mid-tone neutrals.
7. Reuse component anatomy when it exists — do not invent novel
   structures for things the site already has.

## Available context files

designlang wrote these alongside this prompt. Reach for them when
you need ground truth:

- `<host>-design-tokens.json` — DTCG primitive · semantic · composite tokens
- `<host>-tailwind.config.js`  — Tailwind v3 config
- `<host>-tailwind-v4.css`     — Tailwind v4 `@theme` block
- `<host>-tokens.d.ts`         — TypeScript literal-union types
- `<host>-variables.css`       — bare CSS custom properties
- `<host>-reset.css`           — brand-aware base styles
- `<host>-gradients.css`       — `.grad-N` utility classes
- `<host>-anatomy.tsx`         — typed React component scaffolds
- `<host>-shadcn-theme.css`    — shadcn/ui theme
- `<host>-theme.js`            — React / Vue / Svelte theme object
- `<host>-mcp.json`            — MCP server payload (load via stdio)
- `<host>.brand.pdf`           — print-ready 13-chapter brand book

When you reference the system in code, prefer importing from these
files over hard-coding values.

## Output expectations

When asked to "build a pricing page" or "make a card" or any UI:

- Produce a single self-contained component file in the appropriate
  framework (React / Vue / Svelte — match what the user is using).
- Use Tailwind utility classes wired to the v4 `@theme` if Tailwind
  is available; otherwise use the CSS custom properties from
  `variables.css`.
- Write the headline copy using the brand voice; do not invent
  generic Lorem.
- Annotate any choice where you had to bend the system, with a
  one-line `// note:` comment explaining what and why.

## One-line install

```bash
npx designlang posthog.com
```

Run this against any other URL to extract its system in the same
shape as the one above.

---

Generated by designlang. Re-extract by running `npx designlang posthog.com`.
Drop this in any AI agent. It will build UI in the posthog.com brand without hallucinating colours, fonts or component shapes.

MCP / Agent rules

The same payload the stdio MCP server hands to Claude Code, Cursor and Windsurf. Wire it into your editor and the agent answers brand-system questions with the actual extraction — not a guess.

How to wire MCP →npx designlang mcp --url https://posthog.com
{
  "colors": {
    "all": [
      {
        "hex": "#000000",
        "rgb": {
          "r": 0,
          "g": 0,
          "b": 0,
          "a": 1
        },
        "hsl": {
          "h": 0,
          "s": 0,
          "l": 0
        },
        "count": 7110,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#4d4f46",
        "rgb": {
          "r": 77,
          "g": 79,
          "b": 70,
          "a": 1
        },
        "hsl": {
          "h": 73,
          "s": 6,
          "l": 29
        },
        "count": 1332,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#374151",
        "rgb": {
          "r": 55,
          "g": 65,
          "b": 81,
          "a": 1
        },
        "hsl": {
          "h": 217,
          "s": 19,
          "l": 27
        },
        "count": 617,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#23251d",
        "rgb": {
          "r": 35,
          "g": 37,
          "b": 29,
          "a": 1
        },
        "hsl": {
          "h": 75,
          "s": 12,
          "l": 13
        },
        "count": 166,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#111827",
        "rgb": {
          "r": 17,
          "g": 24,
          "b": 39,
          "a": 1
        },
        "hsl": {
          "h": 221,
          "s": 39,
          "l": 11
        },
        "count": 156,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#9ea096",
        "rgb": {
          "r": 158,
          "g": 160,
          "b": 150,
          "a": 1
        },
        "hsl": {
          "h": 72,
          "s": 5,
          "l": 61
        },
        "count": 111,
        "contexts": [
          "border",
          "text"
        ]
      },
      {
        "hex": "#f7a501",
        "rgb": {
          "r": 247,
          "g": 165,
          "b": 1,
          "a": 1
        },
        "hsl": {
          "h": 40,
          "s": 99,
          "l": 49
        },
        "count": 92,
        "contexts": [
          "text",
          "border",
          "background"
        ]
      },
      {
        "hex": "#2f80fa",
        "rgb": {
          "r": 47,
          "g": 128,
          "b": 250,
          "a": 1
        },
        "hsl": {
          "h": 216,
          "s": 95,
          "l": 58
        },
        "count": 74,
        "contexts": [
          "background",
          "text",
          "border"
        ]
      },
      {
        "hex": "#65675e",
        "rgb": {
          "r": 101,
          "g": 103,
          "b": 94,
          "a": 1
        },
        "hsl": {
          "h": 73,
          "s": 5,
          "l": 39
        },
        "count": 62,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#30abc6",
        "rgb": {
          "r": 48,
          "g": 171,
          "b": 198,
          "a": 1
        },
        "hsl": {
          "h": 191,
          "s": 61,
          "l": 48
        },
        "count": 48,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#bfc1b7",
        "rgb": {
          "r": 191,
          "g": 193,
          "b": 183,
          "a": 1
        },
        "hsl": {
          "h": 72,
          "s": 7,
          "l": 74
        },
        "count": 37,
        "contexts": [
          "border"
        ]
      },
      {
        "hex": "#b62ad9",
        "rgb": {
          "r": 182,
          "g": 42,
          "b": 217,
          "a": 1
        },
        "hsl": {
          "h": 288,
          "s": 70,
          "l": 51
        },
        "count": 36,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#ffffff",
        "rgb": {
          "r": 255,
          "g": 255,
          "b": 255,
          "a": 0.6
        },
        "hsl": {
          "h": 0,
          "s": 0,
          "l": 100
        },
        "count": 31,
        "contexts": [
          "background",
          "text",
          "border"
        ]
      },
      {
        "hex": "#36c46f",
        "rgb": {
          "r": 54,
          "g": 196,
          "b": 111,
          "a": 1
        },
        "hsl": {
          "h": 144,
          "s": 57,
          "l": 49
        },
        "count": 24,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#6aa84f",
        "rgb": {
          "r": 106,
          "g": 168,
          "b": 79,
          "a": 1
        },
        "hsl": {
          "h": 102,
          "s": 36,
          "l": 48
        },
        "count": 20,
        "contexts": [
          "text",
          "border",
          "background"
        ]
      },
      {
        "hex": "#eeefe9",
        "rgb": {
          "r": 238,
          "g": 239,
          "b": 233,
          "a": 1
        },
        "hsl": {
          "h": 70,
          "s": 16,
          "l": 93
        },
        "count": 18,
        "contexts": [
          "background"
        ]
      },
      {
        "hex": "#e1d7c2",
        "rgb": {
          "r": 225,
          "g": 215,
          "b": 194,
          "a": 1
        },
        "hsl": {
          "h": 41,
          "s": 34,
          "l": 82
        },
        "count": 17,
        "contexts": [
          "background"
        ]
      },
      {
        "hex": "#29dbbb",
        "rgb": {
          "r": 41,
          "g": 219,
          "b": 187,
          "a": 1
        },
        "hsl": {
          "h": 169,
          "s": 71,
          "l": 51
        },
        "count": 16,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#b17816",
        "rgb": {
          "r": 177,
          "g": 120,
          "b": 22,
          "a": 1
        },
        "hsl": {
          "h": 38,
          "s": 78,
          "l": 39
        },
        "count": 14,
        "contexts": [
          "border"
        ]
      },
      {
        "hex": "#b6b7af",
        "rgb": {
          "r": 182,
          "g": 183,
          "b": 175,
          "a": 1
        },
        "hsl": {
          "h": 67,
          "s": 5,
          "l": 70
        },
        "count": 14,
        "contexts": [
          "border",
          "background"
        ]
      },
      {
        "hex": "#131316",
        "rgb": {
          "r": 19,
          "g": 19,
          "b": 22,
          "a": 1
        },
        "hsl": {
          "h": 240,
          "s": 7,
          "l": 8
        },
        "count": 14,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#f54e00",
        "rgb": {
          "r": 245,
          "g": 78,
          "b": 0,
          "a": 1
        },
        "hsl": {
          "h": 19,
          "s": 100,
          "l": 48
        },
        "count": 12,
        "contexts": [
          "background",
          "text",
          "border"
        ]
      },
      {
        "hex": "#d0d1c9",
        "rgb": {
          "r": 208,
          "g": 209,
          "b": 201,
          "a": 1
        },
        "hsl": {
          "h": 67,
          "s": 8,
          "l": 80
        },
        "count": 11,
        "contexts": [
          "background",
          "border"
        ]
      },
      {
        "hex": "#73756b",
        "rgb": {
          "r": 115,
          "g": 117,
          "b": 107,
          "a": 1
        },
        "hsl": {
          "h": 72,
          "s": 4,
          "l": 44
        },
        "count": 8,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#eb9d2a",
        "rgb": {
          "r": 235,
          "g": 157,
          "b": 42,
          "a": 1
        },
        "hsl": {
          "h": 36,
          "s": 83,
          "l": 54
        },
        "count": 7,
        "contexts": [
          "background"
        ]
      },
      {
        "hex": "#e5e7e0",
        "rgb": {
          "r": 229,
          "g": 231,
          "b": 224,
          "a": 0.75
        },
        "hsl": {
          "h": 77,
          "s": 13,
          "l": 89
        },
        "count": 5,
        "contexts": [
          "background"
        ]
      },
      {
        "hex": "#cd8407",
        "rgb": {
          "r": 205,
          "g": 132,
          "b": 7,
          "a": 1
        },
        "hsl": {
          "h": 38,
          "s": 93,
          "l": 42
        },
        "count": 4,
        "contexts": [
          "background"
        ]
      },
      {
        "hex": "#6c47ff",
        "rgb": {
          "r": 108,
          "g": 71,
          "b": 255,
          "a": 1
        },
        "hsl": {
          "h": 252,
          "s": 100,
          "l": 64
        },
        "count": 4,
        "contexts": [
          "text",
          "border"
        ]
      },
      {
        "hex": "#bab1ff",
        "rgb": {
          "r": 186,
          "g": 177,
          "b": 255,
          "a": 1
        },
        "hsl": {
          "h": 247,
          "s": 100,
          "l": 85
        },
        "count": 2,
        "contexts": [
          "text",
          "border"
        ]
      }
    ]
  },
  "regions": [
    {
      "role": "sidebar",
      "tag": "aside",
      "bounds": {
        "x": 1003.75,
        "y": 0,
        "w": 268.25,
        "h": 40
      },
      "heading": null,
      "buttonCount": 7,
      "cardCount": 6,
      "className": "flex items-center gap-0.5 py-1"
    },
    {
      "role": "nav",
      "tag": "nav",
      "bounds": {
        "x": 0,
        "y": 41,
        "w": 1280,
        "h": 0
      },
      "heading": null,
      "buttonCount": 2,
      "cardCount": 32,
      "className": null
    },
    {
      "role": "sidebar",
      "tag": "aside",
      "bounds": {
        "x": 146,
        "y": 100,
        "w": 958,
        "h": 57
      },
      "heading": null,
      "buttonCount": 16,
      "cardCount": 19,
      "className": "bg-primary p-2 border-b border-primary"
    },
    {
      "role": "pricing",
      "tag": "main",
      "bounds": {
        "x": 146,
        "y": 157,
        "w": 958,
        "h": 624
      },
      "heading": null,
      "buttonCount": 19,
      "cardCount": 112,
      "className": "@container/editor flex-1 bg-primary relative h-full flex flex-col"
    },
    {
      "role": "pricing",
      "tag": "section",
      "bounds": {
        "x": 209,
        "y": 3250.3125,
        "w": 832,
        "h": 528.09375
      },
      "heading": null,
      "buttonCount": 5,
      "cardCount": 9,
      "className": "pt-8 @xl:pt-0 px-5 lg:px-0"
    },
    {
      "role": "footer",
      "tag": "footer",
      "bounds": {
        "x": 0,
        "y": 0,
        "w": 0,
        "h": 0
      },
      "heading": null,
      "buttonCount": 0,
      "cardCount": 4,
      "className": "@container z-40 hidden"
    },
    {
      "role": "nav",
      "tag": "nav",
      "bounds": {
        "x": 0,
        "y": 0,
        "w": 0,
        "h": 0
      },
      "heading": null,
      "buttonCount": 0,
      "cardCount": 0,
      "className": "flex flex-wrap items-center gap-x-4 gap-y-2"
    }
  ],
  "componentClusters": [
    {
      "kind": "button",
      "structuralHash": "div>button>button>button>button>button",
      "instanceCount": 1,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(0, 0, 0)",
            "padding": "2px 0px 2px 0px",
            "borderRadius": "0px",
            "border": "0px solid rgb(0, 0, 0)",
            "fontSize": "16px",
            "fontWeight": "400"
          },
          "instanceCount": 1
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button>div",
      "instanceCount": 5,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(35, 37, 29)",
            "padding": "2px 8px 2px 8px",
            "borderRadius": "4px",
            "border": "0px solid rgb(35, 37, 29)",
            "fontSize": "13px",
            "fontWeight": "500"
          },
          "instanceCount": 4
        },
        {
          "css": {
            "background": "rgb(47, 128, 250)",
            "color": "rgb(255, 255, 255)",
            "padding": "10px 12px 10px 12px",
            "borderRadius": "6px",
            "border": "0px solid rgb(255, 255, 255)",
            "fontSize": "14px",
            "fontWeight": "600"
          },
          "instanceCount": 1
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button",
      "instanceCount": 8,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(35, 37, 29)",
            "padding": "2px 8px 2px 8px",
            "borderRadius": "4px",
            "border": "0px solid rgb(35, 37, 29)",
            "fontSize": "13px",
            "fontWeight": "500"
          },
          "instanceCount": 8
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button>span",
      "instanceCount": 18,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(35, 37, 29)",
            "padding": "2px 8px 2px 8px",
            "borderRadius": "4px",
            "border": "0px solid rgb(35, 37, 29)",
            "fontSize": "13px",
            "fontWeight": "500"
          },
          "instanceCount": 5
        },
        {
          "css": {
            "background": "rgb(229, 231, 224)",
            "color": "rgb(101, 103, 94)",
            "padding": "4px 6px 4px 6px",
            "borderRadius": "4px",
            "border": "4px 1px 1px solid rgb(191, 193, 183)",
            "fontSize": "16px",
            "fontWeight": "400"
          },
          "instanceCount": 2
        },
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(158, 160, 150)",
            "padding": "4px 5px 4px 5px",
            "borderRadius": "4px",
            "border": "1px solid rgba(0, 0, 0, 0)",
            "fontSize": "14px",
            "fontWeight": "400"
          },
          "instanceCount": 10
        },
        {
          "css": {
            "background": "rgb(235, 157, 42)",
            "color": "rgb(77, 79, 70)",
            "padding": "0px 0px 0px 0px",
            "borderRadius": "5px",
            "border": "1px solid rgb(177, 120, 22)",
            "fontSize": "15px",
            "fontWeight": "600"
          },
          "instanceCount": 1
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "a>span",
      "instanceCount": 5,
      "variants": [
        {
          "css": {
            "background": "rgb(205, 132, 7)",
            "color": "rgb(35, 37, 29)",
            "padding": "0px 0px 0px 0px",
            "borderRadius": "6px",
            "border": "1px solid rgb(177, 120, 22)",
            "fontSize": "16px",
            "fontWeight": "400"
          },
          "instanceCount": 5
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "span",
      "instanceCount": 6,
      "variants": [
        {
          "css": {
            "background": "rgb(235, 157, 42)",
            "color": "rgb(0, 0, 0)",
            "padding": "4px 10px 4px 10px",
            "borderRadius": "6px",
            "border": "1px solid rgb(177, 120, 22)",
            "fontSize": "13px",
            "fontWeight": "700"
          },
          "instanceCount": 6
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button>svg",
      "instanceCount": 7,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(35, 37, 29)",
            "padding": "2px 4px 2px 4px",
            "borderRadius": "4px",
            "border": "1px solid rgba(0, 0, 0, 0)",
            "fontSize": "13px",
            "fontWeight": "400"
          },
          "instanceCount": 6
        },
        {
          "css": {
            "background": "rgba(255, 255, 255, 0.25)",
            "color": "rgb(101, 103, 94)",
            "padding": "8px 8px 8px 8px",
            "borderRadius": "4px",
            "border": "1px solid rgb(210, 211, 204)",
            "fontSize": "15px",
            "fontWeight": "400"
          },
          "instanceCount": 1
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "div>button",
      "instanceCount": 1,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(0, 0, 0)",
            "padding": "2px 0px 2px 0px",
            "borderRadius": "0px",
            "border": "0px solid rgb(0, 0, 0)",
            "fontSize": "16px",
            "fontWeight": "400"
          },
          "instanceCount": 1
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button>span>figcaption",
      "instanceCount": 2,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(77, 79, 70)",
            "padding": "0px 0px 0px 0px",
            "borderRadius": "0px",
            "border": "0px solid rgb(77, 79, 70)",
            "fontSize": "16px",
            "fontWeight": "400"
          },
          "instanceCount": 2
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button>svg>svg",
      "instanceCount": 1,
      "variants": [
        {
          "css": {
            "background": "rgba(0, 0, 0, 0)",
            "color": "rgb(35, 37, 29)",
            "padding": "2px 6px 2px 6px",
            "borderRadius": "4px",
            "border": "0px solid rgb(35, 37, 29)",
            "fontSize": "13px",
            "fontWeight": "500"
          },
          "instanceCount": 1
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button>span>span",
      "instanceCount": 2,
      "variants": [
        {
          "css": {
            "background": "rgb(238, 239, 233)",
            "color": "rgb(158, 160, 150)",
            "padding": "2px 0px 2px 8px",
            "borderRadius": "4px",
            "border": "1px solid rgb(182, 183, 175)",
            "fontSize": "13px",
            "fontWeight": "400"
          },
          "instanceCount": 2
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "button>svg>span>svg",
      "instanceCount": 1,
      "variants": [
        {
          "css": {
            "background": "rgb(255, 255, 255)",
            "color": "rgb(0, 0, 0)",
            "padding": "6px 8px 6px 8px",
            "borderRadius": "6px",
            "border": "0px solid rgb(0, 0, 0)",
            "fontSize": "14px",
            "fontWeight": "400"
          },
          "instanceCount": 1
        }
      ]
    },
    {
      "kind": "button",
      "structuralHash": "span>svg",
      "instanceCount": 1,
      "variants": [
        {
          "css": {
            "background": "rgb(255, 255, 255)",
            "color": "rgb(77, 79, 70)",
            "padding": "2px 8px 2px 8px",
            "borderRadius": "5px",
            "border": "1px solid rgb(177, 120, 22)",
            "fontSize": "12px",
            "fontWeight": "700"
          },
          "instanceCount": 1
        }
      ]
    }
  ],
  "accessibility": {
    "remediation": [
      {
        "fg": "#ffffff",
        "bg": "#2f80fa",
        "ratio": 3.76,
        "rule": "AA-normal",
        "suggestion": {
          "replace": "fg",
          "color": "#000000",
          "newRatio": 5.59
        }
      }
    ]
  },
  "cssHealth": {
    "sheets": [
      {
        "url": "https://posthog.com/",
        "totalBytes": 179,
        "usedBytes": 0,
        "unusedBytes": 179,
        "unusedPercent": 100
      },
      {
        "url": "https://posthog.com/",
        "totalBytes": 584601,
        "usedBytes": 37472,
        "unusedBytes": 547129,
        "unusedPercent": 94
      },
      {
        "url": "https://posthog.com/",
        "totalBytes": 479,
        "usedBytes": 0,
        "unusedBytes": 479,
        "unusedPercent": 100
      },
      {
        "url": "https://posthog.com/",
        "totalBytes": 179,
        "usedBytes": 0,
        "unusedBytes": 179,
        "unusedPercent": 100
      },
      {
        "url": "https://posthog.com/",
        "totalBytes": 179,
        "usedBytes": 0,
        "unusedBytes": 179,
        "unusedPercent": 100
      }
    ],
    "totalBytes": 585617,
    "usedBytes": 37472,
    "unusedBytes": 548145,
    "unusedPercent": 94,
    "importantCount": 541,
    "duplicates": 7683,
    "vendorPrefixes": {
      "webkit": 145,
      "moz": 110,
      "ms": 20,
      "o": 15
    },
    "keyframes": [],
    "specificity": {
      "max": [
        4,
        8,
        5
      ],
      "average": [
        0.03,
        1.97,
        0.16
      ],
      "count": 7910
    },
    "issues": [
      "541 !important rules",
      "7683 duplicate declarations",
      "94% unused CSS"
    ]
  }
}

Run designlang on your own URL.

Same 34-artefact depth as the posthog.com extraction above. No signup, no API key.

npx designlang yoursite.comTry it live