Generate a svg sprite in grunt and corresponding values for use in sass (_svg_sprites.scss), sass functions (_mixins.scss) that mimic compass sprite functions.
I wanted to use svg sprites in compass, specifically needing sprite-position()
. Unfortunately, only PNG sprites are supported so far.
Since I'm using Grunt anyway, I looked for alternatives. SVG Sprite seemed like the best option for me and contains SVGO already.