Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CSS type-face #106

Closed
IngwiePhoenix opened this issue Jan 5, 2016 · 4 comments
Closed

CSS type-face #106

IngwiePhoenix opened this issue Jan 5, 2016 · 4 comments

Comments

@IngwiePhoenix
Copy link

I want to use this font in combination with an editor widget on my site.

What is the CSS that I would have to bring up to use it?

@engelfrost
Copy link

Something like

@font-face {
  font-family: 'Fira Code';
  src: url('FiraCode-Regular.otf') format('opentype');
}

code {
    -webkit-font-feature-settings: "liga" on, "calt" on;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: 'Fira Code';
}

Only tested in Chrome.

@coreh
Copy link

coreh commented Jan 12, 2016

For IE10/Edge, make sure to include the unprefixed font-feature-settings rule as well:

font-feature-settings: "calt" 1;

@iandoug
Copy link

iandoug commented Mar 12, 2016

Any chance of getting Fira Code hosted on Google Fonts?

@tomByrer
Copy link

Good idea, I think it deserves it's own thread.

#18

On Mar 12, 2016, at 2:41 PM, Ian Douglas notifications@github.com wrote:

Any chance of getting Fira Code hosted on Google Fonts?


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

5 participants