How to disable Google Font @import


Hi guys,

I’m serving up Google Fonts from my own CDN, so I’d like to disable the default @import of the Lato font that comes packaged with Semantic UI. Anybody know how to do this?

I was able to override the Lato font by changing the Font variables in the site.variables file in my /site/ folder, but I’m not sure how to completely remove it.

Thanks in advance!


I was able to answer my own question.

If you are using Gulp to build your files, you can add the following line to your /src/site/globals/site.variables file, and that will completely remove the @import of the Lato Google Font.

@importGoogleFonts : false;