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
648 stars 43 forks source link

Preview Page #18

Closed zslabs closed 9 years ago

zslabs commented 9 years ago

Thanks for creating this! Any chance of a preview page similar to how it was done in gulp-svg-sprites? We're building documentation pages and it'd be nice if we could reference the included/updated SVGs automatically. We've done something similar with IcoMoon's downloaded preview they give you, but really liked the way gulp-svg-sprites automatically created this for us. Thanks again!

jkphl commented 9 years ago

Hi @zslabs,

I never worked with gulp-svg-sprites (and totally lack the time of doing so, sorry), so could you please provide an example of how @shakyShane's one looked like?

Thanks a lot, cheers, Joschi

zslabs commented 9 years ago

Did you want a visual representation? Here's the usage part on his README https://github.com/shakyShane/gulp-svg-sprites#usage

it's basically a standard HTML file that has the SVGs automatically in a grid and labeled. I'm happy to do the DOM behind this, just lack the Node knowledge to make it happen.

jkphl commented 9 years ago

Just to make sure: You did realize the mode.<mode>.example option, right (see here)? Doesn't this suit your needs?

zslabs commented 9 years ago

That's it! Sorry about that, blame @mcraiganthony for making me jump the gun.

jkphl commented 9 years ago

;) No problem. I was just wondering ... Let me know if you need any assistance!