Skip to content

Conversation

codewordcreative
Copy link

Optimised the SVG logo that little bit more:

  • Reduced file size by 30 bytes
  • Increased viewBox to 200 to simplify decimals
  • Closed diagonal path using 'z' to shave off bytes

It's visually identical due to the methods used.

Obviously, the recent fix shaved off a lot. That's why I clicked - out of curiosity, given my own sustainable SVG obsession and the upcoming launch of my icon project. I figured the techniques used might actually interest this audience. :)

Upsized viewBox and took advantage of z to close a diagonal path to shave off 30 bytes.
@codewordcreative codewordcreative deleted the perfectionistic-snipping-of-20-bytes-from-logo branch October 8, 2025 20:45
@codewordcreative codewordcreative restored the perfectionistic-snipping-of-20-bytes-from-logo branch October 8, 2025 20:48
@codewordcreative
Copy link
Author

Wanted to perfectonistically rename the branch after realising I'd called it 20 bytes, not 30 bytes. And that had consequences for the unmerged PR. Perfectionism indeed.

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.

1 participant