Repository navigation
feat: added MuseFM theme and a play button design setting - #47
Merged
Merged
Conversation
A dark theme in the look of MuseFM, the self-hosted scrobbler, and a setting that picks the player's play button design in any theme. - MuseFM theme, in the Dark section of the theme picker: MuseFM's dark palette verbatim; Archivo (bundled, SIL OFL, only loaded with the theme) with condensed headings; square corners, hard-shadow buttons and paper grain; an FM dial on the player bar; records and sleeves on covers and card play buttons; pop-colour stat and genre tiles; ruled sections; an inked sidebar; framed menus and dialogs. In the liquid layout the panels are solid rounded frames rather than glass. - Components carry plain hook classes (media-card, sleeve, stat-tile, queue-panel, ...) that only the MuseFM theme styles. - Play button setting in Settings -> Appearance: Match theme, Circle, Orb, Record, Square or Sticker, each previewed in the picker. Match theme keeps each theme's own: the circle, the Genshin orb (now the orb design) and MuseFM's record. The record spins while playing. - Preferences.playButtonStyle (default "theme"), so existing settings files keep today's button. Strings in all four languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
A dark MuseFM theme in the look of MuseFM, and a Play button setting that picks the player's play button design in any theme.
Settings → Appearance Theme Dark: … Monokai Pro, + MuseFM, Nord … Accent color … + Play button [Match theme] [Circle] [Orb] [Record] [Square] [Sticker] ← live previews Seek barThe play button gets its design stamped on it;
globals.csshas one block per design, painted only with theme tokens:The MuseFM theme is a palette plus CSS keyed off plain hook classes that only it styles:
Also: MuseFM's dark palette verbatim, Archivo bundled (SIL OFL, loads only with this theme), square corners, hard-shadow buttons, paper grain, framed menus and dialogs. In the liquid layout the sidebar, main content, player bar and Queue are solid rounded frames with a muted edge instead of glass.
Preferences.playButtonStyledefaults to"theme", so existing settings files keep today's button. Strings in all four languages.Evidence
[data-theme^="genshin-"] .play-button).After: 218 tests pass. New
playButton.test.ts:persistence::settingstests (14) pass, withplayButtonStyleadded to the camelCase round-trip and the old-file defaults ("theme").tsc --noEmitandvite buildare clean.Merge Danger
Door: two-way
A new preference with a default, plus CSS. Reverting leaves at most an unused
playButtonStylein settings files.Blast Radius: cosmetic
orbdesign viadata-designrather than a theme rule. It should look the same.h2.text-lg,.bg-gradient-to-t,button.bg-accent.text-white), so they would quietly stop applying if those utilities change.font-stretch,color-mix(),aspect-ratioon pseudo-elements, and individualtranslate/rotate/scaleproperties.🤖 Generated with Claude Code