Skip to content

Instantly share code, notes, and snippets.

@wesalvaro
Created April 23, 2019 04:23
Show Gist options
  • Save wesalvaro/b34745becaaadc3bbeda21127c0a363c to your computer and use it in GitHub Desktop.
Save wesalvaro/b34745becaaadc3bbeda21127c0a363c to your computer and use it in GitHub Desktop.
Use Fira Code font via CSS for Secure Shell in ChromeOS.
@font-face{
font-family: 'Fira Code';
src: url('https://raw.githubusercontent.com/tonsky/FiraCode/master/distr/eot/FiraCode-Regular.eot') format('embedded-opentype'),
url('https://raw.githubusercontent.com/tonsky/FiraCode/master/distr/woff2/FiraCode-Regular.woff2') format('woff2'),
url('https://raw.githubusercontent.com/tonsky/FiraCode/master/distr/woff/FiraCode-Regular.woff') format('woff'),
url('https://raw.githubusercontent.com/tonsky/FiraCode/master/distr/ttf/FiraCode-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
* {
-webkit-font-feature-settings: "liga" on, "calt" on;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: 'Fira Code';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment