# Spotify DESIGN.md

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

Iconic dark-first streaming interface — a

- Website: https://spotify.com
- Primary color: Green `#1ED760`
- Fonts: SpotifyMixUI, SpotifyMixUITitle, SpotifyMixUITitleVariable
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/spotify

## Palette preview

- `primary`: `#1ed760`
- `surface`: `#121212`
- `tertiary`: `#91eeda`
- `on-primary`: `#000000`
- `on-surface`: `#ffffff`
- `inverse-surface`: `#000000`
- `accent-periwinkle`: `#9e9eff`
- `surface-container`: `#1f1f1f`

## Typography preview

- `body-md`: SpotifyMixUI
- `headline-lg`: SpotifyMixUITitle
- `display-hero`: SpotifyMixUITitleVariable

---

## Overview

Spotify is **dark-first and unapologetically bold**. The web player is a wall-to-wall #121212 canvas where album art supplies 100% of the color; UI chrome stays in layered charcoals (#1F1F1F → #242424 → #333333) and every control is a pill or a circle. Spotify green (#1ED760) is used surgically — the play button and the premium CTA — so it always reads as "press me."

The marketing surface (premium plans, download) shares the same black canvas but scales the typography to poster size: `SpotifyMixUITitleVariable` headlines up to 128px at weight 900, paired with lifestyle photography, a pastel accent pair (mint #91EEDA, peach #FFA178) on plan cards, and periwinkle (#9E9EFF) accent links. The mood is energetic, youthful, and music-obsessed — dense grids of content that still feel effortless.

## Colors

- **Primary — Spotify Green (#1ED760):** Play buttons, "Try 3 months for $0" pills, check marks, and price highlights. Always paired with black text — never white — and never used for passive decoration.
- **Surface (#121212):** The canonical app background — near-black, slightly warm.
- **Surface Container (#1F1F1F):** Elevated panels — the search bar, icon buttons, chips, library sidebar cards.
- **Surface Container High / Highest (#242424 / #333333):** Hover states and deeper elevation steps; #242424 is also the marketing card background.
- **On Surface (#FFFFFF):** All primary text, white pills, and active states.
- **On Surface Variant (#B3B3B3):** The workhorse secondary — artist names, playlist descriptions, ghost buttons, footer links. As much a signature as the green.
- **On Surface Tertiary (#919496):** Faintest tier — legal copy, eyebrow labels, placeholder text.
- **Inverse Surface (#000000):** Pure black for the marketing nav bar and footers — a step darker than the app canvas.
- **Tertiary — Mint (#91EEDA):** Pastel plan-card accent on marketing surfaces (its partner peach #FFA178 appears alongside); also used for green-adjacent price text.
- **Accent Periwinkle (#9E9EFF):** Soft violet reserved for inline accent links and select CTA text on dark surfaces.

## Typography

Everything is set in the **Spotify Mix** family: `SpotifyMixUI` for interface text and `SpotifyMixUITitle` / the variable `SpotifyMixUITitleVariable` for display. There is no serif and no tracking — Spotify Mix is set at natural letter spacing at every size.

- **Display (marketing only):** `display-hero` runs 128px at weight 900 ("The ultimate home for music"); `headline-display` is 64px/800 for section titles. Massive, tightly packed, always white on black.
- **Headlines:** `headline-lg` (32px/700) and `headline-md` (24px/700) in SpotifyMixUITitle drive app section titles ("热播歌曲", "当红艺人") and card headings.
- **Titles:** `title-md` — 16px/700 SpotifyMixUI for row titles, card names, and the "音乐库" sidebar header.
- **Body:** `body-md` (16px, 400) is the default reading and nav size; `body-sm` (14px) for secondary descriptions.
- **Labels:** `label-lg` (16px/700) is the universal button/pill voice; `label-md` (14px/700) for compact pills.
- **Caption & eyebrow:** `caption` (12px/400) for legal lines; `label-caps` (12px/900, 0.08em tracking) for small emphatic labels.

## Layout

- **App shell:** A fixed left sidebar ("音乐库" library, ~420px), a 72px top bar with search pill and account actions, and a fluid grid of content cards. Cards run ~6–8 across at 1440px with 12–24px gutters.
- **Card grid:** Uniform columns; each media card is artwork + two lines of text with 12px internal padding.
- **Marketing:** Centered content at ~1240px max, full-bleed photographic heroes, 24px-radius plan cards.
- **Rhythm:** 8px base — 4/8/12/16/24/32 dominate; the 12px step is the most common gap in the player.

## Elevation & Depth

Depth is **tonal, not shadowed** inside the app: #121212 → #1F1F1F → #242424 → #333333 layers convey elevation, with hover brightening the panel one step. Floating overlays (menus, modals, the now-playing bar) do cast a signature dark shadow — `0 8px 24px rgba(0,0,0,0.5)`. Media cards themselves stay transparent until hovered.

## Shapes

- **Pills everywhere:** 9999px is the single most common radius — buttons, chips, search, icon buttons, the player progress affordances. If it's interactive, it's probably a pill.
- **Circles:** Artist avatars and icon buttons are perfect circles (50%).
- **Media cards:** Only 6px radius on artwork tiles — a barely-there softening that keeps grids crisp.
- **Marketing cards:** Larger 24px-radius panels; small UI elements drop to 2–4px.

## Motion & Micro-interaction

Fast and physical — everything responds in **150ms** on Spotify's signature `cubic-bezier(0.3, 0, 0, 1)` curve (a quick-out ease that starts instantly). Hover darkens or lightens panels, buttons subtly scale, and cards reveal a circular green play button that rises into view. Overlays fade in ~300ms. Keep all animation on `transform`, `color`, and `background-color`; never animate layout properties.

## Voice & Content Strategy

- **Tone of voice:** Direct, enthusiastic, plain-spoken — "Play millions of songs and podcasts on your device." Offer copy is literal and numeric: "Try 3 months for $0", "Premium Individual only. $0 for 3 months, then $12.99 per month after."
- **Capitalization:** Sentence case almost everywhere — buttons ("View all plans", "Try 3 months for $0"), headings, and nav. Footer column heads are the exception ("COMPANY", "COMMUNITIES", "USEFUL LINKS" in all-caps).
- **Terminology:** "Premium" for the subscription, "Free" for the tier, "Your Library" for the sidebar. Section titles are short noun phrases, two to four words.
- **Buttons:** Plain verb phrases — "Sign up", "Log in", "Download", "Create playlist". No exclamation marks.
- **Metadata:** Dates and disclaimers in 12px gray; "Terms apply" is always linked.

## Components

### Buttons & Pills

`button-primary` is a 48px 9999px pill in Spotify green with black 16px/700 text — the strongest action ("Try 3 months for $0"). `button-secondary` is the identical pill in white with black text ("Log in", "免费注册"). `button-outline` is transparent with a white ring ("View all plans"); `button-ghost` drops to bare gray text ("Sign up"). `button-icon` is a 48px #1F1F1F circle. Hover nudges scale or brightness, never color.

### Cards & Rows

`card-media` is a 6px-radius tile — artwork flush, title in white 16px, subtitle in #B3B3B3 — transparent until hover lifts it to #242424 and a green `button-icon`-style play circle slides in bottom-right. List rows use the same two-tier text on hover-brightened rows.

### Inputs & Search

`input-search` is a 48px 9999px pill in #1F1F1F with a leading icon and white text — the player's "想播放什么？" field; marketing search inputs share the same treatment.

### Navigation & Footer

`nav` is a 72px pure-black bar (marketing) — wordmark, text links, divider, ghost "Sign up" + green primary pill. In the player, the top bar is #121212 with a search pill and account actions. `footer` is pure black with #B3B3B3 link columns under all-caps group heads and a social icon row.

### Accent Elements

`link-accent` periwinkle is for inline emphasis links on dark surfaces. Plan cards on premium pages pair the pastel mint/peach headers with #242424 bodies. The signup banner at the player's foot is a magenta→blue gradient — a rare, celebratory splash reserved for conversion moments.

## Do's and Don'ts

- Do keep the canvas dark — never introduce a light theme to the player surface.
- Do put black text on Spotify green, never white.
- Do use pills (9999px) for every interactive control and circles for avatars/icon buttons.
- Do reserve #1ED760 for actionable elements — play, subscribe, confirm — not decoration.
- Do set secondary text in #B3B3B3 rather than inventing new grays.
- Don't add shadows to resting cards — elevation comes from the charcoal ladder; reserve `0 8px 24px rgba(0,0,0,.5)` for floating overlays.
- Don't track out headlines — Spotify Mix runs at natural spacing; the only tracked style is the 0.08em `label-caps`.
- Don't use the pastel mint/peach pair outside marketing plan surfaces.
- Do keep buttons at 48px and weights at 700 for labels — Spotify never uses medium-weight CTAs.
