nexu-io--open-design
423 行
8.3 KiB
JSON
423 行
8.3 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"brandId": "github",
|
|
"source": {
|
|
"componentsHtml": "components.html",
|
|
"tokensCss": "tokens.css"
|
|
},
|
|
"fixture": {
|
|
"title": "GitHub — reference components",
|
|
"description": "Reference fixture for design-systems/github. Every visible value comes from tokens.css. GitHub's signature moves: true white canvas, hairline borders (#d0d7de), Primer blue CTAs, GitHub green for success/merge, system-ui fonts, 14px body density.",
|
|
"styleBlockCount": 1,
|
|
"selectorCount": 44,
|
|
"classCount": 21,
|
|
"elementCount": 21
|
|
},
|
|
"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",
|
|
"--container-gutter-desktop",
|
|
"--container-gutter-phone",
|
|
"--container-gutter-tablet",
|
|
"--container-max",
|
|
"--ease-standard",
|
|
"--fg",
|
|
"--focus-ring",
|
|
"--font-body",
|
|
"--font-display",
|
|
"--font-mono",
|
|
"--leading-body",
|
|
"--leading-tight",
|
|
"--motion-fast",
|
|
"--muted",
|
|
"--radius-pill",
|
|
"--radius-sm",
|
|
"--section-y-desktop",
|
|
"--section-y-phone",
|
|
"--section-y-tablet",
|
|
"--space-1",
|
|
"--space-12",
|
|
"--space-2",
|
|
"--space-3",
|
|
"--space-4",
|
|
"--space-6",
|
|
"--space-8",
|
|
"--success",
|
|
"--surface",
|
|
"--text-4xl",
|
|
"--text-base",
|
|
"--text-lg",
|
|
"--text-sm",
|
|
"--text-xl",
|
|
"--text-xs",
|
|
"--tracking-display"
|
|
],
|
|
"unusedDeclared": [
|
|
"--accent-active",
|
|
"--accent-hover",
|
|
"--accent-on",
|
|
"--border-soft",
|
|
"--danger",
|
|
"--elev-flat",
|
|
"--elev-raised",
|
|
"--elev-ring",
|
|
"--fg-2",
|
|
"--meta",
|
|
"--motion-base",
|
|
"--radius-lg",
|
|
"--radius-md",
|
|
"--space-5",
|
|
"--surface-warm",
|
|
"--text-2xl",
|
|
"--text-3xl",
|
|
"--warn"
|
|
],
|
|
"undeclaredReferenced": []
|
|
},
|
|
"selectors": [
|
|
".body-muted",
|
|
".body-sm",
|
|
".body-xs",
|
|
".box",
|
|
".box-body",
|
|
".box-header",
|
|
".btn",
|
|
".btn-default",
|
|
".btn-default:hover",
|
|
".btn-outline",
|
|
".btn-outline:hover",
|
|
".btn-primary",
|
|
".btn-primary:hover",
|
|
".btn:focus-visible",
|
|
".container",
|
|
".eyebrow",
|
|
".features-grid",
|
|
".field",
|
|
".field input",
|
|
".field input::placeholder",
|
|
".field input:focus",
|
|
".field label",
|
|
".hero-actions",
|
|
".hero-grid",
|
|
".icon",
|
|
".stack-3 > * + *",
|
|
".stack-4 > * + *",
|
|
".status-closed",
|
|
".status-draft",
|
|
".status-merged",
|
|
".status-open",
|
|
".status-pill",
|
|
"*",
|
|
"*::after",
|
|
"*::before",
|
|
"body",
|
|
"code",
|
|
"h1",
|
|
"h2",
|
|
"h3",
|
|
"html",
|
|
"p",
|
|
"section",
|
|
"section + section"
|
|
],
|
|
"classes": [
|
|
"body-muted",
|
|
"body-sm",
|
|
"box",
|
|
"box-body",
|
|
"box-header",
|
|
"btn",
|
|
"btn-default",
|
|
"btn-primary",
|
|
"container",
|
|
"eyebrow",
|
|
"features-grid",
|
|
"field",
|
|
"hero-actions",
|
|
"hero-grid",
|
|
"stack-3",
|
|
"stack-4",
|
|
"status-closed",
|
|
"status-draft",
|
|
"status-merged",
|
|
"status-open",
|
|
"status-pill"
|
|
],
|
|
"elements": [
|
|
"a",
|
|
"article",
|
|
"aside",
|
|
"body",
|
|
"button",
|
|
"code",
|
|
"div",
|
|
"form",
|
|
"h1",
|
|
"h2",
|
|
"head",
|
|
"html",
|
|
"input",
|
|
"label",
|
|
"main",
|
|
"meta",
|
|
"p",
|
|
"section",
|
|
"span",
|
|
"style",
|
|
"title"
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": "buttons",
|
|
"label": "Buttons and calls to action",
|
|
"present": true,
|
|
"selectors": [
|
|
".btn",
|
|
".btn-default",
|
|
".btn-default:hover",
|
|
".btn-outline",
|
|
".btn-outline:hover",
|
|
".btn-primary",
|
|
".btn-primary:hover",
|
|
".btn:focus-visible"
|
|
],
|
|
"classes": [
|
|
"btn",
|
|
"btn-default",
|
|
"btn-primary"
|
|
],
|
|
"elements": [
|
|
"button"
|
|
],
|
|
"tokenReferences": [
|
|
"--accent",
|
|
"--bg",
|
|
"--border",
|
|
"--ease-standard",
|
|
"--fg",
|
|
"--font-body",
|
|
"--motion-fast",
|
|
"--radius-sm",
|
|
"--space-2",
|
|
"--surface",
|
|
"--text-sm"
|
|
]
|
|
},
|
|
{
|
|
"id": "inputs",
|
|
"label": "Form fields and controls",
|
|
"present": true,
|
|
"selectors": [
|
|
".field",
|
|
".field input",
|
|
".field input::placeholder",
|
|
".field input:focus",
|
|
".field label"
|
|
],
|
|
"classes": [
|
|
"field"
|
|
],
|
|
"elements": [
|
|
"form",
|
|
"input",
|
|
"label"
|
|
],
|
|
"tokenReferences": [
|
|
"--accent",
|
|
"--bg",
|
|
"--border",
|
|
"--ease-standard",
|
|
"--fg",
|
|
"--focus-ring",
|
|
"--font-body",
|
|
"--motion-fast",
|
|
"--radius-sm",
|
|
"--space-2",
|
|
"--text-sm"
|
|
]
|
|
},
|
|
{
|
|
"id": "cards",
|
|
"label": "Cards and panels",
|
|
"present": false,
|
|
"selectors": [],
|
|
"classes": [],
|
|
"elements": [],
|
|
"tokenReferences": []
|
|
},
|
|
{
|
|
"id": "badges",
|
|
"label": "Badges, chips, and status labels",
|
|
"present": true,
|
|
"selectors": [],
|
|
"classes": [
|
|
"status-closed",
|
|
"status-draft",
|
|
"status-merged",
|
|
"status-open",
|
|
"status-pill"
|
|
],
|
|
"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": [],
|
|
"elements": [],
|
|
"tokenReferences": []
|
|
},
|
|
{
|
|
"id": "typography",
|
|
"label": "Typography scale and text utilities",
|
|
"present": true,
|
|
"selectors": [
|
|
".body-muted",
|
|
".body-sm",
|
|
".eyebrow",
|
|
"h1",
|
|
"h2",
|
|
"h3"
|
|
],
|
|
"classes": [
|
|
"body-muted",
|
|
"body-sm",
|
|
"eyebrow"
|
|
],
|
|
"elements": [
|
|
"h1",
|
|
"h2",
|
|
"p"
|
|
],
|
|
"tokenReferences": [
|
|
"--font-display",
|
|
"--leading-tight",
|
|
"--muted",
|
|
"--text-sm",
|
|
"--text-xl",
|
|
"--text-xs"
|
|
]
|
|
},
|
|
{
|
|
"id": "layout",
|
|
"label": "Layout primitives",
|
|
"present": true,
|
|
"selectors": [
|
|
".container",
|
|
".stack-3 > * + *",
|
|
".stack-4 > * + *",
|
|
"section",
|
|
"section + section"
|
|
],
|
|
"classes": [
|
|
"container",
|
|
"features-grid",
|
|
"hero-grid",
|
|
"stack-3",
|
|
"stack-4"
|
|
],
|
|
"elements": [
|
|
"main",
|
|
"section"
|
|
],
|
|
"tokenReferences": [
|
|
"--border",
|
|
"--container-gutter-desktop",
|
|
"--container-gutter-phone",
|
|
"--container-gutter-tablet",
|
|
"--container-max",
|
|
"--space-3"
|
|
]
|
|
}
|
|
],
|
|
"literals": {
|
|
"colorExpressions": 9,
|
|
"pixelValues": 22,
|
|
"hardcodedFontFamilies": 5
|
|
}
|
|
}
|