Home › Forums › CSS › best way to add Google web fonts with LESS? › Re: best way to add Google web fonts with LESS?
January 21, 2013 at 12:56 pm
#121755
Kitty Giraudel
Participant
@divinehammer: I’ve kept looking for a solution. Actually, I even did a small blog post on my own blog to see if someone could came up with something: http://hugogiraudel.com/blog/less-puzzle.
Anyway, it seems like there is currently no way to do it: https://github.com/cloudhead/less.js/issues/410. LESS doesn’t support variables in @import statements.
It’s related to the fact they decided to use the @ sign for variables. And as far as I know, fixing this bug may might be pretty complicated.
However I still hope someone would come up with a work around.