Lovable
Identity
Developer Tools
Bundled OpenDesign package for Lovable, derived from curated DESIGN.md, tokens.css, and components.html fixtures.
Typography
Ag
Ag
Ag
--text-4xl · 60pxThe quick brown fox--text-3xl · 48pxThe quick brown fox--text-2xl · 36pxThe quick brown fox--text-xl · 20pxThe quick brown fox--text-lg · 18pxThe quick brown fox--text-base · 16pxThe quick brown fox--text-sm · 14pxThe quick brown fox--text-xs · 12pxThe quick brown foxPalette
#f7f4edPage background — defines the brand canvas.#f7f4edCard / lifted container background.var(--surface)Tertiary surface tier (kami warm-sand).#1c1c1cPrimary text color.rgba(28, 28, 28, 0.83)Secondary text tier (kami dark-warm).#5f5f5dSubtext / captions.rgba(28, 28, 28, 0.4)Tertiary FG / metadata tier (kami stone).#eceae4Default border / card edge.var(--border)Inner row separator that should not visually compete.#ff4d8dBrand accent. ≤2 visible uses per screen (lint enforced).#ffffffFG when --accent is the bg.#16a34aSuccess state.#eab308Warning state.#dc2626Danger state.Also named in DESIGN.md
#fcfbf8Button text on dark backgrounds, subtle highlight. Barely distinguishable from pure white.#3b82f6at 50% opacity): --tw-ring-color, Tailwind focus ring.Imagery & layout
Radius
6px12px16px9999pxSpacing
--space-1 · 4px--space-2 · 8px--space-3 · 12px--space-4 · 16px--space-5 · 20px--space-6 · 24px--space-8 · 32px--space-12 · 48pxElevation
--elev-raisedLayout
Layout rules
- Base unit: 8px
- Scale: 8px, 10px, 12px, 16px, 24px, 32px, 40px, 56px, 80px, 96px, 128px, 176px, 192px, 208px
- The scale expands generously at the top end — sections use 80px–208px vertical spacing for editorial breathing room
- Max content width: approximately 1200px (centered)
- Hero: centered single-column with massive vertical padding (96px+)
- Feature sections: 2–3 column grids