So having recently purchased has meant I've quickly realised how much of the internet isn't resolution independent when it could be. So I started with my own site – www.tmdvs.com
I went ahead remade the social icons as SVG's in Sketch.app and coloured them as CSS3 image masks on coloured elements, and 20 minutes later I had images that were resolution independent, no messing around with @2x JS.
For those interested in playing with Sketch and the SVG's it outputs, I've attached my sketch files and SVGs to this shot!
keyboard shortcuts: ← previous shot → next shot L or F like Z toggle zoom