MozaikaLive decode

YouTube Music Mobile — decoded design system

music.youtube.com · dark · consumer · deep decode — measured live

YouTube Music 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.

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/decode/music.youtube.com.

Decoded design system

YouTube Music Mobile's decoded design system: background #030303, text #FFFFFF, accent #291A1F, link #065FD4, primary #291A1F; type scale h1 24px / h2 22px / body 14px; 8px spacing base; 12px base radius. The single interactive/action color is #FFFFFF — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#030303
surface#121212
border#282828
text#FFFFFF
text_muted#9F9F9F
primary#291A1F
accent#291A1F
link#065FD4
button_bg#FFFFFF
button_text#065FD4

Using these colors

Typography

Spacing

Radii

Motion

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

Native design tokens

TokenValue
--boq-chrometransition-background#eee

Button states (measured)

Responsive (measured)

Install it

Drop this measured system into any shadcn/Tailwind project in one command:

npx shadcn add mozaika.design/r/decode/music.youtube.com

Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:

curl -o src/themes/music.theme.ts https://mozaika.design/api/astryx/decode/music.youtube.com.ts

registry item · astryx theme · or query it over MCP: get_design_system("YouTube Music Mobile")

Export: DESIGN.md

# YouTube Music Mobile — Design System

> dark, consumer, high — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#030303` |
| surface | `#121212` |
| border | `#282828` |
| text | `#FFFFFF` |
| text_muted | `#9F9F9F` |
| primary | `#291A1F` |
| accent | `#291A1F` |
| link | `#065FD4` |
| button_bg | `#FFFFFF` |
| button_text | `#065FD4` |

**Using these colors**

- **Action color** `#FFFFFF` — 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` are all `#291A1F` — one role, not several.
- **accent** `#291A1F` — accent for emphasis — keep it rare on the page.
- **link** `#065FD4` — inline text links and link-styled controls.
- **Page coverage** (full-page screenshot pixels): `#FFFFFF` 92.3% · `#9F9FA0` 1.9% · `#C3C3C3` 1.8% · `#E2E3E4` 1.7%

## Typography

- Heading: **Roboto**
- Body: **Roboto**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 24px / 700 · lh 30px |
| body | 14px / 400 · lh 24px |
| small | 12px / 500 · lh 16px · tracking 0.13px |

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

> **Fonts —** Roboto — free, on Google.

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 8px, 16px, 24px, 36px — snap all gaps/padding to these

## Radius
- base: 12px
- button: 18px
- card: 4px
- pill: 9999px
- sharp: 2px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#FFFFFF` / `#065FD4` | 1px solid rgba(0, 0, 0, 0.1) | 18px | 0px 16px 0px 16px | 500 14px / 0.2px | none |
| secondary | `#0F0F0F` / `#FFFFFF` | 2px solid rgba(0, 0, 0, 0) | 18px | 0px 16px 0px 16px | 500 14px / 0.15px | none |

**States (measured, not guessed)**

- primary hover: border `1px solid rgba(0, 0, 0, 0)` · background `#F2F8FF`
- primary focus: border `1px solid rgb(6, 95, 212)`
- transition: `border 0.28s cubic-bezier(0.4, 0, 0.2, 1)`

## Motion
- durations: 280ms (dominant)
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant)
- animated properties: border, box-shadow

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 |
|-------|-------|
| `--boq-chrometransition-background` | `#eee` |

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

## Components (measured)
- link: #065FD4 · underline

## Responsive (measured)
- mobile (390px): hero 20px · body 16px · 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/music.youtube.com

← All decoded design systems

Mozaika is an MCP-native design-reference library for AI coding agents: real products decoded into measured design systems, full-page screens, sliced sections with per-section specs, and ordered user flows. See The Measured Web for how the web is actually designed, or connect your agent over MCP.

An automated reading of YouTube Music Mobile's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with music.youtube.com. No screenshots stored. Removal requests: hello@mozaika.design.