• Tait BrownTait Brown, almost 7 years ago

    Yes, people in the comments will say "don't", but if you absolutely must because of cross browser requirements, do it with a gulp task.

    I use gulp-iconfont which will watch a directory for svgs and generate a font and matching css/scss file according to your template. That way you can namespace it as well, like .dn-icon--comment for a comment icon in a Designer News project.

    1 point