FWeinb / grunt-svgstore

Merge svgs from a folder
MIT License
920 stars 94 forks source link

The use of this grunt-plugin is huge... But I need help.; #116

Open BowuDev opened 8 years ago

BowuDev commented 8 years ago

I need help with an optionality of either Inkscape or standard SVG=>HTML

jonathantneal commented 8 years ago

I’d love to look into this for you. Would you provide an example of what you mean? I’m sorry I don’t immediately know what that is.

TxHawks commented 8 years ago

@NavyCo

Not sure this is what you are referring to, but inkscape and Sketch use their own xml namespace, which needs to be explicitly set in the configuration. See #25.

Hope this solves your problem.

BowuDev commented 8 years ago

What I'm talking about is standard SVG output, for web development (HTML) usage.

BowuDev commented 8 years ago

I've done everything in #25 but it kinda worked, no more error pop-ups when trying to view it on a browser but now it's just blank... I've uploaded the PNG version and the SVG version. SVG PNG: PNG

TxHawks commented 8 years ago

Looks like there are two symbols in the sprite.

Is the sprite inlined in the HTML? Are you calling an individual icon?

<svg><use xlink:href="#emoji-1" /></svg>
BowuDev commented 8 years ago

I'm trying to make it so I can get the icon by using css background-position

TxHawks commented 8 years ago

This is not what this plug in is for

BowuDev commented 8 years ago

Ah alright. Well the reason why I was looking into this plugin, is because something I use for my website called "Emojione", and it uses the plugin to make it's sprite sheet...