Skip to content

Switch to Lucide Icons#1026

Merged
CryZe merged 1 commit intoLiveSplit:masterfrom
CryZe:lucide-icons
Mar 24, 2025
Merged

Switch to Lucide Icons#1026
CryZe merged 1 commit intoLiveSplit:masterfrom
CryZe:lucide-icons

Conversation

@CryZe
Copy link
Collaborator

@CryZe CryZe commented Mar 24, 2025

We have had a really outdated version of Font Awesome directly vendored into our repository. Not only was it outdated, but it also is shipped as a font file, including all the icons, even though we only use a small subset of them. By switching to Lucide, we not only are depending on something more up to date, but now the icons can also be tree shaked.

This also updates some of our CSS to use flex box and grid instead of manually positioning with margins.

@CryZe CryZe added enhancement A new feature or general improvement to LiveSplit One. UI The issue is about the user interface. dependencies Pull requests that update a dependency file code quality The goal is to improve the quality of the code. labels Mar 24, 2025
We have had a really outdated version of Font Awesome directly vendored
into our repository. Not only was it outdated, but it also is shipped as
a font file, including all the icons, even though we only use a small
subset of them. By switching to Lucide, we not only are depending on
something more up to date, but now the icons can also be tree shaked.
@CryZe CryZe enabled auto-merge (squash) March 24, 2025 16:37
@CryZe CryZe merged commit 756299f into LiveSplit:master Mar 24, 2025
4 checks passed
@CryZe
Copy link
Collaborator Author

CryZe commented Mar 24, 2025

As expected, this shaved off around 10% of our compressed bundle size.

@CryZe CryZe deleted the lucide-icons branch March 24, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality The goal is to improve the quality of the code. dependencies Pull requests that update a dependency file enhancement A new feature or general improvement to LiveSplit One. UI The issue is about the user interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant