Spotify Web Player DESIGN.md 設計系統與風格指南
ConsumerProv1.0.0 (最新)The iconic dark music-player interface: a #121212 canvas with a pure-black sidebar, #1f1f1f elevated cards, one signature green (#1ed760) for actions, pill buttons everywhere, SpotifyMixUI type, and deep 24px hover shadows.
你可以免費閱讀 Spotify Web Player 的完整設計敘述與最多 8 色主色票。升級 Pro 即可取得全部 57 個設計 Token、完整 DESIGN.md 原始檔下載與 1 個歷史版本。
升級 DesignMD Pro,將所有色彩複製為 :root CSS variables、檢視元件 Token 引用關係,並下載完整原始檔。
設計指南
Overview
This is the Spotify web player, the reference implementation of one of the most recognizable dark interfaces in software: a pure-black left sidebar (Your Library, playlists, legal links) beside a #121212 main canvas of card grids — "Trending songs", "Popular artists", "Popular albums and singles". Content lives in #1f1f1f elevated cards that lift to a deep 0 8px 24px rgba(0,0,0,.5) shadow on hover, revealing a green circular play button. Type is Spotify's own SpotifyMixUI (with SpotifyMixUITitle for section headings), text is white with #b3b3b3 for all secondary copy, and exactly one saturated color exists: Spotify green (#1ed760), reserved for the primary CTA and hover states. Buttons are pills (9999 px) almost without exception; artist cards use 50 % circular art. A pink-to-teal gradient banner ("Preview of Spotify — Sign up to get unlimited songs…") closes the page — the only gradient in the system.
Colors
A strict three-value palette plus one brand green.
- Green (
primary, #1ed760): the "Sign up free" pill and every hover play button — black text on green. It never appears as a surface for content; it marks action only. - Ink:
on-surface(#ffffff) for headings, song titles, and active states;on-surface-muted(#b3b3b3) for artist names' subtitles, nav items, links, and metadata — the workhorse secondary. - Surfaces:
surface-sidebar(#000000) for the library rail;surface(#121212) for the main canvas;surface-raised(#1f1f1f) for cards;surface-raised-alt(#292929) for inner wells and hairlines;surface-hover(#333333) for hover fills. - Gradient (
gradient-from#f79bd2 →gradient-to#5eac96): the bottom sign-up banner only — pink to teal, full-bleed, with a white pill button. - Shadows: one elevation token —
0 8px 24px rgba(0,0,0,.5)— applied to cards on hover (and menus/popovers). It is the entire depth system.
Typography
Two proprietary families, both parts of the SpotifyMix superfamily.
- Titles: SpotifyMixUITitle at 24 px/700 for section headings ("Trending songs", "Popular artists") and 16 px/700 for card titles.
- UI and body: SpotifyMixUI at 16 px/400 for song titles and nav, 14 px/400 for links and card subtitles, 12 px/400 for the smallest metadata (explicit tags, footer legal).
- Weights stay 400–700; hierarchy comes from the title/UI family split, size, and the white/#b3b3b3 color pair. Line-heights sit near 1.25–1.5.
Layout
A fixed left sidebar (library, playlist cards, legal footer, language picker) beside a scrollable main column with a sticky top bar (home icon, pill search field "What do you want to play?", right-aligned Premium / Support / Download / Install App / Sign up / Log in). The main canvas is a vertical stack of horizontal card carousels: a section title with a right-aligned "Show all", then a row of ~5–7 cards that scrolls horizontally with arrow controls. Song cards are square album art over title + artist line; artist cards are circular art over name + "Artist". Rows are separated by generous section padding (24–32 px) on a 12 px base grid with 4–12 px internal gaps. The sign-up banner is full-bleed at the bottom.
Elevation & Depth
Depth is one shadow, used on demand: cards are flat #1f1f1f at rest and gain 0 8px 24px rgba(0,0,0,.5) on hover, at which point the green play button fades in at the art's bottom-right. The sidebar stays pure black and flat; the top bar is transparent over the canvas. Popovers and menus use the same shadow. There are no borders on cards (the surface change does the separating) and no colored or glowing shadows — the lift is pure black at 50 %.
Shapes
Two radii carry the system: 8 px (md) on cards and media containers, 6 px on smaller controls, 4 px on the tiniest elements — and 9999 px pills on every button (Log in, Sign up, search, nav chips). Artist avatars and play buttons are 50 % circles. The pill is the signature: even plain text actions ("Sign up", "Install App") are pill-shaped hit targets, 32–48 px tall.
Motion & Micro-interaction
Motion is hover-bound and quick: cards lift (shadow + slight background change) and reveal the play button on hover, the play button itself scales/greens on press, carousels scroll via arrow buttons, and the search pill expands on focus. Transitions are short (~150 ms ease). No page-load choreography or scroll animation in the captured view. Honor prefers-reduced-motion.
Voice & Content Strategy
- Tone: empty-state coaching, not marketing — "Create your first playlist / It's easy, we'll help you", "Let's find some podcasts to follow / We'll keep you updated on new episodes". The logged-out home sells through content, not copy.
- Structure: library rail → top bar → curated carousels (Trending songs, Popular artists, Popular albums and singles) → sign-up banner. Section titles are plain nouns with a "Show all" escape hatch.
- Metadata: song cards list title, featured artists, and a small explicit ("E") tag; artist cards list name + "Artist". Attribution lines ("Travis Scott, Grand Theft Auto VI") are #b3b3b3 at 14 px.
- Conversion: the banner states the offer in one sentence — "Sign up to get unlimited songs and podcasts with occasional ads. No credit card needed." — beside a single white "Sign up free" pill.
- Capitalization: sentence case everywhere ("Your Library", "Popular artists"); titles keep their release capitalization.
Components
- Primary pill.
button-pill: green #1ed760 fill, black 14 px/700 label, 9999 px radius, 48 px tall — the sign-up CTA and every hover play button. - Ghost/control pills.
button-ghost: #1f1f1f or transparent fill, white 16 px/400 icon or label, pill radius, 48 px tall — sidebar actions, carousel arrows, player controls. - Song cards.
card-media: #1f1f1f fill, 8 px radius, 16 px padding; square art on top, SpotifyMixUITitle 16 px/700 title, 14 px #b3b3b3 artist line; hover adds the deep shadow + green play circle. - Artist cards.
card-artist: same shell but 50 % circular art and an "Artist" caption. - Search field. A pill input in the top bar with a magnifier icon and placeholder "What do you want to play?".
- Nav.
nav-linkitems at 14–16 px in #b3b3b3 (white when active) — Premium, Support, Download, Install App, Sign up, Log in as pill hit targets in the top bar; library links in the sidebar. - Sign-up banner. Full-bleed pink→teal gradient with white headline, one sentence of support copy, and a white "Sign up free" pill.
Do's and Don'ts
- Do keep the canvas #121212 with a pure-black sidebar and #1f1f1f cards — never lighten the ground or use pure gray panels.
- Do reserve green (#1ed760) for action: the primary CTA and hover play buttons, with black text.
- Do set secondary text in #b3b3b3 — it is the only secondary value in the system.
- Do make every button a 9999 px pill; cards stay at 8 px with 50 % circles only for artist art and play buttons.
- Do lift cards with
0 8px 24px rgba(0,0,0,.5)on hover and nothing else — one shadow, one purpose. - Do use SpotifyMixUI for UI and SpotifyMixUITitle for headings; don't substitute a third family.
- Don't add gradients anywhere except the sign-up banner, and don't introduce borders — surface contrast does the separating.
- Do keep the sidebar + carousel layout: fixed library rail, sticky top bar, horizontal card rows with "Show all".
如何在 AI Agent 中使用 Spotify Web Player 的 DESIGN.md
取得 Spotify Web Player 的 DESIGN.md
存取 https://www.designmdpro.app/websites/spotify-web-player.md 或透過 DesignMD Pro MCP 伺服器以 slug "spotify-web-player" 呼叫 get_design_md 工具以取得公開版本。完整 token 集合需訂閱 Pro。
將其儲存為專案根目錄中的 DESIGN.md
將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。
請你的 Agent 遵循該規範
例如:「請依照 DESIGN.md 中的 Spotify Web Player 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」
Spotify Web Player 風格 AI 提示詞
請依照 Spotify Web Player(open.spotify.com) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。
## 色彩
- primary: #1ED760
- surface: #121212
- hairline: #292929
- on-primary: #000000
- on-surface: #FFFFFF
- gradient-to: #5EAC96
- gradient-from: #F79BD2
- surface-hover: #333333
## 字型
- body-lg: "SpotifyMixUI", 16px, weight 400, line-height 1.5
- title-lg: "SpotifyMixUITitle", 24px, weight 700, line-height 1.25
## 圓角
- md: 8px
- sm: 6px
- xs: 4px
## 規則
- 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。
- 所有文字皆套用上述字型樣式,並維持其字級與字重層級。
- 圓角與間距請取自上述比例尺,確保各元件外觀一致。
完整 DESIGN.md:https://www.designmdpro.app/websites/spotify-web-player.md在 v0 提示詞產生器中自訂 →常見問題
Spotify Web Player 的主色是什麼?
Spotify Web Player 的品牌主色為 綠色(#1ED760),其 DESIGN.md 共定義了 12 個色彩 tokens。
Spotify Web Player 使用什麼字型?
Spotify Web Player 的主要字型為 SpotifyMixUI 與 SpotifyMixUITitle。
如何在 Tailwind CSS 或 shadcn/ui 中使用 Spotify Web Player 的 design tokens?
本頁已公開 Spotify Web Player 的主色(#1ED760)。產生完整的 Tailwind 或 shadcn 主題需要完整的 DESIGN.md,可透過 DesignMD Pro 取得。
這份 Spotify Web Player DESIGN.md 是官方發布的嗎?
不是。此檔案由 DesignMD Pro 擷取自公開的 open.spotify.com 網站,與 Spotify Web Player 無任何關聯亦未獲其背書。
Spotify Web Player 的 DESIGN.md 最後一次更新是什麼時候?
版本 1.0.0 擷取於 2026年12月1日。
Spotify Web Player 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 Spotify Web Player 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。