MozaikaLive decode

Lovable — decoded design system

lovable.dev · light · modern · tailwind · deep decode — measured live

Lovable's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.

Open in Mozaika →

This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/lovable.dev.

Decoded design system

Lovable's decoded design system: background #FAFAFA, text #030303, accent #1E1E1E, link #000000, primary #000000; type scale h1 60px / h2 48px / body 18px; 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

RoleValue
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

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).

Native design tokens

TokenValue
--bg-depthlab(94.7684% 0 0)
--bg-baselab(96.5084% -.0000596046 0)
--bg-primarylab(98.2716% 0 0)
--bg-secondarylab(99.9884% -.0000298023 0)
--bg-tertiarylab(99.9884% -.0000298023 0)
--bg-quaternarylab(99.9884% -.0000298023 0)
--bg-accentlab(41.4547% 30.9431 -84.4155)
--bg-accent-translucentlab(41.4547% 30.9431 -84.4155/.16)
--bg-destructivelab(49.6786% 69.526 48.442)
--bg-destructive-translucentlab(49.6786% 69.526 48.442/.16)

…and 109 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: form.group×4 → div.background-enterspan.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)

Install it

Drop this measured system into any shadcn/Tailwind project in one command:

npx shadcn add mozaika.design/r/decode/lovable.dev

registry item · or query it over MCP: get_design_system("Lovable")

Export: DESIGN.md

# Lovable — Design System

> light, modern, medium, tailwind — deep decode (measured live)

## 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

- Heading: **Camera Plain Variable** _(free fallback: Newsreader)_
- Body: **Camera Plain Variable** _(free fallback: Newsreader)_

| 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.

> **Fonts —** Camera Plain Variable may be proprietary — safe free fallback: Newsreader (Google Fonts).

## 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.
Mozaika is an MCP-native design-reference library for AI coding agents: real products decoded into measured design systems, full-page screens, sliced sections with per-section specs, and ordered user flows. Connect your agent over MCP.

An automated reading of Lovable's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with lovable.dev. No screenshots stored. Removal requests: hello@mozaika.design.