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
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.
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