shakyShane / gulp-svg-sprites

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

add common option into symbols template #58

Closed lananelson closed 9 years ago

lananelson commented 10 years ago

This will make common setting work for symbols mode. The snippet for icon will look like

<svg class="{common} {name}">
    <use xlink:href="#{name}" />
</svg>

which seems consistent with sprites mode fixes #46

shakyShane commented 10 years ago

Sorry for the delay, I will look at merging this at the weekend, thanks very much for contributing.

jholl commented 9 years ago

:+1: