YouTube Mobile — decoded design system
YouTube Mobile'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/youtube.com.
Decoded design system
YouTube Mobile's decoded design system: background #000000, text #000000, accent #E9528F, link #E9528F, primary #E9528F; type scale h1 34px / h2 22px / body 14px; 4px spacing base; 12px base radius. The single interactive/action color is #E9528F — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #000000 |
| surface | #000000 |
| border | #000000 |
| text | #000000 |
| text_muted | #000000 |
| primary | #E9528F |
| accent | #E9528F |
| link | #E9528F |
| button_bg | #E9528F |
| button_text | #0F0F0F |
Using these colors
- Action color
#E9528F— the single interactive color; only on things you click or must notice, never large fills. primary,accent,link,button_bgare all#E9528F— one role, not several (the action color).- accent
#E9528F— 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.
Typography
- Heading: Roboto
- Body: Roboto
- h1: 34px
- h2: 22px
- body: 14px
Spacing
- base unit: 4px
- scale: 4px, 6px, 8px, 12px, 14px, 15px, 16px, 18px, 24px, 32px
Radii
- base: 12px
- button: 0px
Shadows (elevation)
- card:
rgba(0, 0, 0, 0.14) 0px 16px 24px 2px, rgba(0, 0, 0, 0.12) 0px 6px 30px 5px, rgba(0, 0, 0, 0.4) 0px 8px 10px -5px
Motion
Micro-interactions run at 200ms (dominant) with cubic-bezier(0.05, 0, 0, 1).
- durations: 200ms · 300ms
- easings:
cubic-bezier(0.05, 0, 0, 1)·ease - animated properties: transform, opacity
Native design tokens
| Token | Value |
|---|---|
--t7f4f2c6d54836ce0 | rgba(0,0,0,0.05) |
--t7d8b8e5ee291aec0 | rgba(255,255,255,0.1) |
--t4726c68ef6d7b08f | #deffde |
--tf0a0d1154827847f | #ffeacf |
--t3e41d7b17b187f69 | #fff |
--tff65993384bb4560 | #c8c9f9 |
--t854c79338d8ca8a7 | #c30027 |
--t20480717de80f555 | rgba(0,0,0,0.1) |
--t2d807bb79e75606d | #065fd4 |
--t617db776af0de196 | #0556bf |
…and 110 more measured on the page.
Button states (measured)
- primary hover: border-radius
10px· backgroundrgba(0, 0, 0, 0.05)
Layout (measured)
- nav: 56px
Motion choreography (measured)
Load order: tp-yt-iron-overlay-backdrop.opened
Overlay recipe (measured)
dialog panel: #FFFFFF · radius 2px
Responsive (measured)
- breakpoints: 392px · 527px · 549px · 600px · 656px · 792px
- mobile (390px): hero 14px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/youtube.com
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/youtube.theme.ts https://mozaika.design/api/astryx/decode/youtube.com.ts
registry item · astryx theme · or query it over MCP: get_design_system("YouTube Mobile")
Export: DESIGN.md
# YouTube Mobile — Design System > dark, consumer, high — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#000000` | | surface | `#000000` | | border | `#000000` | | text | `#000000` | | text_muted | `#000000` | | primary | `#E9528F` | | accent | `#E9528F` | | link | `#E9528F` | | button_bg | `#E9528F` | | button_text | `#0F0F0F` | **Using these colors** - **Action color** `#E9528F` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `accent`, `link`, `button_bg` are all `#E9528F` — one role, not several (your action color). - **accent** `#E9528F` — 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. - **Page coverage** (full-page screenshot pixels): `#B2B2B2` 58% · `#FFFFFF` 34.8% · `#888586` 4.1% · `#EDEDEE` 3.1% ## Typography - Heading: **Roboto** - Body: **Roboto** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | body | 14px / 500 · lh 40px | | small | 13px / 500 · lh 18px | - Weight ladder: 400 · 500 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Roboto — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 4px, 6px, 8px, 12px, 14px, 15px, 16px, 18px, 24px, 32px — snap all gaps/padding to these ## Radius - base: 12px - button: 0px - card: 50px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `rgba(0, 0, 0, 0)` / `#0F0F0F` | none | 0px | 0px 0px 0px 0px | 400 10px | none | | secondary | `rgba(0, 0, 0, 0)` / `#065FD4` | 1px solid rgba(0, 0, 0, 0.2) | 20px | 0px 15px 0px 15px | 500 14px | none | **States (measured, not guessed)** - primary hover: border-radius `10px` · background `rgba(0, 0, 0, 0.05)` ## Shadows (elevation) - card: `rgba(0, 0, 0, 0.14) 0px 16px 24px 2px, rgba(0, 0, 0, 0.12) 0px 6px 30px 5px, rgba(0, 0, 0, 0.4) 0px 8px 10px -5px` ## Motion - durations: 200ms (dominant) · 300ms - easings: `cubic-bezier(0.05, 0, 0, 1)` (dominant) · `ease` - animated properties: transform, opacity 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 | |-------|-------| | `--t7f4f2c6d54836ce0` | `rgba(0,0,0,0.05)` | | `--t7d8b8e5ee291aec0` | `rgba(255,255,255,0.1)` | | `--t4726c68ef6d7b08f` | `#deffde` | | `--tf0a0d1154827847f` | `#ffeacf` | | `--t3e41d7b17b187f69` | `#fff` | | `--tff65993384bb4560` | `#c8c9f9` | | `--t854c79338d8ca8a7` | `#c30027` | | `--t20480717de80f555` | `rgba(0,0,0,0.1)` | | `--t2d807bb79e75606d` | `#065fd4` | | `--t617db776af0de196` | `#0556bf` | | `--tb628117fc164ad87` | `#3ea6ff` | | `--td545df04e2c659d7` | `#c30027` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - nav: 56px | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 80 | 244 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `tp-yt-iron-overlay-backdrop.opened` @0ms - overlay dialog (auto-opened): panel #FFFFFF · r 2px · shadow rgba(0, 0, 0, 0.14) 0px 16px 24px 2px, rgba(0, 0, 0, 0.12) 0px 6px 30px 5px, rgba(0, 0, 0, 0.4) 0px 8px 10px -5px Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Responsive (measured) - breakpoints: 392px · 527px · 549px · 600px · 656px · 792px - mobile (390px): hero 14px · 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/decode/youtube.com
An automated reading of YouTube Mobile's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with youtube.com. No screenshots stored. Removal requests: hello@mozaika.design.