grunt-svgstore
grunt-svgstore copied to clipboard
Merge svgs from a folder
Hey @FWeinb, I came across this utility when looking for a tool to combine all my SVG icons into a single file and after using it a few times would...
I'm trying to keep the aspect ratio of some of my svg files, but the preserve method isn't working on the svg tag e.g ``` ``` Have tried with both...
I needed this option for a big-scale project where different clients can overwrite single icons by using the existing svg filename, but uploading it to a client specific directory. The...
It is possible to produce duplicate svgs specifying files with the same name in different directories _gruntfile.js_ ``` svgstore: { defaults: { options: { }, files: { 'tmp/default_options.svg': ['test/fixtures/codepen.svg', 'test/fixtures/remote/codepen.svg']...
I've looked at various answers on StackOverflow but none directly concern using grunt-svgstore and despite fiddling with them I can't get it to work. What I want to achieve is...
Passing a class option to `options.svg` overrides everything including the default `xmlns` attribute. Is this intended? I would think it should preserve the options that I haven't specified.
The output currently doesn't include ``. I couldn't find a way to add a class to the parent svg element either. This leaves me with no choice but to manually...
Can a view element for each symbol be added so that they can be addressed in a css declaration?
I've set the cleanup option to `true` (and also tried `cleanup: ['style']`) but my svg-defs.svg file still has style tags. ``` svgstore: { options: { prefix : "icon-", includeTitleElement: true,...