Skip to content

[build] self-hosting 'lato' font rather using google-font #1827

Answered by lubber-de
dutrieux asked this question in General
Discussion options

You must be logged in to vote

According to http://lesscss.org/features/#import-atrules-feature-file-extensions your import statement is totally fine, because it ends with css..

@import "foo";      // foo.less is imported
@import "foo.less"; // foo.less is imported
@import "foo.php";  // foo.php imported as a Less file
@import "foo.css";  // statement left in place, as-is

But there is

inline: include the source file in the output but do not process it

so please try @import (inline) url('./themes/myTheme/assets/latofonts.css')

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dutrieux
Comment options

@ko2in
Comment options

ko2in Jan 6, 2021
Collaborator

Comment options

You must be logged in to vote
7 replies
@dutrieux
Comment options

@ko2in
Comment options

ko2in Jan 7, 2021
Collaborator

@dutrieux
Comment options

@dutrieux
Comment options

@ko2in
Comment options

ko2in Jan 7, 2021
Collaborator

Answer selected by lubber-de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants