{ "schemaVersion": 1, "brandId": "posthog", "source": { "componentsHtml": "components.html", "tokensCss": "tokens.css" }, "fixture": { "title": "PostHog — reference components", "description": "Reference fixture for design-systems/posthog. Every visible value comes from tokens.css; the page itself honors PostHog's rules — warm parchment surfaces, olive-tinted text, IBM Plex Sans bold headings, sage-bordered cards with no shadow, and the signature hover orange (#F54E00) that flashes on interaction.", "styleBlockCount": 1, "selectorCount": 82, "classCount": 42, "elementCount": 32 }, "tokens": { "declared": [ "--accent", "--accent-active", "--accent-hover", "--accent-on", "--bg", "--border", "--border-soft", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--danger", "--ease-standard", "--elev-flat", "--elev-raised", "--elev-ring", "--fg", "--fg-2", "--focus-ring", "--font-body", "--font-display", "--font-mono", "--leading-body", "--leading-tight", "--meta", "--motion-base", "--motion-fast", "--muted", "--radius-lg", "--radius-md", "--radius-pill", "--radius-sm", "--section-y-desktop", "--section-y-phone", "--section-y-tablet", "--space-1", "--space-12", "--space-2", "--space-3", "--space-4", "--space-5", "--space-6", "--space-8", "--success", "--surface", "--surface-warm", "--text-2xl", "--text-3xl", "--text-4xl", "--text-base", "--text-lg", "--text-sm", "--text-xl", "--text-xs", "--tracking-display", "--warn" ], "referenced": [ "--accent", "--bg", "--border", "--border-soft", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--ease-standard", "--elev-raised", "--fg", "--fg-2", "--focus-ring", "--font-body", "--font-display", "--font-mono", "--leading-body", "--leading-tight", "--meta", "--motion-fast", "--muted", "--radius-md", "--radius-pill", "--radius-sm", "--section-y-desktop", "--section-y-phone", "--section-y-tablet", "--space-12", "--space-2", "--space-3", "--space-4", "--space-5", "--space-6", "--space-8", "--success", "--surface", "--surface-warm", "--text-3xl", "--text-4xl", "--text-base", "--text-lg", "--text-sm", "--text-xs", "--tracking-display", "--warn" ], "unusedDeclared": [ "--accent-active", "--accent-hover", "--accent-on", "--danger", "--elev-flat", "--elev-ring", "--motion-base", "--radius-lg", "--space-1", "--text-2xl", "--text-xl" ], "undeclaredReferenced": [] }, "selectors": [ ".body-meta", ".body-muted", ".body-sm", ".btn", ".btn-ghost", ".btn-ghost:hover", ".btn-primary", ".btn-primary:active", ".btn-primary:hover", ".btn-secondary", ".btn-secondary:hover", ".btn:active", ".btn:focus-visible", ".card", ".card-warm", ".card:hover", ".card:hover h3", ".code-block", ".code-block .tok-cmt", ".code-block .tok-fn", ".code-block .tok-str", ".container", ".divider-soft", ".eyebrow", ".feature-tag", ".feature-tag::before", ".features-grid", ".field", ".field input", ".field input::placeholder", ".field input:focus-visible", ".field label", ".field select", ".field select:focus-visible", ".field textarea", ".field textarea:focus-visible", ".field-help", ".form", ".form-row", ".hedgehog", ".hero-actions", ".hero-grid", ".hero-meta", ".hero-meta .dot", ".icon", ".lede", ".mono", ".nav-links", ".nav-links a", ".nav-links a:hover", ".nav-logo", ".nav-logo:hover", ".nav-row", ".panel", ".pill", ".pill-soft", ".pill-status", ".pill-status .dot", ".pill-warn", ".row-between", ".row-cluster", ".stack-2 > * + *", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-6 > * + *", ".trust-row", "*", "*::after", "*::before", "a", "a:focus-visible", "a:hover", "body", "code", "h1", "h2", "h3", "html", "kbd", "p", "section", "section + section" ], "classes": [ "body-meta", "body-muted", "body-sm", "btn", "btn-ghost", "btn-primary", "btn-secondary", "card", "code-block", "container", "divider-soft", "dot", "eyebrow", "feature-tag", "features-grid", "field", "field-help", "form", "form-row", "hedgehog", "hero-actions", "hero-grid", "hero-meta", "icon", "lede", "nav-links", "nav-logo", "nav-row", "panel", "pill", "pill-soft", "pill-status", "pill-warn", "row-between", "row-cluster", "stack-2", "stack-3", "stack-4", "tok-cmt", "tok-fn", "tok-str", "trust-row" ], "elements": [ "a", "article", "aside", "body", "button", "circle", "code", "div", "form", "h1", "h2", "h3", "head", "hr", "html", "input", "kbd", "label", "main", "meta", "nav", "option", "p", "path", "pre", "section", "select", "span", "strong", "style", "svg", "title" ], "groups": [ { "id": "buttons", "label": "Buttons and calls to action", "present": true, "selectors": [ ".btn", ".btn-ghost", ".btn-ghost:hover", ".btn-primary", ".btn-primary:active", ".btn-primary:hover", ".btn-secondary", ".btn-secondary:hover", ".btn:active", ".btn:focus-visible" ], "classes": [ "btn", "btn-ghost", "btn-primary", "btn-secondary" ], "elements": [ "button" ], "tokenReferences": [ "--border", "--ease-standard", "--fg", "--font-display", "--motion-fast", "--radius-sm", "--space-2", "--surface-warm", "--text-sm", "--warn" ] }, { "id": "inputs", "label": "Form fields and controls", "present": true, "selectors": [ ".field", ".field input", ".field input::placeholder", ".field input:focus-visible", ".field label", ".field select", ".field select:focus-visible", ".field textarea", ".field textarea:focus-visible", ".field-help" ], "classes": [ "field", "field-help", "form", "form-row" ], "elements": [ "form", "input", "label", "select" ], "tokenReferences": [ "--fg-2", "--font-display", "--meta", "--muted", "--text-sm", "--text-xs" ] }, { "id": "cards", "label": "Cards and panels", "present": true, "selectors": [ ".card", ".card-warm", ".card:hover", ".card:hover h3", ".panel" ], "classes": [ "card", "panel" ], "elements": [], "tokenReferences": [ "--accent", "--bg", "--border", "--ease-standard", "--elev-raised", "--motion-fast", "--radius-md", "--space-3", "--space-4", "--space-5" ] }, { "id": "badges", "label": "Badges, chips, and status labels", "present": true, "selectors": [ ".pill", ".pill-soft", ".pill-status", ".pill-status .dot", ".pill-warn" ], "classes": [ "pill", "pill-soft", "pill-status", "pill-warn" ], "elements": [], "tokenReferences": [ "--border", "--fg-2", "--surface", "--surface-warm" ] }, { "id": "links", "label": "Links and inline actions", "present": true, "selectors": [ ".nav-links a", ".nav-links a:hover", "a", "a:focus-visible", "a:hover" ], "classes": [], "elements": [ "a" ], "tokenReferences": [ "--border", "--ease-standard", "--fg-2", "--focus-ring", "--font-display", "--motion-fast", "--radius-sm" ] }, { "id": "keyboard", "label": "Keyboard hints", "present": true, "selectors": [ "kbd" ], "classes": [], "elements": [ "kbd" ], "tokenReferences": [ "--border", "--fg-2", "--radius-sm", "--surface" ] }, { "id": "icons", "label": "Icon slots", "present": true, "selectors": [ ".icon" ], "classes": [ "icon" ], "elements": [ "svg" ], "tokenReferences": [] }, { "id": "typography", "label": "Typography scale and text utilities", "present": true, "selectors": [ ".body-muted", ".body-sm", ".card:hover h3", ".eyebrow", "h1", "h2", "h3" ], "classes": [ "body-muted", "body-sm", "eyebrow" ], "elements": [ "h1", "h2", "h3", "p" ], "tokenReferences": [ "--accent", "--fg-2", "--font-display", "--leading-tight", "--muted", "--text-3xl", "--text-sm" ] }, { "id": "layout", "label": "Layout primitives", "present": true, "selectors": [ ".container", ".nav-links", ".nav-links a", ".nav-links a:hover", ".nav-logo", ".nav-logo:hover", ".nav-row", ".row-between", ".stack-2 > * + *", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-6 > * + *", "section", "section + section" ], "classes": [ "container", "features-grid", "hero-grid", "row-between", "stack-2", "stack-3", "stack-4" ], "elements": [ "main", "nav", "section" ], "tokenReferences": [ "--accent", "--border", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--fg-2", "--font-display", "--space-2", "--space-4" ] } ], "literals": { "colorExpressions": 0, "pixelValues": 38, "hardcodedFontFamilies": 13 } }