Skip to content

Instantly share code, notes, and snippets.

@nemoDreamer
Created November 9, 2016 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nemoDreamer/a4c05482e132f0e17a79cff43d2a9a17 to your computer and use it in GitHub Desktop.
Save nemoDreamer/a4c05482e132f0e17a79cff43d2a9a17 to your computer and use it in GitHub Desktop.
atom-text-editor::shadow {
.source {
font-family: FiraCode-Retina;
text-rendering: optimizeLegibility;
}
.string.quoted,
.string.regexp {
-webkit-font-feature-settings: "liga" off, "calt" off;
}
.source.js.jsx > .keyword.control.flow.js,
.storage:not(.arrow), // allow "Fira Code" to show arrow ligature
.comment,
.type .function,
// .keyword.control, // a bit too heavy-handed...
.entity.other.attribute-name.js {
font-family: 'Space Mono'; // https://fonts.google.com/specimen/Space+Mono
font-style: italic;
line-height: 1;
letter-spacing: -0.01em; // match "Fira Code" char width
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment