Spotify Web Player DESIGN.md 设计系统与风格规范
ConsumerPro 专属v1.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 变量、查看组件配色引用并下载完整源文件。
设计规范
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 服务器调用 get_design_md 工具(slug 为 "spotify-web-player"),即可获取公开版本;完整 tokens 需要 Pro。
保存为项目根目录下的 DESIGN.md
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
让 agent 按它来写
例如:“按照 DESIGN.md 里的 Spotify Web Player 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
Spotify Web Player 风格 AI Prompt
参照 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 Prompt 生成器中自定义 →常见问题
Spotify Web Player 的主色是什么?
Spotify Web Player 的品牌主色是绿色(#1ED760),其 DESIGN.md 共定义了 12 个颜色 token。
Spotify Web Player 用的是什么字体?
Spotify Web Player 的主要字体是 SpotifyMixUI 和 SpotifyMixUITitle。
如何在 Tailwind CSS 或 shadcn/ui 中使用 Spotify Web Player 的设计 token?
本页公开了 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 提取自其公开网站,仅供参考。