536 lines
10 KiB
JSON
536 lines
10 KiB
JSON
{
|
|||
|
|
"schemaVersion": 1,
|
||
|
|
"brandId": "apple",
|
||
|
|
"source": {
|
||
|
|
"componentsHtml": "components.html",
|
||
|
|
"tokensCss": "tokens.css"
|
||
|
|
},
|
||
|
|
"fixture": {
|
||
|
|
"title": "Apple — reference components",
|
||
|
|
"description": "Reference fixture for design-systems/apple. Every visible token comes from tokens.css; the page itself follows Apple's editorial rules — pale-gray feature ladder over white, single Apple Action Blue accent capped at ≤2 visible uses per screen, SF Pro display at compressed tracking, and the signature 980px capsule CTA.",
|
||
|
|
"styleBlockCount": 1,
|
||
|
|
"selectorCount": 70,
|
||
|
|
"classCount": 35,
|
||
|
|
"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",
|
||
|
|
"--border-soft",
|
||
|
|
"--container-gutter-desktop",
|
||
|
|
"--container-gutter-phone",
|
||
|
|
"--container-gutter-tablet",
|
||
|
|
"--container-max",
|
||
|
|
"--ease-standard",
|
||
|
|
"--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-12",
|
||
|
|
"--space-2",
|
||
|
|
"--space-3",
|
||
|
|
"--space-4",
|
||
|
|
"--space-5",
|
||
|
|
"--space-6",
|
||
|
|
"--space-8",
|
||
|
|
"--success",
|
||
|
|
"--surface",
|
||
|
|
"--surface-warm",
|
||
|
|
"--text-2xl",
|
||
|
|
"--text-3xl",
|
||
|
|
"--text-base",
|
||
|
|
"--text-lg",
|
||
|
|
"--text-sm",
|
||
|
|
"--text-xl",
|
||
|
|
"--text-xs",
|
||
|
|
"--tracking-display"
|
||
|
|
],
|
||
|
|
"unusedDeclared": [
|
||
|
|
"--danger",
|
||
|
|
"--elev-flat",
|
||
|
|
"--space-1",
|
||
|
|
"--text-4xl",
|
||
|
|
"--warn"
|
||
|
|
],
|
||
|
|
"undeclaredReferenced": []
|
||
|
|
},
|
||
|
|
"selectors": [
|
||
|
|
".badge",
|
||
|
|
".badge-dot",
|
||
|
|
".badge-muted",
|
||
|
|
".badge-success",
|
||
|
|
".band-light",
|
||
|
|
".band-soft",
|
||
|
|
".band-warm",
|
||
|
|
".body-meta",
|
||
|
|
".body-muted",
|
||
|
|
".body-sm",
|
||
|
|
".btn",
|
||
|
|
".btn-pill",
|
||
|
|
".btn-pill-secondary",
|
||
|
|
".btn-pill-secondary:active",
|
||
|
|
".btn-pill-secondary:hover",
|
||
|
|
".btn-pill:active",
|
||
|
|
".btn-pill:focus-visible",
|
||
|
|
".btn-pill:hover",
|
||
|
|
".btn-primary",
|
||
|
|
".btn-primary:active",
|
||
|
|
".btn-primary:hover",
|
||
|
|
".btn-secondary",
|
||
|
|
".btn-secondary:hover",
|
||
|
|
".btn:active",
|
||
|
|
".btn:focus-visible",
|
||
|
|
".card",
|
||
|
|
".card-feature",
|
||
|
|
".card:hover",
|
||
|
|
".container",
|
||
|
|
".eyebrow",
|
||
|
|
".features-grid",
|
||
|
|
".features-grid > :first-child",
|
||
|
|
".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-grid",
|
||
|
|
".hero-meta",
|
||
|
|
".icon",
|
||
|
|
".lead",
|
||
|
|
".nav",
|
||
|
|
".nav-brand",
|
||
|
|
".nav-inner",
|
||
|
|
".nav-links",
|
||
|
|
".nav-links a",
|
||
|
|
".nav-links a:hover",
|
||
|
|
".row-between",
|
||
|
|
".stack-3 > * + *",
|
||
|
|
".stack-4 > * + *",
|
||
|
|
".stack-6 > * + *",
|
||
|
|
"*",
|
||
|
|
"*::after",
|
||
|
|
"*::before",
|
||
|
|
"a",
|
||
|
|
"a:hover",
|
||
|
|
"body",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"html",
|
||
|
|
"kbd",
|
||
|
|
"p",
|
||
|
|
"section"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"badge",
|
||
|
|
"badge-dot",
|
||
|
|
"badge-success",
|
||
|
|
"band-light",
|
||
|
|
"band-soft",
|
||
|
|
"band-warm",
|
||
|
|
"body-muted",
|
||
|
|
"body-sm",
|
||
|
|
"btn",
|
||
|
|
"btn-pill",
|
||
|
|
"btn-pill-secondary",
|
||
|
|
"btn-primary",
|
||
|
|
"btn-secondary",
|
||
|
|
"card",
|
||
|
|
"card-feature",
|
||
|
|
"container",
|
||
|
|
"eyebrow",
|
||
|
|
"features-grid",
|
||
|
|
"field",
|
||
|
|
"field-help",
|
||
|
|
"form",
|
||
|
|
"form-actions",
|
||
|
|
"form-row",
|
||
|
|
"hero-actions",
|
||
|
|
"hero-grid",
|
||
|
|
"hero-meta",
|
||
|
|
"icon",
|
||
|
|
"lead",
|
||
|
|
"nav",
|
||
|
|
"nav-brand",
|
||
|
|
"nav-inner",
|
||
|
|
"nav-links",
|
||
|
|
"row-between",
|
||
|
|
"stack-3",
|
||
|
|
"stack-4"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"a",
|
||
|
|
"article",
|
||
|
|
"aside",
|
||
|
|
"body",
|
||
|
|
"button",
|
||
|
|
"div",
|
||
|
|
"form",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"head",
|
||
|
|
"header",
|
||
|
|
"html",
|
||
|
|
"input",
|
||
|
|
"kbd",
|
||
|
|
"label",
|
||
|
|
"li",
|
||
|
|
"main",
|
||
|
|
"meta",
|
||
|
|
"nav",
|
||
|
|
"p",
|
||
|
|
"path",
|
||
|
|
"section",
|
||
|
|
"span",
|
||
|
|
"style",
|
||
|
|
"svg",
|
||
|
|
"time",
|
||
|
|
"title",
|
||
|
|
"ul"
|
||
|
|
],
|
||
|
|
"groups": [
|
||
|
|
{
|
||
|
|
"id": "buttons",
|
||
|
|
"label": "Buttons and calls to action",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".btn",
|
||
|
|
".btn-pill",
|
||
|
|
".btn-pill-secondary",
|
||
|
|
".btn-pill-secondary:active",
|
||
|
|
".btn-pill-secondary:hover",
|
||
|
|
".btn-pill:active",
|
||
|
|
".btn-pill:focus-visible",
|
||
|
|
".btn-pill:hover",
|
||
|
|
".btn-primary",
|
||
|
|
".btn-primary:active",
|
||
|
|
".btn-primary:hover",
|
||
|
|
".btn-secondary",
|
||
|
|
".btn-secondary:hover",
|
||
|
|
".btn:active",
|
||
|
|
".btn:focus-visible"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"btn",
|
||
|
|
"btn-pill",
|
||
|
|
"btn-pill-secondary",
|
||
|
|
"btn-primary",
|
||
|
|
"btn-secondary"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"button"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--accent",
|
||
|
|
"--accent-active",
|
||
|
|
"--accent-hover",
|
||
|
|
"--accent-on",
|
||
|
|
"--focus-ring",
|
||
|
|
"--meta",
|
||
|
|
"--surface"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"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"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"field",
|
||
|
|
"field-help",
|
||
|
|
"form",
|
||
|
|
"form-actions",
|
||
|
|
"form-row"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"form",
|
||
|
|
"input",
|
||
|
|
"label"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--bg",
|
||
|
|
"--border",
|
||
|
|
"--ease-standard",
|
||
|
|
"--fg",
|
||
|
|
"--font-body",
|
||
|
|
"--meta",
|
||
|
|
"--motion-fast",
|
||
|
|
"--muted",
|
||
|
|
"--radius-sm",
|
||
|
|
"--space-2",
|
||
|
|
"--text-base",
|
||
|
|
"--text-xs"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "cards",
|
||
|
|
"label": "Cards and panels",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".card",
|
||
|
|
".card-feature",
|
||
|
|
".card:hover"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"card",
|
||
|
|
"card-feature"
|
||
|
|
],
|
||
|
|
"elements": [],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--elev-raised"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "badges",
|
||
|
|
"label": "Badges, chips, and status labels",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".badge",
|
||
|
|
".badge-dot",
|
||
|
|
".badge-muted",
|
||
|
|
".badge-success"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"badge",
|
||
|
|
"badge-dot",
|
||
|
|
"badge-success"
|
||
|
|
],
|
||
|
|
"elements": [],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--font-body",
|
||
|
|
"--muted",
|
||
|
|
"--radius-pill",
|
||
|
|
"--space-2",
|
||
|
|
"--space-3",
|
||
|
|
"--text-xs"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "links",
|
||
|
|
"label": "Links and inline actions",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".nav-links a",
|
||
|
|
".nav-links a:hover",
|
||
|
|
"a",
|
||
|
|
"a:hover"
|
||
|
|
],
|
||
|
|
"classes": [],
|
||
|
|
"elements": [
|
||
|
|
"a"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--accent-active"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "keyboard",
|
||
|
|
"label": "Keyboard hints",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
"kbd"
|
||
|
|
],
|
||
|
|
"classes": [],
|
||
|
|
"elements": [
|
||
|
|
"kbd"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--bg",
|
||
|
|
"--border",
|
||
|
|
"--fg-2",
|
||
|
|
"--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",
|
||
|
|
"--muted",
|
||
|
|
"--text-2xl",
|
||
|
|
"--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 > * + *",
|
||
|
|
"section"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"container",
|
||
|
|
"features-grid",
|
||
|
|
"hero-grid",
|
||
|
|
"row-between",
|
||
|
|
"stack-3",
|
||
|
|
"stack-4"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"header",
|
||
|
|
"main",
|
||
|
|
"nav",
|
||
|
|
"section"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--container-gutter-desktop",
|
||
|
|
"--container-gutter-phone",
|
||
|
|
"--container-gutter-tablet",
|
||
|
|
"--container-max",
|
||
|
|
"--space-3",
|
||
|
|
"--space-6"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"literals": {
|
||
|
|
"colorExpressions": 3,
|
||
|
|
"pixelValues": 32,
|
||
|
|
"hardcodedFontFamilies": 9
|
||
|
|
}
|
||
|
|
}
|