Skip to content
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

Glyphicons (locally) & Lato not working (2-2-support branch) #41

Open
haroldparis opened this issue Jun 23, 2015 · 1 comment
Open

Glyphicons (locally) & Lato not working (2-2-support branch) #41

haroldparis opened this issue Jun 23, 2015 · 1 comment

Comments

@haroldparis
Copy link

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 !

@wingrunr21
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants