MozaikaLive decode

Subframe — decoded design system

subframe.com · light · modern · tailwind · deep decode — measured live

Subframe'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/subframe.com.

Decoded design system

Subframe's decoded design system: background #FCFCFC, text #232323, accent #9CA3AF, link #171717, primary #FF0000; type scale h1 96px / h2 64px / body 24px; 8px spacing base; 6px base radius. The single interactive/action color is #242424 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FCFCFC
surface#EEEEEE
border#DBDBDB
text#232323
text_muted#757575
primary#FF0000
accent#9CA3AF
link#171717
secondary#8FC4F1
button_bg#242424
button_text#232323

Using these colors

Typography

Spacing

Radii

Shadow

rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 255, 255, 0.25) 0px 4px 4px -2px inset, rgba(0, 0, 0, 0.25) 0px -4px 4px -2px inset, rgba(255, 255, 255, 0.1) -2px 0px 2px -2px inset, rgba(255, 255, 255, 0.1) -2px 0px 2px -2px inset

Shadows (elevation)

Motion

Micro-interactions run at 150ms (dominant) with linear.

Native design tokens

TokenValue
--brand-50#ffffff
--brand-100#fafafa
--brand-200#f5f5f5
--brand-300#e5e5e5
--brand-400#d4d4d4
--brand-500#a3a3a3
--brand-600#737373
--brand-700#525252
--brand-800#404040
--brand-900#262626

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: a.carousel-dot×2 → div.design-card×2 → div.flexdiv.absolute

Scroll reveal: 12 elements rest at opacity 0, animate in over 700ms.

Stagger: div ×4 — 80ms apart.

Responsive (measured)

Install it

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

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

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

Export: DESIGN.md

# Subframe — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#FCFCFC` |
| surface | `#EEEEEE` |
| border | `#DBDBDB` |
| text | `#232323` |
| text_muted | `#757575` |
| primary | `#FF0000` |
| accent | `#9CA3AF` |
| link | `#171717` |
| secondary | `#8FC4F1` |
| button_bg | `#242424` |
| button_text | `#232323` |

**Using these colors**

- **Action color** `#242424` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- **accent** `#9CA3AF` — accent for emphasis — keep it rare on the page.
- **primary** `#FF0000` — a brand color — but the call-to-action uses #242424, not this.
- **link** `#171717` — reads as a neutral UI color, not a link accent — verify against the reference (action = #242424).
- **secondary** `#8FC4F1` — 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): `#DADADA` 66% · `#F6F6F6` 23.1% · `#343636` 7.5% · `#C7C7C7` 3.4%

## Typography

- Heading: **Work Sans**
- Body: **Inter**
- Mono: **ui-monospace** _(measured)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 96px / 700 · lh 96px · tracking -4.8px |
| h2 | 64px / 700 · lh 64px · tracking -3.2px |
| h3 | 48px / 500 · lh 54px · tracking -2.4px |
| body | 24px / 500 · lh 28px · tracking -0.6px |
| small | 18px / 500 · lh 24px · tracking -0.45px |

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

> **Fonts —** Work Sans — free, on Google. Inter — free, on Google.

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 4px, 6px, 8px, 12px, 16px, 18px, 20px, 24px, 25px, 32px — snap all gaps/padding to these
- section rhythm: 128px top/bottom padding per section (measured)

## Radius
- base: 6px
- button: 16px
- card: 24px
- pill: 9999px
- sharp: 3px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#242424` / `rgba(0, 0, 0, 0.86)` | none | 16px | 0px 16px 0px 16px | 500 12px / -0.06px | rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 255, 255, 0.25) 0px 4px 4px -2px inset, rgba(0, 0, 0, 0.25) 0px -4px 4px -2px inset, rgba(255, 255, 255, 0.1) -2px 0px 2px -2px inset, rgba(255, 255, 255, 0.1) -2px 0px 2px -2px inset |

**States (measured, not guessed)**

- primary hover: background `#363636`
- transition: `transform 0.15s cubic-bezier(0.4, 0, 0.2, 1)`

## Shadows (elevation)
- subtle: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`
- card: `rgba(0, 0, 0, 0) 0px 0px 0px 1px, rgb(62, 99, 221) 0px 0px 0px 2px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`
- button: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 255, 255, 0.25) 0px 4px 4px -2px inset, rgba(0, 0, 0, 0.25) 0px -4px 4px -2px inset, rgba(255, 255, 255, 0.1) -2px 0px 2px -2px inset, rgba(255, 255, 255, 0.1) -2px 0px 2px -2px inset`

## Motion
- durations: 150ms (dominant)
- easings: `linear` (dominant) · `cubic-bezier(0.4, 0, 0.2, 1)`
- animated properties: transform

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 |
|-------|-------|
| `--brand-50` | `#ffffff` |
| `--brand-100` | `#fafafa` |
| `--brand-200` | `#f5f5f5` |
| `--brand-300` | `#e5e5e5` |
| `--brand-400` | `#d4d4d4` |
| `--brand-500` | `#a3a3a3` |
| `--brand-600` | `#737373` |
| `--brand-700` | `#525252` |
| `--brand-800` | `#404040` |
| `--brand-900` | `#262626` |
| `--neutral-0` | `#fcfcfc` |
| `--neutral-50` | `#f5f5f5` |

_…and 108 more measured on the page._

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

## Layout (measured)
- container max 1020px · common grid: 2-col
- nav: 0px

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 1134 | 1403 | 6 | 4 | 192/48 | 5/20/20/20/20/16 |

## Motion choreography (measured)
Load order: `a.carousel-dot`×2 @0ms → `div.design-card`×2 @0ms → `div.flex` @118ms → `div.absolute` @118ms
- stagger: `div` ×4 — 80ms apart
- scroll reveal: 12 elements rest at opacity 0, animate in over 700ms (8 revealed during the drive).

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

## Responsive (measured)
- breakpoints: 640px · 768px · 1024px · 1280px · 1536px
- mobile (390px): hero 56px · body 12px · 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 Subframe's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with subframe.com. No screenshots stored. Removal requests: hello@mozaika.design.