Skip to content

Re-color Cue Type Icons#367

Open
BryanEnneking wants to merge 1 commit intoFrancescoCeruti:developfrom
BryanEnneking:recolor-cue-icons
Open

Re-color Cue Type Icons#367
BryanEnneking wants to merge 1 commit intoFrancescoCeruti:developfrom
BryanEnneking:recolor-cue-icons

Conversation

@BryanEnneking
Copy link
Copy Markdown
Contributor

Instead of having separate files for each variation of a cue type icon (running, pause, error, cart), this code re-colors the base icons at load time. The result is a more maintainable icon set. To make this possible, the icons needed a little SVG refactoring so color and opacity could be changed in one place. If the implementation isn't what you were expecting, I'm open to making changes.

@s0600204
Copy link
Copy Markdown
Contributor

Modifying the .svg attributes programatically. An interesting approach, and one I had not considered. I wonder if that would work with the other icons used within the UI of LiSP. (In case we ever want to support recolouring the UI icons based on the active theme, or for users with some variety of colour-blindness.)

s0600204@38be8fd was my take on it.

@BryanEnneking
Copy link
Copy Markdown
Contributor Author

Yes. I think that could be possible. The other icons might need a little refactoring though.

@FrancescoCeruti FrancescoCeruti self-assigned this Dec 31, 2025
tntexplosivesltd added a commit to tntexplosivesltd/linux-show-player that referenced this pull request Apr 25, 2026
Design for SFR workflow Part 3: introduces CueState.Hibernating (bit 256)
composing with Pause, a third 'Hibernate' action on Fade & Stop, dimmed/
collapsed playing-panel widgets, and a dedicated status-icon colour
via a precursor icon-recolour refactor (branch II, mirroring upstream
PR FrancescoCeruti#367).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
tntexplosivesltd added a commit to tntexplosivesltd/linux-show-player that referenced this pull request Apr 25, 2026
Cherry-picking FrancescoCeruti#367 onto master directly — upstream already reviewed
the code, so a separate review PR in this fork adds no value.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
tntexplosivesltd added a commit to tntexplosivesltd/linux-show-player that referenced this pull request Apr 25, 2026
Stage 2 of the icon work — one entry in the recolour dict
introduced by the PR FrancescoCeruti#367 cherry-pick. #5AF reads cold/sleeping
and contrasts with pause's orange for an at-a-glance four-state
distinction (running=green, pause=orange, hibernating=blue,
error=red).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

3 participants