Skip to content

fix(css-map): add Spotify 1.3.4 lyrics and search classes - #4074

Open
AbhayKale332 wants to merge 1 commit into
spicetify:mainfrom
AbhayKale332:css-map-spotify-1.3.4
Open

AbhayKale332 wants to merge 1 commit into
spicetify:mainfrom
AbhayKale332:css-map-spotify-1.3.4

Conversation

@AbhayKale332

@AbhayKale332 AbhayKale332 commented Nov 22, 2026 •

Copy link
Copy Markdown

Spotify 1.3.4.258 (Linux) renders the lyrics view and top-bar search input with hashed classes that are missing from the map, so themes have to target the raw hashes (e.g. spicetify/spicetify-themes#1327). This adds 10 mappings, each confirmed in 1.3.4's xpui-modules.js and xpui-snapshot.css. Only existing readable names are reused.

  • rzOQhNuCNTsDR8rE8ss1 → lyrics-lyricsContent-lyric: lyric line div (dir="auto")
  • _3s1DGSMxRHUVPuxgkoss → lyrics-lyricsContent-text: text child of each line
  • dPaa_Hg0z0Ql_UBrV9uZ → lyrics-lyricsContent-active: current line (--lyrics-color-active)
  • loNizikBbaCKyI9Gv8xg → lyrics-lyricsContent-highlight: lines before the active index
  • MZZCOz_ImVH1skMtX3aI → lyrics-lyricsContent-upcoming: lines after the active index
  • upDNlpL8xEkxmKWWw9IF → lyrics-lyricsContent-provider: web-player.lyrics.providedBy
  • WlotvRiQOV9Ps_vFbm14 → lyrics-lyricsContent-unsynced: web-player.lyrics.unsynced
  • nqmjceMqTFCSMXlnquLP → lyrics-lyrics-background: background-color: var(--lyrics-color-background)
  • bqldaBkacR41KxR2Z0jY → lyrics-lyrics-container: root carrying the inline --lyrics-color-* style
  • JT_lB7XtA2AhQHSejYKH → main-topBar-searchBar: <input type="search" data-top-bar-search>

Past lines use -highlight (sung lines; used by existing themes) rather than -previous. Happy to switch.

Not mapped: NAOY0Orzgl4rd4__VtAw and l2GQ00sPnkqe8YLHcfzL (lyrics wrapper and lines container). I couldn't confidently tell contentWrapper from contentContainer apart.

Validated: JSON parses, no duplicate keys, existing mappings unchanged, git diff --check passes.

Summary by CodeRabbit

  • Style
    • Updated styling support for lyrics-related elements and the top-bar search bar. Existing styling mappings remain unchanged. These updates affect the visual presentation of those areas; no other user-facing changes are included in this release.

Copilot AI balanced review requested due to automatic review settings November 22, 2026 12:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

css-map.json adds ten hashed CSS-class mappings: nine for lyrics-related classes and one for the top-bar search bar. Existing mappings remain unchanged.

Changes: CSS class mappings

Layer / File(s) Summary
Add hashed class mappings
css-map.json
Adds mappings for lyrics background, container, content, provider, text, and upcoming classes, plus the top-bar search bar.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: rxri, ingan121

Merge Risk: Minimal · up to 78d60

This change adds Spotify 1.3.4 lyrics and search class mappings to the CSS map. It touches data only and leaves existing mappings alone. No concrete merge-blocking risk was found. The new mappings reach released builds once a release includes the updated map.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: adding Spotify 1.3.4 lyrics and search class mappings to css-map.json. The raw summary confirms ten hashed class mappings were added, nine for lyrics and one for the top-ba…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: adding Spotify 1.3.4 lyrics and search class mappings to css-map.json. The raw summary confirms ten hashed class mappings were added, nine for lyrics and one for the top-bar search bar, and the PR objectives match. The title uses the conventional commit prefix 'fix(css-map)' and is 59 characters long, which is within a reasonable length. The 'fix' type is a minor concern because the change adds mappings rather than correcting a defect, but the title still describes the primary change accurately.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: spicetify/cli
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: d095d83
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3c272207-e1cf-403f-ba94-bf9968843888
Commits

Reviewing files that changed from the base of the PR and between d095d83 and 78d60ba.

Files selected for processing: 1

  • css-map.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

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