logo-github.png looks bad on HiDPI/Retina screens
j-f1 opened this issue · comments
Since logo-github.png
is 200×200 and is rendered at 200×200 CSS pixels, high-DPI screens render it with pixellation. Two potential solutions:
- since screens today go up to 3× pixel density, change the
logo-github.png
image to be 600×600 and set explicitwidth=200
andheight=200
on any<img>
tag that references it - reference an SVG version of the image so it will look good at any screen resolution (you can also specify an explicit
width
/height
here if you want)
The SVG (https://github.com/11ty/11ty-logo/blob/master/img/logo.svg) is actually smaller than the 200×200 PNG image, so this change would actually save bandwidth (slightly).
Fixed, thank you!
https://github.com/11ty/11ty-logo/blob/master/assets/logo-bg.svg
Updated on all the repos linked up from https://github.com/11ty