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 48px / h2 36px / body 14px; 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-depthoklch(95.49% 0 107)
--bg-baseoklch(96.99% 0 107)
--bg-primaryoklch(98.51% 0 107)
--bg-secondaryoklch(99.99% 0 107)
--bg-tertiaryoklch(99.99% 0 107)
--bg-quaternaryoklch(99.99% 0 107)
--bg-accentoklch(52.43% .2396 264.41)
--bg-accent-translucentoklch(52.43% .2396 264.41/.16)
--bg-destructiveoklch(58.53% .2203 26.56)
--bg-destructive-translucentoklch(58.53% .2203 26.56/.16)

…and 109 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.absolute → div.absolute → div.rounded-7 → div.rounded-7 → div.rounded-7 → div.rounded-7

Stagger: div ×7 — 100ms apart.

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 https://mozaika.design/r/decode/lovable.dev

Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:

curl -o src/themes/lovable.theme.ts https://mozaika.design/api/astryx/decode/lovable.dev.ts

registry item · astryx theme · 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): `#FAF9F6` 42.6% · `#7093F8` 14.5% · `#CF6FC6` 13% · `#FC4D9D` 12.9%

## Typography

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

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 48px / 600 · lh 53px · tracking -1.92px |
| h2 | 36px / 600 · lh 40px · tracking -1.44px |
| h3 | 28px / 600 · lh 31px · tracking -1.12px |
| body | 14px / 400 · lh 24px |
| small | 13px / 600 · lh 21px |

- 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, 24px, 28px, 32px — snap all gaps/padding to these
- section rhythm: 160px top/bottom padding per section (measured)

## Radius
- base: 7px
- button: 8px
- card: 16px
- pill: 9999px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `oklch(0 0 0 / 0.88)` / `oklch(0.9851 0 89.88)` | none | 8px | 6px 10px 6px 10px | 400 14px | none |
| secondary | `#FAFAFA` / `#030303` | none | 0px | — | — | none |

**States (measured, not guessed)**

- primary focus: outline `2px solid oklch(0.6132 0.2106 264.41 / 0.4)`

## Shadows (elevation)
- 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) · 250ms · 300ms
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `cubic-bezier(0.16, 1, 0.3, 1)`
- animated properties: background-color, border-color, color, outline-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` | `oklch(95.49% 0 107)` |
| `--bg-base` | `oklch(96.99% 0 107)` |
| `--bg-primary` | `oklch(98.51% 0 107)` |
| `--bg-secondary` | `oklch(99.99% 0 107)` |
| `--bg-tertiary` | `oklch(99.99% 0 107)` |
| `--bg-quaternary` | `oklch(99.99% 0 107)` |
| `--bg-accent` | `oklch(52.43% .2396 264.41)` |
| `--bg-accent-translucent` | `oklch(52.43% .2396 264.41/.16)` |
| `--bg-destructive` | `oklch(58.53% .2203 26.56)` |
| `--bg-destructive-translucent` | `oklch(58.53% .2203 26.56/.16)` |
| `--bg-special` | `oklch(58.99% .2523 294.88)` |
| `--bg-special-translucent` | `oklch(58.99% .2523 294.88/.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 1280px · common grid: 2-col
- nav: 32px relative

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 900 | 917 | 3 | 12 | 160/160 | — |
| 1817 | 2884 | 2 | 80 | 0/0 | 29/71 |
| 4701 | 409 | 2 | 96 | 0/0 | 34/66 |

## Motion choreography (measured)
Load order: `div.absolute` @0ms → `div.absolute` @439ms → `div.rounded-7` @1204ms → `div.rounded-7` @1204ms → `div.rounded-7` @1204ms → `div.rounded-7` @1204ms
- `div.background-enter` — opacity 0→1 · transform translateY(450px)→translate(0px) — 1600ms cubic-bezier(0.215, 0.61, 0.355, 1)
- stagger: `div` ×7 — 100ms apart

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- card ×3: pad 0px 0px 0px 0px · r 16px · shadow  · bg oklch(1 0 0)
  - hover: font-weight `400` · letter-spacing `normal`
- disabled: bg oklch(1 0 0 / 0.8) · text oklch(0.1 0 0)

## Themes (both measured)
- dark counterpart: bg `#1F1F1E` · text `#FFFFFF`
- tokens that flip between modes:
  - `--bg-depth`: `oklch(95.49% 0 107)` → `oklch(20.42% .002 107)`
  - `--bg-base`: `oklch(96.99% 0 107)` → `oklch(23% .002 107)`
  - `--bg-primary`: `oklch(98.51% 0 107)` → `oklch(24.74% .002 107)`
  - `--bg-secondary`: `oklch(99.99% 0 107)` → `oklch(27.2% .002 107)`
  - `--bg-tertiary`: `oklch(99.99% 0 107)` → `oklch(30% .002 107)`
  - `--bg-quaternary`: `oklch(99.99% 0 107)` → `oklch(32.8% .002 107)`
  - `--bg-accent-translucent`: `oklch(52.43% .2396 264.41/.16)` → `oklch(52.43% .2396 264.41/.2)`
  - `--bg-destructive-translucent`: `oklch(58.53% .2203 26.56/.16)` → `oklch(58.53% .2203 26.56/.2)`

## Responsive (measured)
- mobile (390px): hero 14px · 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/decode/lovable.dev

Measured changes over time

← All decoded design systems

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.