Skip to content

fix: use theme-aware surface tokens on top track strip for light mode#30

Merged
kevinle623 merged 1 commit intomainfrom
claude/fix-artist-skeleton-mobile
Mar 27, 2026
Merged

fix: use theme-aware surface tokens on top track strip for light mode#30
kevinle623 merged 1 commit intomainfrom
claude/fix-artist-skeleton-mobile

Conversation

@kevinle623
Copy link
Copy Markdown
Owner

Summary

Fixes the top track strip in FeaturedArtist looking broken in light mode.

  • bg-black/40bg-surface-container/80 — uses the CSS custom property so it's dark in dark mode and light gray in light mode
  • hover:bg-white/5hover:bg-surface-container-high/60 — same treatment for the hover state
  • Applied to both the loading skeleton and the live strip
  • Also cleans up the live strip text container to flex-1 min-w-0 overflow-hidden for consistent truncation with the skeleton

Test plan

  • Toggle to light mode and visit /artists — strip should render as a clean light gray frosted panel, not a dark box
  • Dark mode should look unchanged

https://claude.ai/code/session_01KmBA3fkihdEK2NVbhfgJPj

Replaces hardcoded bg-black/40 and hover:bg-white/5 with bg-surface-container/80
and hover:bg-surface-container-high/60 so the strip renders correctly in both
dark and light themes. Also applies proper flex-1 min-w-0 truncation to the
live strip to match the skeleton.

https://claude.ai/code/session_01KmBA3fkihdEK2NVbhfgJPj
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
statify-2pfb Building Building Preview, Comment Mar 27, 2026 11:44am

@kevinle623 kevinle623 merged commit ce31fc8 into main Mar 27, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants