Skip to content

Conversation

@BryanEnneking
Copy link
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
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
Contributor Author

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

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