# YouTube TV DESIGN.md

> Public preview. The complete DESIGN.md source (all 126 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

A token-driven dark-first marketing system — a 198-token primitive library under a 48-token semantic layer, one display family and one body family sharing a single 1.5556 line-height constant, and a two-tier radius where 2px means "button" and 16px means "surface."

- Website: https://tv.youtube.com
- Primary color: Blue `#065FD4`
- Fonts: Roboto, YouTube Sans
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/youtube-tv

## Palette preview

- `ink`: `#ffffff`
- `rule`: `#333333`
- `accent`: `#3ea6ff`
- `primary`: `#065fd4`
- `success`: `#2ba640`
- `surface`: `#0f0f0f`
- `brand-red`: `#cc0000`
- `ink-faint`: `#606060`

## Typography preview

- `body`: Roboto
- `display`: YouTube Sans

---

## Overview

YouTube TV's marketing site is built on a **published token library**, and it is one of the few large sites where the tokens can be read straight out of the stylesheet. There are 198 `--lb-*` primitive custom properties — a white ramp, a black ramp, a grey ramp, an alpha ladder, and ten ten-step chromatic ramps (red, orange, yellow, yellow-green, green, teal, sky-blue, royal-blue, purple, magenta) — sitting underneath 48 `--lbt-*` semantic tokens that alias them into roles. The page runs the **dark theme**, where `--lbt-brand-background-solid` resolves to `#212121`, `--lbt-text-primary` to `#ffffff`, and `--lbt-call-to-action` to `#3ea6ff`.

That two-layer structure is the system's defining decision. Nothing on the page names a hex value; everything names a role, and the role names a primitive. Switching the whole site to light theme is a single attribute flip, and the light pair (`#ffffff` ground, `#030303` ink) is already carried by the plan-comparison and channel-lineup modules further down the page.

The second decision is a **two-family split with one shared constant**. `YouTube Sans` carries every display and headline; `Roboto` carries every body, label, button, and field. Both are set through utility classes — `lb-font-display-3`, `lb-font-body-1`, `lb-font-chip-label` — and **every single one of those classes carries `line-height: 1.5555555556`**, exactly 14/9. It is the most consistent declaration in the entire 360 KB stylesheet, and it is what makes a 72px hero and a 10px discount label feel like the same typeface family.

The third is a **two-tier radius**. `2px` (`--border-radius--native`) is on every button; `16px` (`--border-radius`) is the default surface radius on cards, chips, and images; `24px` is on the plan cards. There is nothing in between and nothing above 24px except the 32px toggle.

## Colors

The palette is read off the resolved dark-theme tokens, not off the raw hex values, because the raw values are almost never used directly.

**The dark ramp.** `--lb-color-black-1` `#212121` is the header bar; `--lb-color-black-2` `#181818` is `general-background-a`; `--lb-color-black-3` `#0f0f0f` is `general-background-b` and the page ground; `--lb-color-black-4` `#030303` is `general-background-c` and `text-primary-inverse`. The plan cards sit on `#0a0a0a`, a hair below `#0f0f0f`. White text on all of them runs from **16.1:1 to 19.8:1** — the darkest surfaces are also the highest-contrast ones, which is why the page never needs a text shadow.

**The grey ramp.** `--lb-color-grey-2` `#aaaaaa` is `text-secondary` and the most common text color on the page after white (91 uses) — 8.25:1 on `#0f0f0f`. `--lb-color-grey-4` `#717171` is `text-disabled`, 3.93:1 — the one ramp step that fails AA, used only for disabled and placeholder text. `--lb-color-grey-5` `#606060` is the ZIP input's placeholder at 3.15:1 on the card ground.

**The action pair.** In dark theme `--lbt-call-to-action` is `--lb-color-light-blue` `#3ea6ff` (7.4:1 on the page ground) and `--lbt-call-to-action-inverse` is `--lb-color-dark-blue` `#065fd4`. Both appear: the filled hero button and the announcement bar use `#065fd4` with white at **5.84:1**, while the text-only "TRY IT FOR $0" variants use `#3ea6ff`. The same pair inverts in light theme, which is why both are first-class tokens rather than one being a hover state.

**The brand pair.** `--lb-color-youtube-medium-red` `#cc0000` is the "LIMITED TIME OFFER" badge; `--lb-color-youtube-light-red` `#ff4e45` is `brand-link-text` in dark theme, 5.87:1 on the page ground. `--lb-color-light-green` `#2ba640` is the plan-card badge, and it is the one place in the system where **black** text sits on a saturated ground (6.63:1) rather than white.

**The alpha ladder.** `white-1-alpha-5 / 10 / 30 / 50 / 70 / 95 / 98` and `black-pure-alpha-5 / 10 / 30 / 60 / 80` are the system's entire approach to layering: a chip's unselected ground is `black-pure-alpha-5`, its focus layer is `white-1-alpha-10`, a modal scrim is `black-pure-alpha-60`, and the sticky header is `black-1-alpha-98`. There is no semi-transparent grey anywhere in the build — every overlay is one of these eight named steps.

**The chromatic ramps.** Ten hues, each in ten steps from `-10` to `-90`, each with an `-alpha-60` variant. On this page almost none of them render; they exist for the app's charts, badges, and category colors, and the marketing site borrows exactly three stops from them (light-blue, dark-blue, light-green). Treat the ramps as a library, not as a palette to spend.

Three things are deliberately **not** palette: the broadcaster logos in the channel grid are third-party marks, the hero's live match footage is photography, and the NFL Premier League and network wordmarks are licensed.

## Typography

Two families, loaded as six faces: `Roboto` at 400, 500, and 700, and `YouTube Sans` at 500, 600, and 700. `Arial` is the fallback in both stacks, and `Noto Sans, Arial, sans-serif` replaces both for non-Latin scripts through `.lb-non-latin-lang`.

| Role | Family | Size | Line-height | Tracking |
| --- | --- | --- | --- | --- |
| Hero title | YouTube Sans | 72px | 76px | -1px |
| Display | YouTube Sans | 60px | 64px | -1px |
| Section | YouTube Sans | 36px | — | -1px |
| Headline | YouTube Sans | 32px | — | -1px |
| Headline sm | YouTube Sans | 26px | — | -0.25px |
| Subhead | YouTube Sans | 22px | — | -0.25px |
| Modal subhead | YouTube Sans | 18px | — | -0.25px |
| Body lg | Roboto | 18px | 28px | -0.25px |
| Body | Roboto | 16px | 28px | 0.25px |
| Body sm | Roboto | 14px | 24px | 0.2px |
| Chip / footnote | Roboto | 12px | — | 0.2px |
| Eyebrow | Roboto | 12px | — | 1px |
| Offer badge | Roboto | 11px | — | 1px |
| Discount label | Roboto | 10px | — | 0.2px |

Four things define the voice. First, **every class shares one line-height constant**, 1.5555555556, so the ratio between size and leading is identical at 10px and at 120px; the only exceptions are the button classes, which drop to 18px for optical centering inside a fixed-height control. Second, **tracking scales inversely with size**: -1px at 60–72px, -0.25px at 18–26px, +0.2px at 12–14px, +1px on the two smallest uppercase labels. The sign flips exactly once, between 16px and 18px. Third, **the display sizes are responsive steps of the same class** — `lb-font-display-1` is 72/76 below 600px, 84/90 above it, and 120/132 above 1200px, with tracking tightening from -1px to -2.5px as it grows. Fourth, **weight is a separate utility** (`lb-font-weight-300` through `-900`), so a headline can be 700 without the size class knowing about it.

Never set a line-height other than the constant on text classes, never mix the two families inside one string, and never tighten tracking below -2.5px.

## Layout

A section capped at **1440px** (`--section--max-width`) with a **16px** horizontal page gutter that widens to **64px** above 768px (`--main--padding-x`). The base unit is 4px and the design scale runs 4 / 6 / 8 / 10 / 12 / 16 / 18 / 20 / 24 / 32 / 48 / 60 / 64 / 72.

One honest caveat: the most frequent spacing value in the computed inventory is **15px (126 uses)**, but that is `--browser-scrollbar-width`, a layout-compensation variable sprayed across the build, not a design step. The design scale proper starts at 4px.

- **Header:** a 48px-tall (`--lb-header--height`) `#212121` bar inside a 64px chrome, full-bleed, holding the wordmark, seven nav links, a "Chat now" text link, an outlined SIGN IN, and a filled TRY IT FOR $0. Below 768px a persistent CTA row of 85px (`--lb-mobile-ctas--height`) is added to the chrome height.
- **Announcement bar:** a full-bleed `#065fd4` strip directly under the header, centered white body text.
- **Hero:** a full-bleed live-video band with a pause control, a 72px white headline in four lines on a 321px block, a 56px filled CTA, a red offer badge, a struck-through price, and fine print.
- **Channel panel:** a right-hand column of broadcaster logos over a dark ground, a 32px headline, and a `#3ea6ff` text CTA.
- **Plan cards:** a grid of `#0a0a0a` cards on 1px `#333333` borders with **24px** radii, a minimum width of 300px, up to 920px tall, each ending in a CTA pinned to the bottom by `margin-top: auto`.
- **Chips:** 32px-tall 16px-radius filter chips with 1px `white-1-alpha-10` borders.
- **Footer:** dark, continuing below the fold with the legal and link columns.

## Elevation & Depth

**The system declares almost no shadows, and the ones it declares are hover-only.**

- **`0 10px 30px rgba(0, 0, 0, 0.5)` — the card lift.** Applied to `.tv-plan-channel-variant__card:hover`, and nowhere else. It is a deep, soft, neutral drop at 50% — heavy enough to read as the card physically rising off the page. It is the only shadow in the build with real presence.
- **`unset` — the subnav.** `--box-shadow--subnav-wrapper` is declared and then set to `unset`, which is the system explicitly declining to elevate its own navigation.

The computed shadow inventory for the page is **empty**: no card, no button, no image, no header, and no field casts a shadow at rest. Depth comes entirely from **ground steps** — `#212121` header against `#0f0f0f` page, `#0a0a0a` cards against `#181818` sections — and from **1px borders** in `#333333` or `white-1-alpha-10`. This is a flat system that lifts exactly one thing, and only when you touch it.

Do not add a resting shadow. If something needs to feel raised, move it one step down the black ramp.

## Shapes

**A two-tier radius with one large exception.**

- **`2px`** (`--border-radius--native`) — every button, in every size, in every variant. It is deliberately the smallest value in the system, and it is what makes a 36px SIGN IN and a 56px hero CTA read as the same object.
- **`16px`** (`--border-radius`) — the default surface radius: cards, chips, images, and containers. It is the value the whole page falls back to.
- **`24px`** — the plan cards only. One step up from the default, and the largest radius in the marketing UI.
- **`32px`** (`--toggle--radius`, authored as `2rem`) — switches and toggles, the only pill in the system.
- **`50%` / `100%`** — circular icon buttons and avatars.
- **`0px`** — the header, the announcement bar, the hero, and every full-bleed band.

The rule is: **buttons are 2px, surfaces are 16px, the plan cards are 24px, and only a toggle is a pill.** There is no radius between 2px and 16px, and none above 32px.

## Motion & Micro-interaction

**Five named timings, and two of them are curves rather than durations.**

- **`hover` — 250ms `cubic-bezier(0.2, 0, 0.6, 1)`.** The system's standard interactive easing, applied to `background-color`, `border-color`, `color`, and `transform` together. It is a fast, front-loaded curve that decelerates hard — a YouTube house curve, and the single most-repeated transition in the build (16 uses).
- **`nav` — 250ms `cubic-bezier(0.05, 0, 0, 1)`** (`--transition--nav`). An even more extreme version of the same idea, on `transform` only, for the mobile navigation.
- **`fade` — 500ms `cubic-bezier(0.05, 0, 0, 1)`** on `opacity`, and `--lb-carousel--crossfade-duration: 500ms` for the carousels. Slow, symmetric, and reserved for content that is replacing other content.
- **`chip` — 750ms `cubic-bezier(0.05, 0, 0, 1)`** on `background-color`. The slowest interaction in the system by a factor of three, and it belongs to the filter chips — a chip changing state is treated as a content change, not a hover.
- **`card-lift` — 300ms `ease`** on `transform` and `box-shadow` together, which is what carries the plan card's `0 10px 30px rgba(0,0,0,.5)` shadow up from nothing.

Two rules follow. First, **the easing is part of the token, not an implementation detail** — the same `cubic-bezier(0.2, 0, 0.6, 1)` appears on color and on transform, so a hover and a slide feel identical. Second, **never animate layout**: nothing in the build transitions `height`, `width`, `top`, or `margin`; the only exception is one `height 0.3s ease` on an expansion panel.

## Voice & Content Strategy

- **Tone of voice:** Offer-led and factual. The hero states the price and the term in one sentence ("The Sports + News Plan is only $49.99/mo for your first 6 months"), the announcement bar states the saving ("Save $132 total for your first 6 months with the Sports + News Plan"), and the fine print immediately qualifies both ("Eligibility criteria apply. Cancel anytime. Terms apply. Offer ends December 2, 2026."). No exclamation marks, no second person beyond the CTA, no superlatives.
- **Capitalization:** **Title case for headlines and section titles** ("Choose a plan that works for you", "Everything live TV should be", "Level up game day with premium sports features"). **Uppercase by `text-transform` for every button** ("TRY IT FOR $0", "SIGN IN") and for the badges ("LIMITED TIME OFFER"). Sentence case for body copy and fine print.
- **The offer vocabulary:** "limited time offer", "then $71.99/mo thereafter", "offer ends", "eligibility criteria apply", "cancel anytime", "terms apply". Every price is paired with its own disclaimer in the same block, and the struck-through original price always sits immediately left of the discounted one.
- **Numbers, dates, and units:** Currency as "$49.99/mo", "US$1 billion", "A$7.59 billion"; savings as "Save $132 total"; counts as "at least 16", "up to 6 individual accounts", "100+ channels". Dates as "December 2, 2026" and "September 29, 2025". No abbreviations of "per month" — it is always "/mo".
- **Bylines and credit:** None. This is a product marketing page, not an editorial one, and it carries no author, no date, and no byline anywhere.
- **Terminology:** "lineup", "plan", "add-on", "DVR", "channel lookup", "home ZIP code", "NFL Sunday Ticket", "Sports + News Plan". The product's own vocabulary is used consistently from the hero to the footer, and "YouTube TV" is never abbreviated to "YTT".
- **Empty, loading, and error states:** The ZIP lookup is the reference — a 56px transparent field with a `#606060` placeholder, a label above it, and a helper line ("Please enter your home ZIP code below to see your area's lineup. Subject to availability."). That trio of label, field, and helper text is the only authored state on the page, and it is the model for any form.

## Components

### Header

A `#212121` bar, 48px of content inside a 64px chrome, full-bleed, carrying no border and no shadow. The wordmark sits left; seven nav links in Roboto 400 at 16px/28px with 0.25px tracking run beside it; a "Chat now" text link, an outlined SIGN IN, and a filled TRY IT FOR $0 sit right. On mobile the chrome grows by an 85px persistent-CTA row.

### Buttons

`lb-button` is one base class with three variants, and it is the system's only interactive object. All three are **2px radius**, uppercase, Roboto 500, `min-height: 36px`, `min-width: 68px`, padded 8px by 16px, and all three share the 250ms `cubic-bezier(0.2, 0, 0.6, 1)` transition on color, border, and transform.

- **`button-cta`** — `#065fd4` ground, white label. The filled action.
- **`button-ghost`** — transparent ground, white label, **1px white border**. The secondary action, and the only bordered control in the system.
- **`button-text`** — `#3ea6ff` label, no ground, no border, 16px of padding and 50px of height. The tertiary action, used for the in-panel "TRY IT FOR $0".
- **`button-cta-lg`** — the hero variant: same 2px radius and same blue, but 18px type, 16px by 66px of padding, and 56px of height. It is the largest control on the page and it is still only 2px round.

### Announcement bar

A full-bleed `#065fd4` strip directly beneath the header, holding one line of centered white Roboto 400 at 16px. It is the only large area of saturated blue on the page and it carries no radius, no border, and no shadow.

### Offer badge and price block

A `#cc0000` ground with white Roboto 500 at 11px, uppercase, 1px tracking — the "LIMITED TIME OFFER" flag. Beneath it the price line pairs a struck-through `$71.99/mo` with `$49.99/mo for your first 6 months, then $71.99/mo thereafter…`, and beneath that a 12px fine-print line in `#606060`. The three together are the page's core conversion object, and the fine print is never separated from the price by more than one line.

### Hero

A full-bleed live-video band with a pause control, holding a `lb-font-display-3` headline — YouTube Sans 700 at **72px on a 76px line with -1px tracking**, white, in four lines inside a 321px block. Below it the 56px filled CTA, then the offer badge and price block. The headline is the largest type on the page and it is set at 700 with no additional weight utility.

### Channel panel

A right-hand column of broadcaster logos over a dark ground, a 32px YouTube Sans 700 headline in white, and a `#3ea6ff` text CTA. The logos are third-party marks and are never recolored; the panel's own chrome is nothing but the dark ground and the type.

### Plan cards

`--tv-card-bg` `#0a0a0a` grounds on 1px `#333333` borders with **24px** radii, `min-width: 300px`, up to 920px tall, each a flex column whose CTA wrapper carries `margin-top: auto` so the button always sits at the bottom regardless of content length. The badge variant uses `--lb-color-light-green` `#2ba640` with **black** 14px/700 uppercase text and 10px of padding — the only black-on-color pairing in the system. On hover the card lifts: `transform` and `box-shadow` over 300ms `ease`, landing on `0 10px 30px rgba(0,0,0,.5)`.

### Chips

32px tall, **16px** radius, `black-pure-alpha-5` ground with a 1px `white-1-alpha-10` border, Roboto 400 at 12px with 0.2px tracking and 3px of top padding. The selected state flips the ground to white and the text to `text-primary-inverse`, and the transition takes **750ms** — three times slower than any hover in the system, because a chip changing is a content change.

### Fields

A 56px transparent input with `#606060` placeholder text in Roboto 400 at 16px, no border, no ground, and no radius, with a 12px label above and a helper line below. It is the only form control on the page and it is the reference for state design.

## Do's and Don'ts

- Do name roles, not hexes. Every color on the page resolves through a `--lbt-*` semantic token to a `--lb-*` primitive, and that indirection is what makes the light theme a one-attribute flip.
- Do keep the two-family split strict: `YouTube Sans` for display and headlines, `Roboto` for body, labels, buttons, and fields. `Noto Sans` takes over only for non-Latin scripts.
- Do keep every text class at `line-height: 1.5555555556`, and let tracking scale inversely with size from -1px at 60px to +1px at 11px.
- Do keep buttons at **2px** radius in every size, surfaces at 16px, plan cards at 24px, and pills at 32px. Nothing in between.
- Do spend `#065fd4` on filled CTAs and the announcement bar, and `#3ea6ff` on text-only CTAs. Both are first-class tokens, not one a hover state of the other.
- Do layer with the eight named alpha steps — `black-pure-alpha-5/10/30/60/80` and `white-1-alpha-5/10/30/50/70/95/98` — and never with an ad-hoc `rgba()`.
- Do use the 250ms `cubic-bezier(0.2, 0, 0.6, 1)` curve for every interactive change, and the 750ms version for chips.
- Do lift the plan cards on hover with `0 10px 30px rgba(0,0,0,.5)` over 300ms `ease`, and leave everything else flat.
- Don't add a resting shadow. The computed shadow inventory for the page is empty, and depth comes from the black ramp and 1px borders.
- Don't use `#717171` or `#606060` for anything a reader must read. At 3.93:1 and 3.15:1 they are disabled and placeholder text only.
- Don't treat the ten chromatic ramps as a palette. The marketing site borrows three stops from them; the rest belong to the app.
- Don't transition `height`, `width`, or `margin`. The build's only exception is one expansion panel, and it should stay the only one.
- Don't set a radius between 2px and 16px, or above 32px. The gap is deliberate.
- Don't recolor the broadcaster logos or the network wordmarks. They are third-party marks and the system gives them no token.
