MozaikaDesign system

Dia — Design System

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

The full decoded design system for Dia: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.

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

Tokens

Dia's decoded design system: background #F8F8F8, text #252525, accent #000000, link #9CA3AF, primary #5863EA; type scale h1 112px / h2 48px / body 24px; 4px spacing base; 20px base radius. The single interactive/action color is #000000 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#F8F8F8
surface#EBEBEB
border#D8D8D8
text#252525
text_muted#757575
primary#5863EA
accent#000000
link#9CA3AF
button_bg#000000
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

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

Native design tokens

TokenValue
--black#000000
--black-50#00000080
--black-10#0000001A
--black-8rgba(0,0,0,0.08)
--header-background#dddddd77
--white#F8F8F8
--white-50#F8F8F880
--white-10#F8F8F81A
--red#FA3D1D
--red-50#FA3D1D80

…and 32 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Scroll reveal: 5 elements rest at opacity 0, animate in over 400ms.

Stagger: div ×9 — 50ms apart.

Responsive (measured)

Per-section tokens (7)

Export: DESIGN.md

# Dia — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#F8F8F8` |
| surface | `#EBEBEB` |
| border | `#D8D8D8` |
| text | `#252525` |
| text_muted | `#757575` |
| primary | `#5863EA` |
| accent | `#000000` |
| link | `#9CA3AF` |
| button_bg | `#000000` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#000000` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `button_bg` are all `#000000` — one role, not several (your action color).
- **accent** `#000000` — 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.
- **primary** `#5863EA` — a brand color — but the call-to-action uses #000000, not this.
- **link** `#9CA3AF` — fails contrast on the background (~2.4:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference).
- **Page coverage** (full-page screenshot pixels): `#020204` 86.8% · `#99867B` 13.2%

## Typography

- Heading: **ABC Oracle Triple** _(free fallback: Newsreader)_
- Body: **ABC Oracle** _(free fallback: Newsreader)_
- Mono: **ABC Favorit Mono**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 48px / 650 · lh 56px · tracking -2.4px |
| h2 | 24px / 650 · lh 30px · tracking -0.72px |
| h3 | 22px / 400 · lh 30px |
| body | 18px / 400 · lh 27px · tracking -0.36px |
| small | 16px / 400 · lh 20px |

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

> **Fonts —** ABC Oracle Triple may be proprietary — safe free fallback: Newsreader (Google Fonts). ABC Oracle may be proprietary — safe free fallback: Newsreader (Google Fonts).

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 5px, 10px, 14px, 16px, 20px, 24px, 28px, 30px, 40px, 70px — snap all gaps/padding to these

## Radius
- base: 20px
- button: 14px
- card: 12px
- pill: 9999px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `rgba(0, 0, 0, 0.65)` / `#FFFFFF` | none | 9999px | 10px 20px 10px 12px | 500 16px | rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.6) 0px 8px 30px -8px |
| secondary | `rgba(0, 0, 0, 0)` / `#FFFFFF` | none | 14px | 0px 0px 0px 0px | 400 10px | none |

**States (measured, not guessed)**

- primary hover: background `rgba(0, 0, 0, 0.8)`
- primary focus: outline `1px auto rgb(16, 16, 16)`
- transition: `background-color 0.2s cubic-bezier(0, 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.06) 0px 2px 8px 0px, rgba(0, 0, 0, 0.04) 0px 0px 2px 0px`
- card: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.6) 0px 8px 30px -8px`

## Motion
- durations: 200ms (dominant) · 300ms · 250ms
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `cubic-bezier(0, 0, 0.2, 1)`
- animated properties: background-color, border-color, text-decoration-color, 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 |
|-------|-------|
| `--black` | `#000000` |
| `--black-50` | `#00000080` |
| `--black-10` | `#0000001A` |
| `--black-8` | `rgba(0,0,0,0.08)` |
| `--header-background` | `#dddddd77` |
| `--white` | `#F8F8F8` |
| `--white-50` | `#F8F8F880` |
| `--white-10` | `#F8F8F81A` |
| `--red` | `#FA3D1D` |
| `--red-50` | `#FA3D1D80` |
| `--red-10` | `#FA3D1D1A` |
| `--blue` | `#0358F7` |

_…and 30 more measured on the page._

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

## Layout (measured)
- container max 1180px · common grid: 12-col
- nav: 52px fixed

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 0 | 900 | — | — | 0/0 | — |
| 980 | 2176 | — | — | 0/0 | — |
| 3276 | 2056 | 12 | 20 | 0/0 | — |

## Motion choreography (measured)
- `div.pointer-events-none` — opacity 1→0 — 1000ms linear(0 0%, 0.0101 1.0101010101010102%, 0.0202 2.0202020202020203%, 0.0303 3.0303030303030303%, 0.0404 4.04040404040404
- stagger: `div` ×9 — 50ms apart
- scroll reveal: 5 elements rest at opacity 0, animate in over 400ms (5 revealed during the drive).

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

## Responsive (measured)
- breakpoints: 600px · 800px · 900px · 1000px · 1100px · 1200px
- mobile (390px): hero 70px · body 10px · 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/dia

Export: Tailwind v4 (@theme)

@theme {
  /* action color #000000 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #F8F8F8;
  --color-surface: #EBEBEB;
  --color-border: #D8D8D8;
  --color-text: #252525;
  --color-text-muted: #757575;
  --color-primary: #5863EA;  /* a brand color — but the call-to-action uses #000000, not this. */
  --color-accent: #000000;  /* 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. */
  --color-link: #9CA3AF;  /* fails contrast on the background (~2.4:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --color-button-bg: #000000;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #FFFFFF;
  /* fonts: ABC Oracle Triple may be proprietary — safe free fallback: Newsreader (Google Fonts). ABC Oracle may be proprietary — safe free fallback: Newsreader (Google Fonts). */
  --font-heading: "ABC Oracle Triple", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "ABC Oracle", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "ABC Favorit Mono", ui-monospace, monospace;
  /* measured weights: 400, 500, 650 — use these, not 400/600 */
  --text-hero: 48px; --font-weight-hero: 650; --leading-hero: 56px; --tracking-hero: -2.4px;
  --text-h2: 24px; --font-weight-h2: 650; --leading-h2: 30px; --tracking-h2: -0.72px;
  --text-h3: 22px; --font-weight-h3: 400; --leading-h3: 30px;
  --text-body: 18px; --font-weight-body: 400; --leading-body: 27px; --tracking-body: -0.36px;
  --text-small: 16px; --font-weight-small: 400; --leading-small: 20px;
  --radius-base: 20px;
  --radius-button: 14px;
  --radius-card: 12px;
  --radius-pill: 9999px;
  --shadow-card: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.6) 0px 8px 30px -8px;
  --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.06) 0px 2px 8px 0px, rgba(0, 0, 0, 0.04) 0px 0px 2px 0px;
  --color-btn-hover: rgba(0, 0, 0, 0.8);  /* measured primary hover fill */
  --outline-focus: 1px auto rgb(16, 16, 16);  /* measured focus ring */
  --ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 250ms;
  --duration-slow: 300ms;
  --spacing: 4px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 5, 10, 14, 16, 20, 24, 28, 30, 40, 70px */
}

Export: CSS variables

:root {
  /* action color #000000 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #F8F8F8;
  --surface: #EBEBEB;
  --border: #D8D8D8;
  --text: #252525;
  --text-muted: #757575;
  --primary: #5863EA;  /* a brand color — but the call-to-action uses #000000, not this. */
  --accent: #000000;  /* 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. */
  --link: #9CA3AF;  /* fails contrast on the background (~2.4:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
  --button-bg: #000000;  /* primary-button fill — the main call-to-action color. */
  --button-text: #FFFFFF;
  --font-heading: "ABC Oracle Triple", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "ABC Oracle", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "ABC Favorit Mono", ui-monospace, monospace;
  --text-hero: 48px; --weight-hero: 650; --leading-hero: 56px; --tracking-hero: -2.4px;
  --text-h2: 24px; --weight-h2: 650; --leading-h2: 30px; --tracking-h2: -0.72px;
  --text-h3: 22px; --weight-h3: 400; --leading-h3: 30px;
  --text-body: 18px; --weight-body: 400; --leading-body: 27px; --tracking-body: -0.36px;
  --text-small: 16px; --weight-small: 400; --leading-small: 20px;
  --radius: 20px;
  --radius-button: 14px;
  --radius-card: 12px;
  --radius-pill: 9999px;
  --shadow-card: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.6) 0px 8px 30px -8px;
  --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.06) 0px 2px 8px 0px, rgba(0, 0, 0, 0.04) 0px 0px 2px 0px;
  --btn-bg-hover: rgba(0, 0, 0, 0.8);
  --focus-ring: 1px auto rgb(16, 16, 16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-base: 250ms;
  --duration-slow: 300ms;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --black: #000000;
  --black-50: #00000080;
  --black-10: #0000001A;
  --black-8: rgba(0,0,0,0.08);
  --header-background: #dddddd77;
  --white: #F8F8F8;
  --white-50: #F8F8F880;
  --white-10: #F8F8F81A;
  --red: #FA3D1D;
  --red-50: #FA3D1D80;
  --red-10: #FA3D1D1A;
  --blue: #0358F7;
}
/* fonts: ABC Oracle Triple may be proprietary — safe free fallback: Newsreader (Google Fonts). ABC Oracle may be proprietary — safe free fallback: Newsreader (Google Fonts). */