Skip to content

Instantly share code, notes, and snippets.

@kmctown
Created April 4, 2017 18:09
Show Gist options
  • Save kmctown/c9ac4316cff232c2367451e0c5aec55b to your computer and use it in GitHub Desktop.
Save kmctown/c9ac4316cff232c2367451e0c5aec55b to your computer and use it in GitHub Desktop.
Atom styles for js/python operator mono fancypants syntax
atom-workspace,
atom-text-editor {
font-family: "Operator Mono";
font-size: 14px;
font-weight: 400;
line-height: 1.55;
}
atom-panel.tool-panel {
font-size: 0.88em;
}
.entity.name.function,
.entity.other.attribute-name {
font-style: italic;
}
atom-text-editor::shadow {
text-rendering: optimizeLegibility;
.entity.other.attribute-name,
.variable.language.js,
.variable.language.self.python,
.storage.type.function.js,
.storage.type.class.js {
font-family: 'Operator Mono';
font-style: italic;
}
.comment {
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