vigetlabs / gulp-rails-pipeline

Ditch the Rails Asset Pipeline and roll your own with Gulp
MIT License
646 stars 64 forks source link

Icon fonts not working #35

Open YanTheFawn opened 8 years ago

YanTheFawn commented 8 years ago

Hey guys, I just ran through the instructions for installing, and everything seems to load fine except for the icon fonts. When I inspect one of the icons, I'm seeing what appears to be some kind of encoding failure for the 'content' css property? See below

.icon.-twitter:before { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; content: "";

Any suggestions? Thanks in advance!

greypants commented 8 years ago

It may have to do with the version of gulp-icon-font installed. I know they changed the implementation of the glyph output at some point. You could try using the task from gulp-starter, along with the version specified in the package.json there. https://github.com/vigetlabs/gulp-starter

This project was based off an old version of that. Gulp starter is more up to date. It's on my to-do list to get this repo updated soon.