heyMP / frontend-dev

Don't use this anymore now that polymer and web components exist :)
8 stars 2 forks source link

Gulp svg sprites are a little nicer #20

Closed heyMP closed 9 years ago

heyMP commented 9 years ago

https://www.npmjs.com/package/gulp-svg-sprites

heyMP commented 9 years ago

Gulp-svg-sprites has been deprecated in favor of gulp-svg-sprite.

We need to make the viewbox transfer to to the outputed viewbox.

See: https://twitter.com/erikdahlstrom/status/577073223864569856 http://codepen.io/heyMP/pen/WbapEK

heyMP commented 9 years ago

Doesn't appear that gulp-svg-sprite outputs a preview so we don't have to worry about transferring the viewbox. We could possibly start a sass partial that creates a mixin for adding sprites easily and displays the list of svgs that we have and their html code for developers to use throughout the site.

heyMP commented 9 years ago

I'm not completely familiar with SVG sprites in backgrounds and what implications that has so I'm going to close the issue.