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

Custom fonts #50

Closed
dlewand691 opened this issue Aug 12, 2016 · 4 comments
Closed

Custom fonts #50

dlewand691 opened this issue Aug 12, 2016 · 4 comments
Labels

Comments

@dlewand691
Copy link

What is the recommended best practice to use a custom set of fonts other than Typekit, etc.?

@RyanHavoc
Copy link
Member

@dlewand691 Are you referring to using @font-face instead of a service?

@dlewand691
Copy link
Author

Yep. I know you can just use your own CSS file which is fine, but is there a cleaner way other than that?

@RyanHavoc
Copy link
Member

If you want to include a web service other than Typekit we've added two helpers, one for Google Fonts and one for Typgraphy.com. Just paste the styles sheet they provide you in there. If you're using something other than those two services (and it's just a stylesheet that the service provides you) you can just add it to assets => css array.

If you're using a service that provides JS (like TypeKit does) we'll have to do some testing to find the cleanest way to include it.

If you're just using @font-face then just include this in your stylesheet.

With out more information about your setup I'm not sure how to advise you further?

@dlewand691
Copy link
Author

That's plenty, thank you for the clarification!

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

No branches or pull requests

2 participants