Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Investigate using SVG sprites #55

Closed
dstorey opened this issue May 19, 2014 · 2 comments
Closed

Investigate using SVG sprites #55

dstorey opened this issue May 19, 2014 · 2 comments

Comments

@dstorey
Copy link
Member

dstorey commented May 19, 2014

A number of the current items would be suitable as SVGs (MS and IE logos, the category logos, etc) and it would reduce the fuzzies on High DPI screens. We currently use one file per SVG.

We should investigate SVG sprite solutions so we can switch those icons over.

One downside would be probably having to use inline SVG rather than an external file. Another is that the raster images are highly optimised so may mean higher file size, but I’ve found a tool that does a decent job of cleaning up SVG files and GZIP should also help. Current IE logo is 313 bytes vs 814 byes for a similar (optimised) SVG version.

@jonathantneal
Copy link

👍 and you could use external files with my script if the caching is worth it.

@dstorey
Copy link
Member Author

dstorey commented Sep 10, 2015

Closing this as the site is now part of wider modern.ie. We will used a general solution for the entire site.

@dstorey dstorey closed this as completed Sep 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants