Closed mattrosno closed 9 years ago
I was wondering the same thing. I have two gulp tasks running.
It would be great to be able to apply the filename (%f) to the class so we could target it better.
+1
This is exactly what I also need. Is there a way to work around the current limitations?
It looks like
defs
andsymbols
mode doesn't generate CSS. If usingsymbols
mode, the snippet looks like this:My problem is that I need to set dimensions on the
svg
tag to correctly size the icon. Can gulp-svg-sprites generate a stylesheet when insymbols
mode to set dimensions? Something like:And then use with:
I design my SVG icons at the intended height/width, and it would be nice to apply that through a class by default. Thanks!