jkphl / grunt-iconizr

SVG + PNG icon kit generator — Grunt plugin wrapping around node-iconizr that creates a CSS icon kit from a bunch of SVG files, serving them as SVG / PNG sprites or embedded data URIs along with suitable CSS / Sass / LESS / Stylus etc. stylesheet resources and a JavaScript loader for easy integration into your HTML documents
http://iconizr.com
MIT License
104 stars 9 forks source link

Custom template not working #30

Closed benfrain closed 9 years ago

benfrain commented 9 years ago

First is a tiny thing that could be fixed:

If I overwrite the existing template in node_modules/grunt-iconizr/node_modules/iconizr/tmpl/sprite.scss and don't delete the existing sprite sheets in the destination folder, the new template changes are not picked up. This made me think it wasn't working altogether. Once I deleted the folder contents it started to get picked up again.

benfrain commented 9 years ago

Sorry, finally figured this out.

jkphl commented 9 years ago

@benfrain No problem, Ben.

Currently grunt-/node-iconizr is still based on the "old" svg-sprite base, as I'm so totally overloaded these days (moving my office next Friday ...) and don't manage to finalise the next generation somehow. However, there's already a new version of (grunt-)iconizr here on GitHub — if you're interested, please check the "dev" branches of node-iconizr and grunt-iconizr. Unfortunately there's no proper documentation yet (that's why I didn't release it), but we already do use it in production. For now, this would be your best bet as a manual.