{ "schemaVersion": 1, "brandId": "tesla", "source": { "componentsHtml": "components.html", "tokensCss": "tokens.css" }, "fixture": { "title": "Tesla — reference components", "description": "Reference fixture for design-systems/tesla. Radical subtraction: pure-white canvas, single Electric Blue accent, Universal Sans typography capped at 40px, 0.33s universal transitions, and viewport-scale whitespace as the dominant composition device.", "styleBlockCount": 1, "selectorCount": 66, "classCount": 37, "elementCount": 29 }, "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", "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--ease-standard", "--elev-flat", "--fg", "--fg-2", "--focus-ring", "--font-body", "--font-display", "--font-mono", "--leading-body", "--leading-tight", "--meta", "--motion-base", "--motion-fast", "--muted", "--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", "--text-2xl", "--text-3xl", "--text-4xl", "--text-base", "--text-sm", "--text-xl", "--text-xs", "--tracking-display" ], "unusedDeclared": [ "--border-soft", "--danger", "--elev-raised", "--elev-ring", "--radius-lg", "--surface-warm", "--text-lg", "--warn" ], "undeclaredReferenced": [] }, "selectors": [ ".badge", ".badge-dot", ".badge-success", ".band-light", ".band-soft", ".body-meta", ".body-muted", ".body-sm", ".btn", ".btn-primary", ".btn-primary:active", ".btn-primary:hover", ".btn-secondary", ".btn-secondary:hover", ".btn:focus-visible", ".container", ".eyebrow", ".features-grid", ".field", ".field input", ".field input::placeholder", ".field input:focus-visible", ".field input:hover", ".field label", ".field-help", ".form", ".form-actions", ".form-row", ".hero-actions", ".hero-canvas", ".hero-canvas-label", ".hero-meta", ".hero-stage", ".icon", ".lead", ".nav", ".nav-brand", ".nav-inner", ".nav-links", ".nav-links a", ".nav-links a:hover", ".row-between", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-6 > * + *", ".stack-8 > * + *", ".text-link", ".text-link:hover", ".vehicle-card", ".vehicle-card .vehicle-image", ".vehicle-card .vehicle-image svg", ".vehicle-card .vehicle-links", ".vehicle-card .vehicle-name", "*", "*::after", "*::before", "a", "a:hover", "body", "h1", "h2", "h3", "html", "kbd", "p", "section" ], "classes": [ "badge", "badge-dot", "badge-success", "band-light", "band-soft", "body-muted", "body-sm", "btn", "btn-primary", "btn-secondary", "container", "eyebrow", "features-grid", "field", "field-help", "form", "form-actions", "form-row", "hero-actions", "hero-canvas", "hero-canvas-label", "hero-stage", "icon", "lead", "nav", "nav-brand", "nav-inner", "nav-links", "row-between", "stack-3", "stack-4", "stack-6", "text-link", "vehicle-card", "vehicle-image", "vehicle-links", "vehicle-name" ], "elements": [ "a", "article", "aside", "body", "button", "circle", "div", "form", "h1", "h2", "h3", "head", "header", "html", "input", "kbd", "label", "li", "main", "meta", "nav", "p", "path", "section", "span", "style", "svg", "title", "ul" ], "groups": [ { "id": "buttons", "label": "Buttons and calls to action", "present": true, "selectors": [ ".btn", ".btn-primary", ".btn-primary:active", ".btn-primary:hover", ".btn-secondary", ".btn-secondary:hover", ".btn:focus-visible" ], "classes": [ "btn", "btn-primary", "btn-secondary" ], "elements": [ "button" ], "tokenReferences": [ "--accent", "--accent-active", "--accent-on", "--ease-standard", "--font-body", "--meta", "--motion-base", "--motion-fast", "--radius-sm", "--space-2", "--surface", "--text-base" ] }, { "id": "inputs", "label": "Form fields and controls", "present": true, "selectors": [ ".field", ".field input", ".field input::placeholder", ".field input:focus-visible", ".field input:hover", ".field label", ".field-help", ".hero-canvas-label" ], "classes": [ "field", "field-help", "form", "form-actions", "form-row" ], "elements": [ "form", "input", "label" ], "tokenReferences": [ "--accent", "--fg", "--focus-ring", "--meta", "--text-base" ] }, { "id": "cards", "label": "Cards and panels", "present": false, "selectors": [], "classes": [], "elements": [], "tokenReferences": [] }, { "id": "badges", "label": "Badges, chips, and status labels", "present": true, "selectors": [ ".badge", ".badge-dot", ".badge-success" ], "classes": [ "badge", "badge-dot", "badge-success" ], "elements": [], "tokenReferences": [ "--success" ] }, { "id": "links", "label": "Links and inline actions", "present": true, "selectors": [ ".nav-links a", ".nav-links a:hover", "a", "a:hover" ], "classes": [], "elements": [ "a" ], "tokenReferences": [ "--ease-standard", "--motion-base", "--muted", "--surface" ] }, { "id": "keyboard", "label": "Keyboard hints", "present": true, "selectors": [ "kbd" ], "classes": [], "elements": [ "kbd" ], "tokenReferences": [ "--bg", "--border", "--fg", "--font-mono", "--radius-sm", "--text-xs" ] }, { "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-muted", "body-sm", "eyebrow", "lead" ], "elements": [ "h1", "h2", "h3", "p" ], "tokenReferences": [ "--fg", "--font-display", "--leading-tight", "--muted", "--text-3xl", "--text-sm", "--tracking-display" ] }, { "id": "layout", "label": "Layout primitives", "present": true, "selectors": [ ".container", ".nav", ".nav-brand", ".nav-inner", ".nav-links", ".nav-links a", ".nav-links a:hover", ".row-between", ".stack-3 > * + *", ".stack-4 > * + *", ".stack-6 > * + *", ".stack-8 > * + *", "section" ], "classes": [ "container", "features-grid", "row-between", "stack-3", "stack-4", "stack-6" ], "elements": [ "header", "main", "nav", "section" ], "tokenReferences": [ "--container-gutter-desktop", "--container-gutter-phone", "--container-gutter-tablet", "--container-max", "--space-2", "--space-3", "--space-6", "--surface" ] } ], "literals": { "colorExpressions": 5, "pixelValues": 36, "hardcodedFontFamilies": 10 } }