Lovable — Design System
Lovable builds apps from prompts in Camera Plain at 48-60px/600, soft greys on warm white #FAFAFA, and near-black 8px-radius buttons. The prompt box is the hero — type something, get software — and community-built apps tile below as proof; a vibe-coding platform whose gentle variable face keeps the magic feeling approachable.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/lovable.
Tokens
Lovable's decoded design system: background #FAFAFA, text #030303, accent #1E1E1E, link #000000, primary #000000; type scale h1 20px / h2 48px / body 20px; 4px spacing base; 7px base radius. The single interactive/action color is #1E1E1E — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FAFAFA |
| surface | #EBEBEB |
| border | #D4D4D4 |
| text | #030303 |
| text_muted | #606060 |
| primary | #000000 |
| accent | #1E1E1E |
| link | #000000 |
| button_bg | #1E1E1E |
| button_text | #FAFAFA |
Using these colors
- Action color
#1E1E1E— the single interactive color; only on things you click or must notice, never large fills. primary,linkare all#000000— one role, not several (the action color).accent,button_bgare all#1E1E1E— one role, not several (the action color).- accent
#1E1E1E— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed.
Typography
- h1: 20px
- h2: 48px
- body: 20px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 10px, 12px, 16px, 20px, 24px, 56px
Radii
- base: 7px
- button: 8px
Shadows (elevation)
- subtle:
oklch(0.2 0 0 / 0.12) 0px 2px 2px -1px, oklch(0.2 0 0 / 0.12) 0px 4px 4px -2px - card:
oklch(0 0 0 / 0.04) 0px 2px 2px -1px, oklch(0 0 0 / 0.02) 0px 4px 4px -2px
Motion
Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 150ms · 200ms · 500ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·ease - animated properties: opacity, color, background-color, border-color
Native design tokens
| Token | Value |
|---|---|
--bg-depth | lab(94.7684% 0 0) |
--bg-base | lab(96.5084% -.0000596046 0) |
--bg-primary | lab(98.2716% 0 0) |
--bg-secondary | lab(99.9884% -.0000298023 0) |
--bg-tertiary | lab(99.9884% -.0000298023 0) |
--bg-quaternary | lab(99.9884% -.0000298023 0) |
--bg-accent | lab(41.4547% 30.9431 -84.4155) |
--bg-accent-translucent | lab(41.4547% 30.9431 -84.4155/.16) |
--bg-destructive | lab(49.6786% 69.526 48.442) |
--bg-destructive-translucent | lab(49.6786% 69.526 48.442/.16) |
…and 109 more measured on the page.
Button states (measured)
- primary focus: outline
2px solid lab(52.8042 18.2982 -74.3349 / 0.4)
Layout (measured)
- container max-width:
740px - nav: 32px relative
- common grid: 2 columns
Motion choreography (measured)
Load order: form.group×4 → div.background-enter → span.text-tertiary-pulse×2 → span.text-tertiary-pulse×2
Scroll reveal: 2 elements rest at opacity 0, animate in over 1600ms.
Themes
dark counterpart: background #1F1F1E, text #FFFFFF.
Responsive (measured)
- breakpoints: 640px · 1024px · 1280px · 1536px
- mobile (390px): hero 20px · nav hamburger
Per-section tokens (8)
- Hero — light · bg #FAFAF9 · text #FE3A69 · 1 col · left
- Banner — light · bg #FDFBF9 · text #FF483D · 1 col · left
- Logo Wall — light · bg #FDFBF9 · text #181817 · 4 col · split
- Steps / How-it-works — light · bg #FDFBF9 · text #6F6E6D · 1 col · left
- Gallery / Showcase — light · bg #FDFBF9 · text #644048 · 1 col · left
- Stats / Metrics — light · bg #F8F4EC · text #858481 · 2 col · split
- CTA / Sign-up — light · bg #FDFBF9 · text #95B3EE · 1 col · left
- Footer — light · bg #F8F4EC · text #FD395D · 1 col · left
Export: DESIGN.md
# Lovable — Design System > light, modern, medium, tailwind — deep decode (measured live) Lovable builds apps from prompts in Camera Plain at 48-60px/600, soft greys on warm white #FAFAFA, and near-black 8px-radius buttons. The prompt box is the hero — type something, get software — and community-built apps tile below as proof; a vibe-coding platform whose gentle variable face keeps the magic feeling approachable. ## Colors | Role | Value | |------|-------| | bg | `#FAFAFA` | | surface | `#EBEBEB` | | border | `#D4D4D4` | | text | `#030303` | | text_muted | `#606060` | | primary | `#000000` | | accent | `#1E1E1E` | | link | `#000000` | | button_bg | `#1E1E1E` | | button_text | `#FAFAFA` | **Using these colors** - **Action color** `#1E1E1E` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `link` are all `#000000` — one role, not several. - `accent`, `button_bg` are all `#1E1E1E` — one role, not several (your action color). - **accent** `#1E1E1E` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **Page coverage** (full-page screenshot pixels): `#FAFAF9` 29.8% · `#FE3C67` 24.6% · `#8D8BF0` 12.5% · `#FD759E` 12.2% ## Typography | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 60px / 480 · lh 60px | | h2 | 48px / 600 · lh 53px · tracking -1.2px | | h3 | 36px / 600 · lh 40px · tracking -0.9px | | body | 18px / 400 · lh 25px | | small | 16px / 400 · lh 24px | - Weight ladder: 400 · 480 · 600 — use these exact measured weights, not the 400/600 defaults. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 10px, 12px, 16px, 20px, 24px, 56px — snap all gaps/padding to these - section rhythm: 80px top/bottom padding per section (measured) ## Radius - base: 7px - button: 8px - card: 12px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `lab(0 0 0 / 0.88)` / `lab(98.2716 0 0)` | none | 8px | 6px 10px 6px 10px | 400 14px | none | | secondary | `#FAFAFA` / `#030303` | none | 0px | — | — | none | **States (measured, not guessed)** - primary focus: outline `2px solid lab(52.8042 18.2982 -74.3349 / 0.4)` ## Shadows (elevation) - subtle: `oklch(0.2 0 0 / 0.12) 0px 2px 2px -1px, oklch(0.2 0 0 / 0.12) 0px 4px 4px -2px` - card: `oklch(0 0 0 / 0.04) 0px 2px 2px -1px, oklch(0 0 0 / 0.02) 0px 4px 4px -2px` ## Motion - durations: 150ms (dominant) · 200ms · 500ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `ease` - animated properties: opacity, color, background-color, border-color Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--bg-depth` | `lab(94.7684% 0 0)` | | `--bg-base` | `lab(96.5084% -.0000596046 0)` | | `--bg-primary` | `lab(98.2716% 0 0)` | | `--bg-secondary` | `lab(99.9884% -.0000298023 0)` | | `--bg-tertiary` | `lab(99.9884% -.0000298023 0)` | | `--bg-quaternary` | `lab(99.9884% -.0000298023 0)` | | `--bg-accent` | `lab(41.4547% 30.9431 -84.4155)` | | `--bg-accent-translucent` | `lab(41.4547% 30.9431 -84.4155/.16)` | | `--bg-destructive` | `lab(49.6786% 69.526 48.442)` | | `--bg-destructive-translucent` | `lab(49.6786% 69.526 48.442/.16)` | | `--bg-special` | `lab(47.9156% 57.9535 -81.2975)` | | `--bg-special-translucent` | `lab(47.9156% 57.9535 -81.2975/.16)` | _…and 107 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 740px · common grid: 2-col - nav: 32px relative | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 0 | 2912 | — | — | 0/0 | — | | 900 | 288 | — | — | 80/80 | — | | 1188 | 448 | 2 | 48 | 0/0 | — | | 1796 | 552 | 2 | 16 | 0/0 | 85/15 | | 2508 | 404 | 3 | 8 | 0/0 | — | ## Motion choreography (measured) Load order: `form.group`×4 @0ms → `div.background-enter` @0ms → `span.text-tertiary-pulse`×2 @105ms → `span.text-tertiary-pulse`×2 @788ms - `div.background-enter` — opacity 0→1 · transform translateY(450px)→translate(0px) — 1600ms cubic-bezier(0.215, 0.61, 0.355, 1) - scroll reveal: 2 elements rest at opacity 0, animate in over 1600ms (0 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - card ×3: pad 24px 20px 24px 20px · r 24px · bg #F7F4ED - hover: font-weight `400` · letter-spacing `normal` - disabled: bg lab(100 0 0 / 0.8) · text lab(0.903296 0 0) ## Themes (both measured) - dark counterpart: bg `#1F1F1E` · text `#FFFFFF` - tokens that flip between modes: - `--bg-depth`: `lab(94.7684% 0 0)` → `lab(7.70799% -.19557 .698656)` - `--bg-base`: `lab(96.5084% -.0000596046 0)` → `lab(10.6972% -.201367 .728756)` - `--bg-primary`: `lab(98.2716% 0 0)` → `lab(12.7156% -.20165 .728554)` - `--bg-secondary`: `lab(99.9884% -.0000298023 0)` → `lab(15.5692% -.201941 .728303)` - `--bg-tertiary`: `lab(99.9884% -.0000298023 0)` → `lab(18.8173% -.202268 .728089)` - `--bg-quaternary`: `lab(99.9884% -.0000298023 0)` → `lab(22.0653% -.202522 .727898)` - `--bg-accent-translucent`: `lab(41.4547% 30.9431 -84.4155/.16)` → `lab(41.4547% 30.9431 -84.4155/.2)` - `--bg-destructive-translucent`: `lab(49.6786% 69.526 48.442/.16)` → `lab(49.6786% 69.526 48.442/.2)` ## Responsive (measured) - breakpoints: 640px · 1024px · 1280px · 1536px - mobile (390px): hero 20px · body 16px · nav: hamburger ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/lovable
Export: Tailwind v4 (@theme)
@theme {
/* action color #1E1E1E — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #FAFAFA;
--color-surface: #EBEBEB;
--color-border: #D4D4D4;
--color-text: #030303;
--color-text-muted: #606060;
--color-primary: #000000; /* ≈ the text color — a foreground/text color, not an action color (action = #1E1E1E). */
--color-accent: #1E1E1E; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--color-link: #000000; /* reads as a neutral UI color, not a link accent — verify against the reference (action = #1E1E1E). */
--color-button-bg: #1E1E1E; /* primary-button fill — the main call-to-action color. */
--color-button-text: #FAFAFA;
/* measured weights: 400, 480, 600 — use these, not 400/600 */
--text-hero: 60px; --font-weight-hero: 480; --leading-hero: 60px;
--text-h2: 48px; --font-weight-h2: 600; --leading-h2: 53px; --tracking-h2: -1.2px;
--text-h3: 36px; --font-weight-h3: 600; --leading-h3: 40px; --tracking-h3: -0.9px;
--text-body: 18px; --font-weight-body: 400; --leading-body: 25px;
--text-small: 16px; --font-weight-small: 400; --leading-small: 24px;
--radius-base: 7px;
--radius-button: 8px;
--radius-card: 12px;
--radius-pill: 9999px;
--shadow-card: oklch(0 0 0 / 0.04) 0px 2px 2px -1px, oklch(0 0 0 / 0.02) 0px 4px 4px -2px;
--shadow-subtle: oklch(0.2 0 0 / 0.12) 0px 2px 2px -1px, oklch(0.2 0 0 / 0.12) 0px 4px 4px -2px;
--outline-focus: 2px solid lab(52.8042 18.2982 -74.3349 / 0.4); /* measured focus ring */
--ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 150ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 200ms;
--duration-slow: 500ms;
--section-y: 80px; /* per-section vertical padding (measured) */
--spacing: 4px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 4, 6, 8, 10, 12, 16, 20, 24, 56px */
}Export: CSS variables
:root {
/* action color #1E1E1E — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #FAFAFA;
--surface: #EBEBEB;
--border: #D4D4D4;
--text: #030303;
--text-muted: #606060;
--primary: #000000; /* ≈ the text color — a foreground/text color, not an action color (action = #1E1E1E). */
--accent: #1E1E1E; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--link: #000000; /* reads as a neutral UI color, not a link accent — verify against the reference (action = #1E1E1E). */
--button-bg: #1E1E1E; /* primary-button fill — the main call-to-action color. */
--button-text: #FAFAFA;
--text-hero: 60px; --weight-hero: 480; --leading-hero: 60px;
--text-h2: 48px; --weight-h2: 600; --leading-h2: 53px; --tracking-h2: -1.2px;
--text-h3: 36px; --weight-h3: 600; --leading-h3: 40px; --tracking-h3: -0.9px;
--text-body: 18px; --weight-body: 400; --leading-body: 25px;
--text-small: 16px; --weight-small: 400; --leading-small: 24px;
--radius: 7px;
--radius-button: 8px;
--radius-card: 12px;
--radius-pill: 9999px;
--shadow-card: oklch(0 0 0 / 0.04) 0px 2px 2px -1px, oklch(0 0 0 / 0.02) 0px 4px 4px -2px;
--shadow-subtle: oklch(0.2 0 0 / 0.12) 0px 2px 2px -1px, oklch(0.2 0 0 / 0.12) 0px 4px 4px -2px;
--focus-ring: 2px solid lab(52.8042 18.2982 -74.3349 / 0.4);
--ease: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 150ms;
--duration-base: 200ms;
--duration-slow: 500ms;
--section-y: 80px;
}
/* their own tokens, verbatim from the site's :root */
:root {
--bg-depth: lab(94.7684% 0 0);
--bg-base: lab(96.5084% -.0000596046 0);
--bg-primary: lab(98.2716% 0 0);
--bg-secondary: lab(99.9884% -.0000298023 0);
--bg-tertiary: lab(99.9884% -.0000298023 0);
--bg-quaternary: lab(99.9884% -.0000298023 0);
--bg-accent: lab(41.4547% 30.9431 -84.4155);
--bg-accent-translucent: lab(41.4547% 30.9431 -84.4155/.16);
--bg-destructive: lab(49.6786% 69.526 48.442);
--bg-destructive-translucent: lab(49.6786% 69.526 48.442/.16);
--bg-special: lab(47.9156% 57.9535 -81.2975);
--bg-special-translucent: lab(47.9156% 57.9535 -81.2975/.16);
}