YouTube Mobile — Design System
YouTube Mobile — palette measured from official store listing screenshots (colors only; no font claims). Type scale shown is the platform HIG default.
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/youtube-mobile.
Tokens
YouTube Mobile's decoded design system: background #000000, text #FFFFFF, accent #E9528F, link #E9528F, primary #E9528F; type scale h1 34px / h2 22px / body 17px; 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 | #0F0F0F |
| border | #262626 |
| text | #FFFFFF |
| text_muted | #9E9E9E |
| primary | #E9528F |
| accent | #E9528F |
| link | #E9528F |
| button_bg | #E9528F |
| button_text | #000000 |
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
- h1: 34px
- h2: 22px
- body: 17px
Spacing
- base unit: 4px
- scale: 4px, 6px, 8px, 12px, 14px, 15px, 16px, 18px, 24px, 32px
Radii
- base: 12px
- button: 12px
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
Export: DESIGN.md
# YouTube Mobile — Design System > dark, consumer, high — deep decode (measured live) YouTube Mobile — palette measured from official store listing screenshots (colors only; no font claims). Type scale shown is the platform HIG default. ## Colors | Role | Value | |------|-------| | bg | `#000000` | | surface | `#0F0F0F` | | border | `#262626` | | text | `#FFFFFF` | | text_muted | `#9E9E9E` | | primary | `#E9528F` | | accent | `#E9528F` | | link | `#E9528F` | | button_bg | `#E9528F` | | button_text | `#000000` | **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 | 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. ## 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: 12px - card: 50px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `rgba(0, 0, 0, 0)` / `#0F0F0F` | none | 12px | 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/ds/youtube-mobile
Export: Tailwind v4 (@theme)
@theme {
/* action color #E9528F — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #000000;
--color-surface: #0F0F0F;
--color-border: #262626;
--color-text: #FFFFFF;
--color-text-muted: #9E9E9E;
--color-primary: #E9528F; /* primary brand / action color. */
--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. */
--color-link: #E9528F; /* inline text links — shares the action color. */
--color-button-bg: #E9528F; /* primary-button fill — the main call-to-action color. */
--color-button-text: #000000;
/* measured weights: 400, 500 — use these, not 400/600 */
--text-body: 14px; --font-weight-body: 500; --leading-body: 40px;
--text-small: 13px; --font-weight-small: 500; --leading-small: 18px;
--radius-base: 12px;
--radius-button: 12px;
--radius-card: 50px;
--radius-sharp: 2px;
--shadow-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;
--color-btn-hover: rgba(0, 0, 0, 0.05); /* measured primary hover fill */
--ease-brand: cubic-bezier(0.05, 0, 0, 1);
--duration-fast: 200ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 300ms;
--spacing: 4px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 4, 6, 8, 12, 14, 15, 16, 18, 24, 32px */
}Export: CSS variables
:root {
/* action color #E9528F — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #000000;
--surface: #0F0F0F;
--border: #262626;
--text: #FFFFFF;
--text-muted: #9E9E9E;
--primary: #E9528F; /* primary brand / 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. */
--link: #E9528F; /* inline text links — shares the action color. */
--button-bg: #E9528F; /* primary-button fill — the main call-to-action color. */
--button-text: #000000;
--text-body: 14px; --weight-body: 500; --leading-body: 40px;
--text-small: 13px; --weight-small: 500; --leading-small: 18px;
--radius: 12px;
--radius-button: 12px;
--radius-card: 50px;
--radius-sharp: 2px;
--shadow-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;
--btn-bg-hover: rgba(0, 0, 0, 0.05);
--ease: cubic-bezier(0.05, 0, 0, 1);
--duration-fast: 200ms;
--duration-base: 300ms;
}
/* their own tokens, verbatim from the site's :root */
:root {
--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;
}