Skip to content

Instantly share code, notes, and snippets.

@ivportilla
Created November 13, 2016 10:43
Show Gist options
  • Save ivportilla/90afa4d5bc698b84ec011e8ca8642a2e to your computer and use it in GitHub Desktop.
Save ivportilla/90afa4d5bc698b84ec011e8ca8642a2e to your computer and use it in GitHub Desktop.
Operator Mono + FiraCode ligatures in Atom
atom-text-editor {
font-family: "Operator Mono";
font-size: 14px;
font-weight: 400;
line-height: 1.7;
}
.entity.other.attribute-name,
.entity.name.function {
font-style: italic;
}
atom-text-editor::shadow {
text-rendering: optimizeLegibility;
.entity.other.attribute-name,
.storage.type.function.js,
.storage.type.class.js {
font-family: 'Operator Mono';
font-style: italic;
}
.keyword.operator,
.storage.type.function.arrow.js {
font-family: 'Fira Code';
}
}
atom-text-editor::shadow .lines .cursor-line .keyword.operator {
text-rendering: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment