I recently discovered how to make icon fonts to replace sprite sheets. This is hands-down the best method for implementing icons in a web application.
If you’ve ever used the bootstrap glyphicons you’ve already used this method. Here’s the SASS required to get started.
The icon font is imported through @font-face then used on any element which matches the icon selector.
Individual icons are assigned the correct font character through the before psuedo selector and now we can write some HTML to display an icon.
Now, how is the actual font created?
Firstly, get a great designer to make you the icons, in svg format, then head to icomoon. The rest is self-explanatory and increadibly easy I must say.
Once this system is setup changing icon sizes and colours is very simple since it’s just a font! The end result is a system which is impervious to change.