{ "schemaVersion": 1, "brandId": "perplexity", "source": { "componentsHtml": "components.html", "tokensCss": "tokens.css" }, "fixture": { "title": "Perplexity — reference components", "description": "Reference fixture for design-systems/perplexity. Every visible value comes from tokens.css. Perplexity's signature moves: flat near-black canvas, Inter for UI, JetBrains Mono for citations, purple accent used once per view, hairline borders instead of drop shadows, answer-first single-column layout.", "styleBlockCount": 1, "selectorCount": 52, "classCount": 23, "elementCount": 25 }, "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", "--accent-active", "--accent-hover", "--accent-on", "--bg", "--border", "--border-soft", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--ease-standard", "--elev-flat", "--fg", "--font-body", "--font-display", "--font-mono", "--leading-body", "--leading-tight", "--meta", "--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", "--surface", "--text-2xl", "--text-4xl", "--text-base", "--text-lg", "--text-sm", "--text-xl", "--text-xs", "--tracking-display" ], "unusedDeclared": [ "--danger", "--elev-raised", "--elev-ring", "--fg-2", "--focus-ring", "--motion-base", "--space-8", "--success", "--surface-warm", "--text-3xl", "--warn" ], "undeclaredReferenced": [] }, "selectors": [ ".body-muted", ".body-sm", ".btn", ".btn-ghost", ".btn-ghost:hover", ".btn-primary", ".btn-primary:active", ".btn-primary:hover", ".btn:focus-visible", ".card", ".card:hover", ".container", ".eyebrow", ".features-grid", ".field", ".field input", ".field input::placeholder", ".field input:focus", ".field label", ".hero-actions", ".hero-grid", ".icon", ".lead", ".mono", ".search", ".search input", ".search input::placeholder", ".search-submit", ".search:focus-within", ".search:focus-within .search-submit", ".source-badge", ".source-badge::before", ".source-row", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-5 > * + *", ".stack-6 > * + *", ".tab", ".tab[aria-current=\"page\"]", ".tabbar", "*", "*::after", "*::before", "body", "code", "h1", "h2", "h3", "html", "p", "section", "section + section" ], "classes": [ "body-sm", "btn", "btn-ghost", "btn-primary", "card", "container", "eyebrow", "features-grid", "field", "hero-actions", "hero-grid", "icon", "lead", "mono", "search", "search-submit", "source-badge", "source-row", "stack-3", "stack-4", "stack-5", "tab", "tabbar" ], "elements": [ "a", "article", "aside", "body", "button", "circle", "code", "div", "form", "h1", "h2", "h3", "head", "html", "input", "label", "main", "meta", "p", "path", "section", "span", "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:focus-visible" ], "classes": [ "btn", "btn-ghost", "btn-primary" ], "elements": [ "button" ], "tokenReferences": [ "--accent", "--accent-active", "--accent-on", "--border-soft", "--ease-standard", "--font-body", "--motion-fast", "--radius-md", "--space-2", "--text-base" ] }, { "id": "inputs", "label": "Form fields and controls", "present": true, "selectors": [ ".field", ".field input", ".field input::placeholder", ".field input:focus", ".field label", ".search input", ".search input::placeholder" ], "classes": [ "field" ], "elements": [ "form", "input", "label" ], "tokenReferences": [ "--accent", "--border", "--ease-standard", "--fg", "--font-body", "--motion-fast", "--radius-md", "--space-2", "--surface", "--text-base" ] }, { "id": "cards", "label": "Cards and panels", "present": true, "selectors": [ ".card", ".card:hover" ], "classes": [ "card" ], "elements": [], "tokenReferences": [ "--border", "--ease-standard", "--elev-flat", "--motion-fast", "--radius-lg", "--space-5", "--surface" ] }, { "id": "badges", "label": "Badges, chips, and status labels", "present": false, "selectors": [], "classes": [], "elements": [], "tokenReferences": [] }, { "id": "links", "label": "Links and inline actions", "present": true, "selectors": [], "classes": [], "elements": [ "a" ], "tokenReferences": [] }, { "id": "keyboard", "label": "Keyboard hints", "present": false, "selectors": [], "classes": [], "elements": [], "tokenReferences": [] }, { "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", ".eyebrow", ".lead", "h1", "h2", "h3" ], "classes": [ "body-sm", "eyebrow", "lead" ], "elements": [ "h1", "h2", "h3", "p" ], "tokenReferences": [ "--fg", "--font-display", "--font-mono", "--leading-tight", "--muted", "--text-2xl", "--text-xs" ] }, { "id": "layout", "label": "Layout primitives", "present": true, "selectors": [ ".container", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-5 > * + *", ".stack-6 > * + *", "section", "section + section" ], "classes": [ "container", "features-grid", "hero-grid", "stack-3", "stack-4", "stack-5" ], "elements": [ "main", "section" ], "tokenReferences": [ "--border", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--space-3", "--space-5" ] } ], "literals": { "colorExpressions": 0, "pixelValues": 30, "hardcodedFontFamilies": 8 } }