457 lines
8.7 KiB
JSON
457 lines
8.7 KiB
JSON
{
|
|||
|
|
"schemaVersion": 1,
|
||
|
|
"brandId": "lovable",
|
||
|
|
"source": {
|
||
|
|
"componentsHtml": "components.html",
|
||
|
|
"tokensCss": "tokens.css"
|
||
|
|
},
|
||
|
|
"fixture": {
|
||
|
|
"title": "Lovable — reference components",
|
||
|
|
"description": "Reference fixture for design-systems/lovable. Warm parchment canvas (#f7f4ed), opacity-driven gray ramp from charcoal #1c1c1c, Camera Plain Variable display type with -1.5px tracking, borders-not-shadows for cards, the signature inset-shadow on dark CTAs.",
|
||
|
|
"styleBlockCount": 1,
|
||
|
|
"selectorCount": 51,
|
||
|
|
"classCount": 24,
|
||
|
|
"elementCount": 26
|
||
|
|
},
|
||
|
|
"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",
|
||
|
|
"--elev-flat",
|
||
|
|
"--fg",
|
||
|
|
"--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-12",
|
||
|
|
"--space-2",
|
||
|
|
"--space-3",
|
||
|
|
"--space-4",
|
||
|
|
"--space-5",
|
||
|
|
"--space-6",
|
||
|
|
"--space-8",
|
||
|
|
"--surface",
|
||
|
|
"--text-3xl",
|
||
|
|
"--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-raised",
|
||
|
|
"--elev-ring",
|
||
|
|
"--fg-2",
|
||
|
|
"--radius-lg",
|
||
|
|
"--space-1",
|
||
|
|
"--success",
|
||
|
|
"--surface-warm",
|
||
|
|
"--text-2xl",
|
||
|
|
"--warn"
|
||
|
|
],
|
||
|
|
"undeclaredReferenced": []
|
||
|
|
},
|
||
|
|
"selectors": [
|
||
|
|
".body-muted",
|
||
|
|
".body-sm",
|
||
|
|
".btn",
|
||
|
|
".btn-ghost",
|
||
|
|
".btn-ghost:hover",
|
||
|
|
".btn-primary",
|
||
|
|
".btn-primary:hover",
|
||
|
|
".btn:active",
|
||
|
|
".btn:focus-visible",
|
||
|
|
".card",
|
||
|
|
".card:hover",
|
||
|
|
".container",
|
||
|
|
".eyebrow",
|
||
|
|
".features-grid",
|
||
|
|
".field",
|
||
|
|
".field input",
|
||
|
|
".field input::placeholder",
|
||
|
|
".field input:focus-visible",
|
||
|
|
".field label",
|
||
|
|
".field textarea",
|
||
|
|
".field textarea::placeholder",
|
||
|
|
".field textarea:focus-visible",
|
||
|
|
".field-help",
|
||
|
|
".form",
|
||
|
|
".form-actions",
|
||
|
|
".form-row",
|
||
|
|
".hero-actions",
|
||
|
|
".hero-grid",
|
||
|
|
".hero-meta",
|
||
|
|
".icon",
|
||
|
|
".lead",
|
||
|
|
".pill",
|
||
|
|
".pill-dot",
|
||
|
|
".row-between",
|
||
|
|
".stack-3 > * + *",
|
||
|
|
".stack-4 > * + *",
|
||
|
|
".stack-6 > * + *",
|
||
|
|
"*",
|
||
|
|
"*::after",
|
||
|
|
"*::before",
|
||
|
|
"a",
|
||
|
|
"a:hover",
|
||
|
|
"body",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"html",
|
||
|
|
"kbd",
|
||
|
|
"p",
|
||
|
|
"section",
|
||
|
|
"section + section"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"body-muted",
|
||
|
|
"body-sm",
|
||
|
|
"btn",
|
||
|
|
"btn-ghost",
|
||
|
|
"btn-primary",
|
||
|
|
"card",
|
||
|
|
"container",
|
||
|
|
"eyebrow",
|
||
|
|
"features-grid",
|
||
|
|
"field",
|
||
|
|
"field-help",
|
||
|
|
"form",
|
||
|
|
"form-actions",
|
||
|
|
"form-row",
|
||
|
|
"hero-actions",
|
||
|
|
"hero-grid",
|
||
|
|
"hero-meta",
|
||
|
|
"icon",
|
||
|
|
"lead",
|
||
|
|
"pill",
|
||
|
|
"pill-dot",
|
||
|
|
"row-between",
|
||
|
|
"stack-3",
|
||
|
|
"stack-4"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"a",
|
||
|
|
"article",
|
||
|
|
"aside",
|
||
|
|
"body",
|
||
|
|
"br",
|
||
|
|
"button",
|
||
|
|
"div",
|
||
|
|
"form",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"head",
|
||
|
|
"html",
|
||
|
|
"kbd",
|
||
|
|
"label",
|
||
|
|
"main",
|
||
|
|
"meta",
|
||
|
|
"p",
|
||
|
|
"path",
|
||
|
|
"section",
|
||
|
|
"span",
|
||
|
|
"style",
|
||
|
|
"svg",
|
||
|
|
"textarea",
|
||
|
|
"time",
|
||
|
|
"title"
|
||
|
|
],
|
||
|
|
"groups": [
|
||
|
|
{
|
||
|
|
"id": "buttons",
|
||
|
|
"label": "Buttons and calls to action",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".btn",
|
||
|
|
".btn-ghost",
|
||
|
|
".btn-ghost:hover",
|
||
|
|
".btn-primary",
|
||
|
|
".btn-primary:hover",
|
||
|
|
".btn:active",
|
||
|
|
".btn:focus-visible"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"btn",
|
||
|
|
"btn-ghost",
|
||
|
|
"btn-primary"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"button"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--ease-standard",
|
||
|
|
"--focus-ring",
|
||
|
|
"--font-body",
|
||
|
|
"--motion-fast",
|
||
|
|
"--radius-sm",
|
||
|
|
"--space-2",
|
||
|
|
"--space-4",
|
||
|
|
"--text-base"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "inputs",
|
||
|
|
"label": "Form fields and controls",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".field",
|
||
|
|
".field input",
|
||
|
|
".field input::placeholder",
|
||
|
|
".field input:focus-visible",
|
||
|
|
".field label",
|
||
|
|
".field textarea",
|
||
|
|
".field textarea::placeholder",
|
||
|
|
".field textarea:focus-visible",
|
||
|
|
".field-help"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"field",
|
||
|
|
"field-help",
|
||
|
|
"form",
|
||
|
|
"form-actions",
|
||
|
|
"form-row"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"form",
|
||
|
|
"label",
|
||
|
|
"textarea"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--muted",
|
||
|
|
"--text-sm"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "cards",
|
||
|
|
"label": "Cards and panels",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".card",
|
||
|
|
".card:hover"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"card"
|
||
|
|
],
|
||
|
|
"elements": [],
|
||
|
|
"tokenReferences": []
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "badges",
|
||
|
|
"label": "Badges, chips, and status labels",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".pill",
|
||
|
|
".pill-dot"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"pill",
|
||
|
|
"pill-dot"
|
||
|
|
],
|
||
|
|
"elements": [],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--accent"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "links",
|
||
|
|
"label": "Links and inline actions",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
"a",
|
||
|
|
"a:hover"
|
||
|
|
],
|
||
|
|
"classes": [],
|
||
|
|
"elements": [
|
||
|
|
"a"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--accent"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"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",
|
||
|
|
".lead",
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"body-muted",
|
||
|
|
"body-sm",
|
||
|
|
"eyebrow",
|
||
|
|
"lead"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"h1",
|
||
|
|
"h2",
|
||
|
|
"h3",
|
||
|
|
"p"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--font-display",
|
||
|
|
"--leading-tight",
|
||
|
|
"--muted",
|
||
|
|
"--text-3xl",
|
||
|
|
"--text-sm"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "layout",
|
||
|
|
"label": "Layout primitives",
|
||
|
|
"present": true,
|
||
|
|
"selectors": [
|
||
|
|
".container",
|
||
|
|
".row-between",
|
||
|
|
".stack-3 > * + *",
|
||
|
|
".stack-4 > * + *",
|
||
|
|
".stack-6 > * + *",
|
||
|
|
"section",
|
||
|
|
"section + section"
|
||
|
|
],
|
||
|
|
"classes": [
|
||
|
|
"container",
|
||
|
|
"features-grid",
|
||
|
|
"hero-grid",
|
||
|
|
"row-between",
|
||
|
|
"stack-3",
|
||
|
|
"stack-4"
|
||
|
|
],
|
||
|
|
"elements": [
|
||
|
|
"main",
|
||
|
|
"section"
|
||
|
|
],
|
||
|
|
"tokenReferences": [
|
||
|
|
"--border",
|
||
|
|
"--container-gutter-desktop",
|
||
|
|
"--container-gutter-phone",
|
||
|
|
"--container-gutter-tablet",
|
||
|
|
"--container-max",
|
||
|
|
"--space-4"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"literals": {
|
||
|
|
"colorExpressions": 9,
|
||
|
|
"pixelValues": 32,
|
||
|
|
"hardcodedFontFamilies": 5
|
||
|
|
}
|
||
|
|
}
|