529 lines
10 KiB
JSON
529 lines
10 KiB
JSON
{
|
|||
|
|
"schemaVersion": 1,
|
||
|
|
"brandId": "resend",
|
||
|
|
"source": {
|
||
|
|
"componentsHtml": "components.html",
|
||
|
|
"tokensCss": "tokens.css"
|
||
|
|
},
|
||
|
|
"fixture": {
|
||
|
|
"title": "Resend — reference components",
|
||
|
|
"description": "Reference fixture for design-systems/resend. Every visible value comes from tokens.css; the page itself follows Resend's rules — void-black canvas, near-white text, frost-blue borders instead of gray, one accent at a time (Resend Orange), ABC Favorit with -0.05em display tracking, Inter for body, Commit Mono for code.",
|
||
|
|
"styleBlockCount": 1,
|
||
|
|
"selectorCount": 73,
|
||
|
|
"classCount": 39,
|
||
|
|
"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",
|
||
|
|
"--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-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",
|
||
|
|
"--text-3xl",
|
||
|
|
"--text-4xl",
|
||
|
|
"--text-base",
|
||
|
|
"--text-lg",
|
||
|
|
"--text-sm",
|
||
|
|
"--text-xl",
|
||
|
|
"--text-xs",
|
||
|
|
"--tracking-display",
|
||
|
|
"--warn"
|
||
|
|
],
|
||
|
|
"unusedDeclared": [
|
||
|
|
"--accent-active",
|
||
|
|
"--accent-hover",
|
||
|
|
"--accent-on",
|
||
|
|
"--danger",
|
||
|
|
"--elev-flat",
|
||
|
|
"--elev-ring",
|
||
|
|
"--surface-warm",
|
||
|
|
"--text-2xl"
|
||
|
|
],
|
||
|
|
"undeclaredReferenced": []
|
||
|
|
},
|
||
|
|
"selectors": [
|
||
|
|
".badge",
|
||
|
|
".badge-accent",
|
||
|
|
".badge-dot",
|
||
|
|
".badge-muted",
|
||
|
|
".badge-success",
|
||
|
|
".body-meta",
|
||
|
|
".body-muted",
|
||
|
|
".body-sm",
|
||
|
|
".btn",
|
||
|
|
".btn-ghost",
|
||
|
|
".btn-ghost:hover",
|
||
|
|
".btn-pill",
|
||
|
|
".btn-pill-white",
|
||
|
|
".btn-pill-white:hover",
|
||
|
|
".btn-pill:hover",
|
||
|
|
".btn:focus-visible",
|
||
|
|
".card",
|
||
|
|
".card:hover",
|
||
|
|
".code-panel",
|
||
|
|
".code-panel .tok-com",
|
||
|
|
".code-panel .tok-fn",
|
||
|
|
".code-panel .tok-key",
|
||
|
|
".code-panel .tok-str",
|
||
|
|
".code-panel pre",
|
||
|
|
".code-panel-dot",
|
||
|
|
".code-panel-head",
|
||
|
|
".code-panel-title",
|
||
|
|
".container",
|
||
|
|
".eyebrow",
|
||
|
|
".feature-card .feature-icon",
|
||
|
|
".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",
|
||
|
|
".hero .eyebrow",
|
||
|
|
".hero .lede",
|
||
|
|
".hero > *",
|
||
|
|
".hero h1",
|
||
|
|
".hero-actions",
|
||
|
|
".hero-meta",
|
||
|
|
".hero::before",
|
||
|
|
".icon",
|
||
|
|
".lede",
|
||
|
|
".row-between",
|
||
|
|
".stack-3 > * + *",
|
||
|
|
".stack-4 > * + *",
|
||
|
|
".stack-6 > * + *",
|
||
|
|
"*",
|
||
|
|
"*::after",
|
||
|
|
"*::before",
|
||
|
|
"a",
|
||
|
|
"a:focus-visible",
|
||
|
|
"a:hover",
|
||
|
|
"a.link-accent",
|
||
|
|
"a.link-accent:hover",
|
||
|
|
"body",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"h4",
|
||
|
|
"html",
|
||
|
|
"kbd",
|
||
|
|
"p",
|
||
|
|
"section",
|
||
|
|
"section + section"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"badge",
|
||
|
|
"badge-dot",
|
||
|
|
"badge-muted",
|
||
|
|
"badge-success",
|
||
|
|
"body-meta",
|
||
|
|
"body-muted",
|
||
|
|
"body-sm",
|
||
|
|
"btn",
|
||
|
|
"btn-ghost",
|
||
|
|
"btn-pill",
|
||
|
|
"btn-pill-white",
|
||
|
|
"card",
|
||
|
|
"code-panel",
|
||
|
|
"code-panel-dot",
|
||
|
|
"code-panel-head",
|
||
|
|
"code-panel-title",
|
||
|
|
"container",
|
||
|
|
"eyebrow",
|
||
|
|
"feature-card",
|
||
|
|
"feature-icon",
|
||
|
|
"features-grid",
|
||
|
|
"field",
|
||
|
|
"field-help",
|
||
|
|
"form",
|
||
|
|
"form-actions",
|
||
|
|
"form-row",
|
||
|
|
"hero",
|
||
|
|
"hero-actions",
|
||
|
|
"hero-meta",
|
||
|
|
"icon",
|
||
|
|
"lede",
|
||
|
|
"link-accent",
|
||
|
|
"row-between",
|
||
|
|
"stack-3",
|
||
|
|
"stack-4",
|
||
|
|
"tok-com",
|
||
|
|
"tok-fn",
|
||
|
|
"tok-key",
|
||
|
|
"tok-str"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"a",
|
||
|
|
"article",
|
||
|
|
"body",
|
||
|
|
"button",
|
||
|
|
"code",
|
||
|
|
"div",
|
||
|
|
"form",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"head",
|
||
|
|
"html",
|
||
|
|
"input",
|
||
|
|
"kbd",
|
||
|
|
"label",
|
||
|
|
"main",
|
||
|
|
"meta",
|
||
|
|
"p",
|
||
|
|
"path",
|
||
|
|
"pre",
|
||
|
|
"section",
|
||
|
|
"span",
|
||
|
|
"style",
|
||
|
|
"svg",
|
||
|
|
"title"
|
||
|
|
],
|
||
|
|
"groups": [
|
||
|
|
{
|
||
|
|
"id": "buttons",
|
||
|
|
"label": "Buttons and calls to action",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".btn",
|
||
|
|
".btn-ghost",
|
||
|
|
".btn-ghost:hover",
|
||
|
|
".btn-pill",
|
||
|
|
".btn-pill-white",
|
||
|
|
".btn-pill-white:hover",
|
||
|
|
".btn-pill:hover",
|
||
|
|
".btn:focus-visible"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"btn",
|
||
|
|
"btn-ghost",
|
||
|
|
"btn-pill",
|
||
|
|
"btn-pill-white"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"button"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--border",
|
||
|
|
"--ease-standard",
|
||
|
|
"--fg",
|
||
|
|
"--fg-2",
|
||
|
|
"--font-body",
|
||
|
|
"--motion-fast",
|
||
|
|
"--radius-pill",
|
||
|
|
"--radius-sm",
|
||
|
|
"--space-2",
|
||
|
|
"--space-3",
|
||
|
|
"--text-sm"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"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": [
|
||
|
|
"--border",
|
||
|
|
"--ease-standard",
|
||
|
|
"--fg",
|
||
|
|
"--motion-fast",
|
||
|
|
"--muted",
|
||
|
|
"--radius-sm",
|
||
|
|
"--space-2",
|
||
|
|
"--surface",
|
||
|
|
"--text-sm",
|
||
|
|
"--text-xs"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "cards",
|
||
|
|
"label": "Cards and panels",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".card",
|
||
|
|
".card:hover"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"card"
|
||
|
|
],
|
||
|
|
"elements": [],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--bg",
|
||
|
|
"--border"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "badges",
|
||
|
|
"label": "Badges, chips, and status labels",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".badge",
|
||
|
|
".badge-accent",
|
||
|
|
".badge-dot",
|
||
|
|
".badge-muted",
|
||
|
|
".badge-success"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"badge",
|
||
|
|
"badge-dot",
|
||
|
|
"badge-muted",
|
||
|
|
"badge-success"
|
||
|
|
],
|
||
|
|
"elements": [],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--accent",
|
||
|
|
"--success"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "links",
|
||
|
|
"label": "Links and inline actions",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
"a",
|
||
|
|
"a:focus-visible",
|
||
|
|
"a:hover",
|
||
|
|
"a.link-accent",
|
||
|
|
"a.link-accent:hover"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"link-accent"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"a"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--accent",
|
||
|
|
"--border",
|
||
|
|
"--ease-standard",
|
||
|
|
"--fg",
|
||
|
|
"--focus-ring",
|
||
|
|
"--motion-fast"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "keyboard",
|
||
|
|
"label": "Keyboard hints",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
"kbd"
|
||
|
|
],
|
||
|
|
"classes": [],
|
||
|
|
"elements": [
|
||
|
|
"kbd"
|
||
|
|
],
|
||
|
|
"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",
|
||
|
|
".hero .eyebrow",
|
||
|
|
".hero h1",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"h4"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"body-muted",
|
||
|
|
"body-sm",
|
||
|
|
"eyebrow"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"p"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--fg",
|
||
|
|
"--font-display",
|
||
|
|
"--font-mono",
|
||
|
|
"--leading-tight",
|
||
|
|
"--muted",
|
||
|
|
"--space-6",
|
||
|
|
"--text-3xl",
|
||
|
|
"--text-lg",
|
||
|
|
"--text-xs",
|
||
|
|
"--tracking-display"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "layout",
|
||
|
|
"label": "Layout primitives",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".container",
|
||
|
|
".row-between",
|
||
|
|
".stack-3 > * + *",
|
||
|
|
".stack-4 > * + *",
|
||
|
|
".stack-6 > * + *",
|
||
|
|
"section",
|
||
|
|
"section + section"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"container",
|
||
|
|
"features-grid",
|
||
|
|
"row-between",
|
||
|
|
"stack-3",
|
||
|
|
"stack-4"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"main",
|
||
|
|
"section"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--border",
|
||
|
|
"--container-gutter-desktop",
|
||
|
|
"--container-gutter-phone",
|
||
|
|
"--container-gutter-tablet",
|
||
|
|
"--container-max",
|
||
|
|
"--space-3",
|
||
|
|
"--space-4"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"literals": {
|
||
|
|
"colorExpressions": 16,
|
||
|
|
"pixelValues": 42,
|
||
|
|
"hardcodedFontFamilies": 12
|
||
|
|
}
|
||
|
|
}
|