Glyphicons (locally) & Lato not working (2-2-support branch)
Hi,
Great work on flat-ui-sass. Well... except I can't get fonts to work with last Flat UI Pro version and the 2-2-support branch.
In my application.scss, I tried a combination of this :
@import 'flat-ui-pro/variables';
$grid-gutter-width: 20px;
$grid-float-breakpoint: $screen-md-min;
@import 'bootstrap-sprockets';
@import 'bootstrap';
@import 'flat-ui-sprockets';
@import 'flat-ui-pro';
@import 'custom';
But, on my local environment : Glyphicons works, but not Lato. Which is strange... cause the fonts seem not to be in 404 :
Started GET "/assets/flat-ui-pro/lato/lato-bold.woff" for ::1 at 2015-06-24 00:33:33 +0200 Started GET "/assets/flat-ui-pro/lato/lato-light.woff" for ::1 at 2015-06-24 00:33:33 +0200 Started GET "/assets/flat-ui-pro/glyphicons/flat-ui-pro-icons-regular.woff" for ::1 at 2015-06-24 00:33:33 +0200 Started GET "/assets/flat-ui-pro/lato/lato-black.woff" for ::1 at 2015-06-24 00:33:33 +0200 Started GET "/assets/flat-ui-pro/lato/lato-regular.woff" for ::1 at 2015-06-24 00:33:33 +0200
On Cloud9 : everything works. On Heroku : nothing works.
Any hints ?
Oh, and by the way, what would be the "right" way to remove Lato and use another font instead ? As an example, using Google Fonts import.
Keep up the good work. :)
Cheers !
Hi,
I'll have to look at what's going on with Lato. I don't really recommend loading it from the vendored version anyway since you'd get better performance just loading it via Google Fonts.
If you want to change fonts, there should be a section similar to this in Pro. You can just override these variables and it should change for you.