-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@import url(http://fonts.googleapis.com/css?family=Open+Sans); #265
Comments
I have the same problem with Google fonts. :( |
if import path is detected as CSS file, its not downloaded by less, just echoed in the final CSS. so your external CSS must be css-identifiable. I just added querystring support. hope this helps. |
can you make a pull request to official repo? |
done, but looks like @cloudhead is very busy with those many pull requests :/ |
revolunet
added a commit
to revolunet/less.js
that referenced
this issue
Jul 7, 2011
stefanklug
pushed a commit
to stefanklug/carto
that referenced
this issue
May 21, 2013
Quote ampersend chars in XML text. Closes less#263.
could you find one for avenir font? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
Will not compile because lessc cannot find it, that makes sense. What is non-inuitive is that you cannot escape the value, or do anything to prevent it trying to find it except add '.css' to the end of the url, and since it isn't really a .css but rather a part of a request that is not a valid option.
It would be awesome to be able to do something like:
@import !url(http://fonts.googleapis.com/css?family=Open+Sans);
or similar to tell lessc to ignore the url, not try and resolve it, just echo it.
Is this a valid point or am I missing a simpler solution? :P
Thanks!
The text was updated successfully, but these errors were encountered: