eddiemachado/bones — pull request #142 by WhatIsHeDoing (2012-07-19 23:10:38+00:00)
Title: Providing mixins (which call functions) to register and use custom fonts

Hi,

I'm using bones to build the theme for my blog (huge thanks btw), and noticed the comment in _mixins.scss on how to embed custom fonts. Since I'm using more than one custom font, I wondered if there was a way to register them via a mixin instead, and managed to create one that does this using functions. I also added another mixin to use the registered fonts, which should eliminate typical problems when doing that (please see the URL in the comment for it).

Hope this helps; would be great to hear some feedback on it.

Thanks!
Darren