askill
spotify-ui-skills

spotify-ui-skillsSafety 100Repository

Spotify's UI design system. Use when building interfaces inspired by Spotify's aesthetic - dark mode, Inter font, 4px grid.

7 stars
2 favorites
1.2k downloads
Updated 2/10/2026

Package Files

Loading files...
SKILL.md

Spotify UI Skills

Opinionated constraints for building Spotify-style interfaces with AI agents.

When to Apply

Reference these guidelines when:

  • Building dark-mode interfaces
  • Creating Spotify-inspired design systems
  • Implementing UIs with Inter font and 4px grid

Colors

  • MUST use dark backgrounds (lightness < 20) for primary surfaces - detected lightness: 9
  • MUST use #171717 as page background (surface-base)
  • MUST use #010002 for primary actions and focus states (accent)
  • SHOULD reduce color palette (currently 14 colors detected)
  • MUST maintain text contrast ratio of at least 4.5:1 for accessibility

Semantic Tokens

TokenHEXRGBUsage
surface-base#171717rgb(23,23,23)Page background
surface-raised#FEFEFErgb(254,254,254)Cards, modals, raised surfaces
surface-overlay#010002rgb(1,0,2)Overlays, tooltips, dropdowns
text-primary#555555rgb(85,85,85)Headings, body text
text-secondary#6A6A6Argb(106,106,106)Secondary, muted text
text-tertiary#AEAEAErgb(174,174,174)Additional text
border-default#838486rgb(131,132,134)Subtle borders, dividers
accent#010002rgb(1,0,2)Primary actions, links, focus

Typography

  • MUST use Inter as primary font family
  • SHOULD use single font family for consistency
  • MUST use 41px / 500 for primary headings
  • MUST use 13px / 400 for body text
  • SHOULD reduce font weights (currently 4 detected)
  • MUST use text-balance for headings and text-pretty for body text
  • SHOULD use tabular-nums for numeric data
  • NEVER modify letter-spacing unless explicitly requested

Text Styles

StyleFontSizeWeightColorCount
heading-1Inter41px500#2D2D2D1
text-24pxInter24pxsemi_bold#DBDBDB1
text-24pxInter24px500#DBDBDB1
text-24pxInter24pxsemi_bold#DCDCDC1
text-17pxInter17px400#6766671
text-16pxInter16px400#A6A6A61
text-15pxInter15px400#AEAEAE1
text-15pxInter15px400#6B6B6B1
text-15pxInter15px400#A4A4A41
text-15pxInter15px400#7171711

Typography Reference

Font Families:

  • Inter (used 81x)

Font Sizes: 8px, 9px, 10px, 11px, 12px, 13px, 14px, 15px, 16px, 17px, 24px, 41px

Spacing

  • MUST use 4px grid for spacing
  • SHOULD use spacing from scale: 1px, 2px, 3px, 4px, 5px, 6px, 7px, 8px
  • SHOULD use 5px as default gap between elements
  • NEVER use arbitrary spacing values (use design scale)
  • SHOULD maintain consistent padding within containers

Borders

  • MUST use border-radius from scale: 10px, 15px, 17px, 18px, 22px, 24px
  • SHOULD use 22px+ radius for pill-shaped elements
  • SHOULD limit border widths to: 1px, 2px
  • SHOULD use 15px as default border-radius
  • NEVER use arbitrary border-radius values (use design scale)
  • SHOULD use subtle borders (1px) for element separation

Border Radius Reference

Scale: 10px, 15px, 17px, 18px, 22px, 24px

Layout

  • MUST design for 1920px base viewport width
  • SHOULD use consistent element widths: 172px, 68px, 171px, 185px, 38px
  • SHOULD maintain text-heavy layout with clear hierarchy
  • NEVER use h-screen, use h-dvh for full viewport height
  • MUST respect safe-area-inset for fixed elements
  • SHOULD use size-* for square elements instead of w-* + h-*

Detected Layout Patterns

  • Main Content: width: 1920px, height: 1080px
  • Header: height: 60px

Components

Buttons

VariantBackgroundTextBorderHeightRadius
Ghosttransparent#B8B8B8none--

Interactive States

Focus

  • MUST use 2px outline with accent color (#010002)
  • MUST use 2px outline-offset
  • NEVER remove focus indicators

Hover

  • Buttons (primary): lighten background by 10%
  • Buttons (secondary): use #FEFEFE background
  • List items: use #FEFEFE background

Disabled

  • MUST use opacity: 0.5
  • MUST use cursor: not-allowed

Interaction

  • MUST use an AlertDialog for destructive or irreversible actions
  • SHOULD use structural skeletons for loading states
  • MUST show errors next to where the action happens
  • NEVER block paste in input or textarea elements
  • MUST add an aria-label to icon-only buttons

Animation

  • NEVER add animation unless it is explicitly requested
  • MUST animate only compositor props (transform, opacity)
  • NEVER animate layout properties (width, height, top, left, margin, padding)
  • SHOULD use ease-out on entrance animations
  • NEVER exceed 200ms for interaction feedback
  • SHOULD respect prefers-reduced-motion

Performance

  • NEVER animate large blur() or backdrop-filter surfaces
  • NEVER apply will-change outside an active animation
  • NEVER use useEffect for anything that can be expressed as render logic

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

100/100Analyzed 2/19/2026

Comprehensive Spotify UI design system with detailed color tokens, typography specs, spacing grids, and component guidelines. Well-structured with clear MUST/SHOULD/NEVER directives, semantic token tables, and detected design patterns. High-density technical reference covering dark mode, Inter font, 4px grid system, accessibility requirements, animation constraints, and performance guidelines. Located in dedicated skills folder, making it highly reusable for any Spotify-inspired interface project.

100
95
90
85
90

Metadata

Licenseunknown
Version-
Updated2/10/2026
Publisherihlamury

Tags

No tags yet.