-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: jagged white edge around the logo #421
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think switching to an SVG image is indeed a good idea, however it should be part of the repo itself so it doesn't rely on an external source.
Done! It's now a file stored locally on the repo, alongside the The previous file is still there. And the reference to it on the README.md has been replaced to the new local SVG logo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far. I've got some questions surrounding the performance side of things.
- Do you think it would be possible to remove the redundant layer(s)?
- Have you optimised the SVG?
I have absolutely no idea. I've never dealt with this kind of file before. But it's the one used for the logo on https://allcontributors.org. So I think it's either fine to use it here as well, or it should also be updated on the website. But again, I've never played with this kind of file, so I really don't know for sure. |
It's fine, SVG isn't my forté either, it's mainly things that came to mind when I contributed to simple-icons which recommends contributors to compress SVGs using SVGO or SVGOMG and removing code like |
I've just run it against SVGOMG, and removed the I could get it to 5.44k, but that'd slightly move things around, and I'd rather not. Here's a GIF showing that (watch closely): The 6.69k version seems to have no quality loss. I'll update my branch with it. |
Previous one was **6.99k**, new one is **6.69k**, no perceptible quality loss
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
@all-contributors please add @MicaelJarniac for bug
@all-contributors Please add @MicaelJarniac for bug |
I've put up a pull request to add @MicaelJarniac! 🎉 |
🎉 This PR is included in version 2.16.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What:
Fixes #420
Why:
To make the logo displayed on the README.md more clean and consistent across different backgrounds, not just white.
How:
By replacing the reference to
docs/assets/logo-full-transparent.png
with the same SVG logo used on allcontributors.orghttps://d33wubrfki0l68.cloudfront.net/02a655fd7b0c5dae117b57bfde67f8850bb23226/e2f0c/img/logo.svg
Checklist:
Bot Usage
This is one way of fixing the issue reported in issue #420, but as mentioned in that issue, this might not be the cleaner, most desirable, way of going about it.