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

use high-dpi or svg logo in header #3

Open
bluesabre opened this issue May 21, 2020 · 0 comments
Open

use high-dpi or svg logo in header #3

bluesabre opened this issue May 21, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@bluesabre
Copy link
Member

On high-dpi screens like modern mobile phones or 4k displays the xubuntu logo in the website header looks pixelated and not nice.

Please replace the current PNG logo with an SVG image. SVG images are widely browser supported nowadays https://caniuse.com/#feat=svg . In the lp:xubuntu-website/static-assets repository there is svg file under /xubuntu_brand/Logo/SVG/logo_white.svg .

Alternatively use the srcset attribute for the element with an additional source for a higher device-pixel-ratio, see: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images#Resolution_switching_Same_size_different_resolutions and https://caniuse.com/#feat=srcset .

Changes would need to be made in https://bazaar.launchpad.net/~xubuntu-website/xubuntu-website/theme/view/head:/xubuntu-eighteen/header.php#L22 .

Launchpad Details: #LP1827139 Peter - 2019-04-30 21:54:38 +0000

PeterTheOne added a commit to PeterTheOne/xubuntu-website that referenced this issue May 21, 2020
svg images from xubuntu-website-assets are cropped and optimized with svgomg.
PeterTheOne added a commit to PeterTheOne/xubuntu-website that referenced this issue May 21, 2020
svg images from xubuntu-website-assets are cropped and optimized with svgomg.
@knomepasi knomepasi added this to the Gutenberg milestone May 25, 2020
@knomepasi knomepasi self-assigned this May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants