---
version: alpha
name: HeadPhonix
description: "Dark interface measured from spotify2.ai.studio: system-ui type, green accents, tonal surfaces and 12.96px corners."
colors:
  background: "#050505"
  surface: "#050505"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#BEBEBE"
  surface-container-low: "#0D0D0D"
  surface-container: "#111111"
  outline: "#FFFFFF38"
  outline-variant: "#FFFFFF26"
  primary: "#1DB954"
  on-primary: "#000000"
typography:
  headline-display:
    fontFamily: system-ui
    fontSize: 48px
    fontWeight: 800
    lineHeight: 1.1
    letterSpacing: -0.04em
  headline-lg:
    fontFamily: system-ui
    fontSize: 28px
    fontWeight: 700
    lineHeight: 1.33
    letterSpacing: -0.02em
  headline-md:
    fontFamily: system-ui
    fontSize: 24px
    fontWeight: 700
    lineHeight: 1.2
    letterSpacing: -0.02em
  headline-sm:
    fontFamily: system-ui
    fontSize: 20px
    fontWeight: 800
    lineHeight: 1.4
    letterSpacing: -0.025em
  body-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: system-ui
    fontSize: 13.5px
    fontWeight: 400
    lineHeight: 1.33
  caption:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-lg:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.43
  label-md:
    fontFamily: system-ui
    fontSize: 14.5px
    fontWeight: 700
    lineHeight: 1.5
  label-sm:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.43
  headline-display-mobile:
    fontFamily: system-ui
    fontSize: 32px
    fontWeight: 800
    lineHeight: 1.1
    letterSpacing: -0.04em
rounded:
  md: 12.96px
  full: 9999px
spacing:
  xs: 3px
  sm: 8px
  md: 10px
  lg: 22px
  xl: 60.48px
  gutter: 9px
  margin: 60.48px
components:
  button-primary:
    backgroundColor: "{colors.on-surface}"
    textColor: "#090909"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: 0px 26px
    height: 52px
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "#FFFFFFE6"
    rounded: "{rounded.full}"
    padding: 0px 16px
    height: 40px
  button-outline-hover:
    backgroundColor: "#1D1D1D"
  card:
    backgroundColor: "#121212"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: 0px
---

# HeadPhonix Design System

## Overview

HeadPhonix describes itself as: “A high-fidelity Progressive Web App (PWA) music streaming application with offline caching, installable home-screen experience, transparent headphone emblem logo, real audio playback, synchronized lyrics, global search, ” The interface is dark, built on **Near Black (#050505)** with **White (#FFFFFF)** text, and **Green (#1DB954)** as the main accent.

Type is set in **system-ui**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 12.96px.

Measured from [spotify2.ai.studio](https://spotify2.ai.studio/) on November 11, 2026 at 1440×900 and 390×844 from 84 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 9 roles.

- **Near Black (#050505):** Page background, seen 1 time. Token `background`.
- **White (#FFFFFF):** Primary text and headings, seen 19 times. Token `on-surface`, CSS `--tw-ring-offset-color`.
- **Silver (#BEBEBE):** Secondary text, seen 18 times. Token `on-surface-variant`.
- **Charcoal (#0D0D0D):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Charcoal (#111111):** Cards and panels, seen 19 times. Token `surface-container`.
- **White 22% (#FFFFFF38):** Borders and dividers, seen 19 times. Token `outline`.
- **White 15% (#FFFFFF26):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Green (#1DB954):** Brand accent (CSS variable). Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.

## Typography

**system-ui** carries the whole interface. Fallback stack: `-apple-system, BlinkMacSystemFont, Segoe UI, Roboto`.

- **headline-display:** system-ui 48px at weight 800, line height 1.1, tracking -0.04em (32px on mobile). Page title (h1).
- **headline-lg:** system-ui 28px at weight 700, line height 1.33, tracking -0.02em. Section headings (h2).
- **headline-md:** system-ui 24px at weight 700, line height 1.2, tracking -0.02em. Sub-section headings.
- **headline-sm:** system-ui 20px at weight 800, line height 1.4, tracking -0.025em. Card and feature titles.
- **body-md:** system-ui 16px at weight 400, line height 1.5. Body text.
- **body-sm:** system-ui 13.5px at weight 400, line height 1.33. Secondary and small text.
- **caption:** system-ui 12px at weight 400, line height 1.33. Captions and fine print.
- **label-lg:** system-ui 16px at weight 600, line height 1.43. Large buttons and tabs.
- **label-md:** system-ui 14.5px at weight 700, line height 1.5. Buttons, navigation and labels.
- **label-sm:** system-ui 14px at weight 500, line height 1.43. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 25% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 3px, sm 8px, md 10px, lg 22px, xl 60.48px.
- **Gaps:** 9px is the most common gap in flex and grid layouts.
- **Page margin:** 60.48px on each side of full-width sections.
- **Breakpoints:** 640px, 700px, 768px, 1024px, 1280px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(0, 0, 0, 0.6) 0px 10px 25px 0px`
- `rgba(255, 255, 255, 0.8) 0px 0px 14px 0px`
- `rgba(0, 0, 0, 0.55) 0px 10px 32px 0px, rgba(255, 255, 255, 0.08) 0px 0px 0px 5px`

## Shapes

Most elements use 12.96px corners. Measured radii, most used first:

- **md (12.96px):** 72 elements.
- **full (9999px):** 16 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Start listening”):** #FFFFFF fill, #090909 text, 14.5px/700, 999px radius, padding 0px 26px, border 1px solid #FFFFFFEB, shadow `rgba(0, 0, 0, 0.55) 0px 10px 32px 0px, rgba(255, 255, 255, 0.08) 0px 0px 0px 5px`.
- **button-outline (“Pause”):** #111111 fill, #FFFFFFE6 text, 13px/600, 999px radius, padding 0px 16px, border 1px solid #FFFFFF38.
- **button-outline-hover:** background #1D1D1D, text #FFFFFFE6 on hover.
- **card:** #121212 fill, #FFFFFF text, 16px/400, 12.96px radius, padding 0px, border 1px solid #FFFFFF38, shadow `rgba(0, 0, 0, 0.6) 0px 10px 25px 0px`.

## Do's and Don'ts

- Do use #050505 for the page and lift surfaces in small steps: #0D0D0D, #111111.
- Do keep text in 2 levels: #FFFFFF, #BEBEBE.
- Do use #1DB954 as the brand accent: header, logo and key highlights.
- Do set headlines in system-ui with tight tracking (-0.04em).
- Do reuse the measured spacing steps (8px, 10px, 22px).
- Do use 12.96px corners on most elements.
- Don't introduce new font families beyond system-ui.
- Don't use #1DB954 for large backgrounds or body text.
- Don't make interface transitions slower than 0.2s.

## Motion

Interface transitions are quick: 0.2s. Longer ambient animations run 18s, 0.75s, 0.85s.

- **Easing:** `linear`, `ease`, `cubic-bezier(0.16, 1, 0.3, 1)`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/spotify2.ai.studio/), the free DESIGN.md generator (engine 2026.10.29+b828a475ee10).
