shakyShane / gulp-svg-sprites

Create SVG sprites or compile to <symbols>
MIT License
334 stars 45 forks source link

CSS Template Variables #35

Closed mikestreety closed 10 years ago

mikestreety commented 10 years ago

Great rewrite - brilliant to see all the added options!

I was wondering what all the available variables were within the css template and if this can be found somewhere?

shakyShane commented 10 years ago

Thanks! I'll be documenting them soon, but for a quick and dirty look at what your templates receive, you could do this & drill down/debug

var config = {
    afterTransform: function (data) {
        console.log(data);
    }
}