MozaikaLive decode

PlanetScale — decoded design system

planetscale.com · light · professional · tailwind · deep decode — measured live

PlanetScale'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/planetscale.com.

Decoded design system

PlanetScale's decoded design system: background #FAFAFA, text #414141, accent #F35815, link #0B6EC5, primary #0B6EC5; type scale h1 16px / h2 16px / body 16px; 8px spacing base; 0px base radius. The single interactive/action color is #F35815 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FAFAFA
surface#EEEEEE
border#DEDEDE
text#414141
text_muted#878787
primary#0B6EC5
accent#F35815
link#0B6EC5
secondary#F2B600
button_bg#F35815
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Motion

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

Native design tokens

TokenValue
--white#FFFFFF
--black#000000
--gray-50#fafafa
--gray-100#ebebeb
--gray-200#e1e1e1
--gray-300#c1c1c1
--gray-400#a1a1a1
--gray-500#818181
--gray-550#737373
--gray-600#616161

…and 90 more measured on the page.

Button states (measured)

Layout (measured)

Themes

dark counterpart: background #111111, text #E1E1E1.

Responsive (measured)

Install it

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

npx shadcn add mozaika.design/r/decode/planetscale.com

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

Export: DESIGN.md

# PlanetScale — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#FAFAFA` |
| surface | `#EEEEEE` |
| border | `#DEDEDE` |
| text | `#414141` |
| text_muted | `#878787` |
| primary | `#0B6EC5` |
| accent | `#F35815` |
| link | `#0B6EC5` |
| secondary | `#F2B600` |
| button_bg | `#F35815` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#F35815` — 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 `#0B6EC5` — one role, not several.
- `accent`, `button_bg` are all `#F35815` — one role, not several (your action color).
- **accent** `#F35815` — 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.
- **secondary** `#F2B600` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
- **Page coverage** (full-page screenshot pixels): `#FAFAFA` 84.2% · `#C5D2CC` 6.3% · `#161516` 5.5% · `#9F8F87` 3.4%

## Typography

- Heading: **SF Mono** _(free fallback: JetBrains Mono)_
- Body: **SF Mono** _(free fallback: JetBrains Mono)_
- Mono: **ui-monospace** _(measured)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| body | 16px / 400 · lh 24px |

- Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** SF Mono may be proprietary — safe free fallback: JetBrains Mono (Google Fonts).

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 4px, 8px, 10px, 12px, 16px, 24px, 40px, 96px — snap all gaps/padding to these

## Radius
- base: 0px
- button: 0px
- pill: 9999px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#F35815` / `#FFFFFF` | none | 0px | 0px 8px 0px 8px | 600 16px | none |
| secondary | `rgba(0, 0, 0, 0)` / `#414141` | none | — | 0px 0px 0px 0px | 600 16px | none |

**States (measured, not guessed)**

- primary focus: box-shadow `rgb(250, 250, 250) 0px 0px 0px 2px, rgb(30, 157, 231) 0px 0px 0px 4px, rgba(0, 0, 0, 0) 0px 0px 0px 0px` · outline `2px solid rgba(0, 0, 0, 0)`
- secondary hover: color `#F35815`
- transition: `all 0.15s cubic-bezier(0.4, 0, 0.2, 1)`

## Motion
- durations: 150ms (dominant)
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant)
- animated properties: color, background-color, border-color, text-decoration-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 |
|-------|-------|
| `--white` | `#FFFFFF` |
| `--black` | `#000000` |
| `--gray-50` | `#fafafa` |
| `--gray-100` | `#ebebeb` |
| `--gray-200` | `#e1e1e1` |
| `--gray-300` | `#c1c1c1` |
| `--gray-400` | `#a1a1a1` |
| `--gray-500` | `#818181` |
| `--gray-550` | `#737373` |
| `--gray-600` | `#616161` |
| `--gray-700` | `#414141` |
| `--gray-800` | `#2b2b2b` |

_…and 88 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 1090px
- nav: 32px relative · bg #FAFAFA

## Components (measured)
- link: #0B6EC5 · no underline

## Themes (both measured)
- dark counterpart: bg `#111111` · text `#E1E1E1`
- tokens that flip between modes:
  - `--white`: `#FFFFFF` → `#FFFFFF`
  - `--black`: `#000000` → `#000000`
  - `--text-contrast`: `#000000` → `#FFFFFF`
  - `--text-primary`: `#414141` → `#e1e1e1`
  - `--text-secondary`: `#737373` → `#a1a1a1`
  - `--text-decoration`: `#c1c1c1` → `#414141`
  - `--text-disabled`: `#a1a1a1` → `#616161`
  - `--text-red`: `#d92038` → `#ff7082`

## Responsive (measured)
- breakpoints: 640px · 768px · 1024px · 1280px
- mobile (390px): hero 16px · body 16px · nav: inline

## 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 PlanetScale's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with planetscale.com. No screenshots stored. Removal requests: hello@mozaika.design.