svg-sprite / gulp-svg-sprite

SVG sprites & stacks galore — Gulp plugin wrapping around svg-sprite that reads in a bunch of SVG files, optimizes them and creates SVG sprites and CSS resources in various flavours
MIT License
647 stars 43 forks source link

Use '%' as prefix for sass placeholders #65

Closed bjo3rnf closed 7 years ago

bjo3rnf commented 7 years ago

Hi Joschi,

I can't figure out (if possible at all) to use a percent character in the prefix string, because it is of course used to be replaced by the filename. What I'd like to do is something like prefix: '%sprite-%s' to be turned into %sprite-icon_calendar {} in the resulting scss.

Is that possible with some escape character fx?

Thanks in advance.

Cheers Björn

bjo3rnf commented 7 years ago

Never mind. RTFM solved the issue for me :S