Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise logo using strokes #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mxdvl
Copy link

@mxdvl mxdvl commented Oct 30, 2022

What does this change?

Optimise the Svelte logo to use SVG features, resulting in about a third of the bytes.

The new logo is made up four shapes:

  • two overlapping S shapes with, one orange and one white
  • two orange paths to clip the ends of the S

Explore it as a Svelte App

Screenshots

Comparison on the Svelte logo – no visual difference

Original on the left, new version on the right

@mxdvl mxdvl force-pushed the patch-1 branch 3 times, most recently from 3fe48b1 to fe714f2 Compare October 31, 2022 10:26
@mxdvl mxdvl marked this pull request as ready for review October 31, 2022 10:30
@mxdvl mxdvl changed the title refactor: logo as strokes Optimise logo using strokes Oct 31, 2022
@mxdvl mxdvl force-pushed the patch-1 branch 2 times, most recently from c5b2033 to ffe3bac Compare October 31, 2022 11:51
Optimise the Svelte logo to use SVG features,
resulting in about a third of the bytes.
mxdvl added a commit to mxdvl/sites that referenced this pull request Nov 1, 2022
Minimal visual difference for under half the code.

As proposed in the branding repo:
sveltejs/branding#10
mxdvl added a commit to mxdvl/sites that referenced this pull request Nov 1, 2022
Minimal visual difference for under half the code.

As proposed in the branding repo:
sveltejs/branding#10
@mxdvl
Copy link
Author

mxdvl commented Nov 29, 2022

Is there any way I could convince someone that this asset is both lighter and more maintainable than the current one?

@mxdvl
Copy link
Author

mxdvl commented May 5, 2023

I would love to know if the team sees any value in this and happy to close the PR if not. Maybe @benmccann, as you chimed in on sveltejs/sites#392 (comment)

@mxdvl
Copy link
Author

mxdvl commented Oct 27, 2024

With the new omnisite I was wondering if it would make sense to reconsider whether it would be beneficial to use this optimised asset? Especially as this is now served on every page as a background-image.

(I’ve also updated the interactive demo to use runes)

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