MozaikaDesign system

Subframe — Design System

light · modern · medium · tailwind · confidence 90% · deep decode

Subframe makes its case in pure Inter at poster scale: 'Ship what you design.' at 96px/700 in ink #171717 on #FCFCFC, standfirsts at 48px, body at a generous 24px. Charcoal 16px-radius buttons and editor screenshots complete a page with zero typographic exotica — a UI-builder arguing that with enough craft, the system font of the internet is all you need.

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/ds/subframe.

Tokens

Subframe's decoded design system: background #FCFCFC, text #232323, accent #9CA3AF, link #9CA3AF, primary #FF0000; type scale h1 96px / h2 12px / body 48px; 8px spacing base; 6px base radius. The single interactive/action color is #EDEDED — 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#9CA3AF
secondary#8FC4F1
button_bg#EDEDED
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(0, 0, 0, 0) 0px 0px 0px 0px

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)

Per-section tokens (11)

Export: DESIGN.md

# Subframe — Design System

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

Subframe makes its case in pure Inter at poster scale: 'Ship what you design.' at 96px/700 in ink #171717 on #FCFCFC, standfirsts at 48px, body at a generous 24px. Charcoal 16px-radius buttons and editor screenshots complete a page with zero typographic exotica — a UI-builder arguing that with enough craft, the system font of the internet is all you need.

## Colors

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

**Using these colors**

- **Action color** `#EDEDED` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `link` are all `#9CA3AF` — one role, not several.
- **accent** `#9CA3AF` — accent for emphasis — keep it rare on the page.
- **primary** `#FF0000` — a brand color — but the call-to-action uses #EDEDED, not this.
- **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(0, 0, 0, 0) 0px 0px 0px 0px |

**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(0, 0, 0, 0) 0px 0px 0px 0px`

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

---

> **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/subframe

Export: Tailwind v4 (@theme)

@theme {
  /* action color #EDEDED — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #FCFCFC;
  --color-surface: #EEEEEE;
  --color-border: #DBDBDB;
  --color-text: #232323;
  --color-text-muted: #757575;
  --color-primary: #FF0000;  /* a brand color — but the call-to-action uses #EDEDED, not this. */
  --color-accent: #9CA3AF;  /* accent for emphasis — keep it rare on the page. */
  --color-link: #9CA3AF;  /* fails contrast on the background (~2.5:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --color-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. */
  --color-button-bg: #EDEDED;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #232323;
  /* fonts: Work Sans — free, on Google. Inter — free, on Google. */
  --font-heading: "Work Sans", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "ui-monospace", ui-monospace, monospace;
  /* measured weights: 500, 600, 700 — use these, not 400/600 */
  --text-hero: 96px; --font-weight-hero: 700; --leading-hero: 96px; --tracking-hero: -4.8px;
  --text-h2: 64px; --font-weight-h2: 700; --leading-h2: 64px; --tracking-h2: -3.2px;
  --text-h3: 48px; --font-weight-h3: 500; --leading-h3: 54px; --tracking-h3: -2.4px;
  --text-body: 24px; --font-weight-body: 500; --leading-body: 28px; --tracking-body: -0.6px;
  --text-small: 18px; --font-weight-small: 500; --leading-small: 24px; --tracking-small: -0.45px;
  --radius-base: 6px;
  --radius-button: 16px;
  --radius-card: 24px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --shadow-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;
  --shadow-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;
  --color-btn-hover: #363636;  /* measured primary hover fill */
  --ease-brand: linear;
  --duration-fast: 150ms;  /* use: duration-[var(--duration-fast)] */
  --section-y: 128px;  /* per-section vertical padding (measured) */
  --spacing: 8px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 4, 6, 8, 12, 16, 18, 20, 24, 25, 32px */
}

Export: CSS variables

:root {
  /* action color #EDEDED — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #FCFCFC;
  --surface: #EEEEEE;
  --border: #DBDBDB;
  --text: #232323;
  --text-muted: #757575;
  --primary: #FF0000;  /* a brand color — but the call-to-action uses #EDEDED, not this. */
  --accent: #9CA3AF;  /* accent for emphasis — keep it rare on the page. */
  --link: #9CA3AF;  /* fails contrast on the background (~2.5:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --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. */
  --button-bg: #EDEDED;  /* primary-button fill — the main call-to-action color. */
  --button-text: #232323;
  --font-heading: "Work Sans", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "ui-monospace", ui-monospace, monospace;
  --text-hero: 96px; --weight-hero: 700; --leading-hero: 96px; --tracking-hero: -4.8px;
  --text-h2: 64px; --weight-h2: 700; --leading-h2: 64px; --tracking-h2: -3.2px;
  --text-h3: 48px; --weight-h3: 500; --leading-h3: 54px; --tracking-h3: -2.4px;
  --text-body: 24px; --weight-body: 500; --leading-body: 28px; --tracking-body: -0.6px;
  --text-small: 18px; --weight-small: 500; --leading-small: 24px; --tracking-small: -0.45px;
  --radius: 6px;
  --radius-button: 16px;
  --radius-card: 24px;
  --radius-pill: 9999px;
  --radius-sharp: 3px;
  --shadow-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;
  --shadow-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;
  --btn-bg-hover: #363636;
  --ease: linear;
  --duration-fast: 150ms;
  --section-y: 128px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --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;
}
/* fonts: Work Sans — free, on Google. Inter — free, on Google. */