chore: optimize logo and Android foreground SVGs - #320
Merged
Merged
Conversation
Run through svgo (viewBox and ids kept, precision 2). Rendered output is pixel-equivalent at 24 px and 512 px (mean per-channel diff under 0.06/255). logo.svg is inlined into the JS bundle via svgr, so the saving ships to users.
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.
svgo pass (multipass, precision 2) over the two SVGs that carry real weight.
viewBoxand ids are kept (logo.svgis scaled by CSS height and inlined by svgr, so both matter).logo.svg: 11689 to 9240 B (inlined into the JS bundle)src-tauri/icons/android-foreground.svg: 11751 to 9295 BRendered with resvg at 24 px and 512 px on light and dark backgrounds: mean per-channel difference under 0.06/255, no size change.
android-background.svg(149 B) left alone.