You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(css-map): add Spotify 1.3.4 lyrics and search classes - #4074
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
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.
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.
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.
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.
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: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jsandxpui-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 linedPaa_Hg0z0Ql_UBrV9uZ→lyrics-lyricsContent-active: current line (--lyrics-color-active)loNizikBbaCKyI9Gv8xg→lyrics-lyricsContent-highlight: lines before the active indexMZZCOz_ImVH1skMtX3aI→lyrics-lyricsContent-upcoming: lines after the active indexupDNlpL8xEkxmKWWw9IF→lyrics-lyricsContent-provider:web-player.lyrics.providedByWlotvRiQOV9Ps_vFbm14→lyrics-lyricsContent-unsynced:web-player.lyrics.unsyncednqmjceMqTFCSMXlnquLP→lyrics-lyrics-background:background-color: var(--lyrics-color-background)bqldaBkacR41KxR2Z0jY→lyrics-lyrics-container: root carrying the inline--lyrics-color-*styleJT_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__VtAwandl2GQ00sPnkqe8YLHcfzL(lyrics wrapper and lines container). I couldn't confidently tellcontentWrapperfromcontentContainerapart.Validated: JSON parses, no duplicate keys, existing mappings unchanged,
git diff --checkpasses.Summary by CodeRabbit