Dia — decoded design system
Dia'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.
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/diabrowser.com.
Decoded design system
Dia's decoded design system: background #F8F8F8, text #252525, accent #000000, link #9CA3AF, primary #5863EA; type scale h1 48px / h2 24px / body 18px; 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
| 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; only on things you click or must notice, never large fills. accent,button_bgare all#000000— one role, not several (the 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).
Typography
- Heading: ABC Oracle Triple
- Body: ABC Oracle
- Mono: ABC Favorit Mono
- h1: 48px
- h2: 24px
- body: 18px
Spacing
- base unit: 4px
- scale: 5px, 10px, 14px, 16px, 20px, 24px, 28px, 30px, 40px, 70px
Radii
- base: 20px
- button: 9999px
Shadow
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
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
Micro-interactions run at 200ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 200ms · 300ms · 250ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·cubic-bezier(0, 0, 0.2, 1) - animated properties: background-color, border-color, text-decoration-color, color
Native design tokens
| 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 |
…and 32 more measured on the page.
Button states (measured)
- primary hover: background
rgba(0, 0, 0, 0.8) - primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
1180px - nav: 52px fixed
- common grid: 12 columns
Motion choreography (measured)
Scroll reveal: 5 elements rest at opacity 0, animate in over 400ms.
Stagger: div ×9 — 50ms apart.
Responsive (measured)
- breakpoints: 600px · 800px · 900px · 1000px · 1100px · 1200px
- mobile (390px): hero 70px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/diabrowser.com
registry item · or query it over MCP: get_design_system("Dia")
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: 9999px - 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` - button: `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.
An automated reading of Dia's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with diabrowser.com. No screenshots stored. Removal requests: hello@mozaika.design.