Skip to content

Instantly share code, notes, and snippets.

@whizkydee
Last active January 13, 2021 21:58
Show Gist options
  • Save whizkydee/d60342e54952cb85808d71c5d381260e to your computer and use it in GitHub Desktop.
Save whizkydee/d60342e54952cb85808d71c5d381260e to your computer and use it in GitHub Desktop.
Atom Material Palenight Syntax Operator Mono Tweak
atom-text-editor {
-webkit-font-feature-settings: "liga" off, "calt" off; /* very mandatory */
text-rendering: optimizeLegibility; /* cool */
font-weight: normal; /* for specificity */
line-height: 1.7; /* feel free to adjust */
}
.syntax--doctype, .syntax--entity.syntax--other.syntax--attribute-name, .syntax--source.syntax--js.syntax--jsx > .syntax--keyword.syntax--control.syntax--flow.syntax--js,
.syntax--punctuation.syntax--section.syntax--embedded, .syntax--keyword:not(.syntax--logical):not(.syntax--arithmetic):not(.syntax--bitwise):not(.syntax--increment):not(.syntax--ternary):not(.syntax--comparison),
.syntax--meta.syntax--structure.syntax--dictionary.syntax--key.syntax--json,
.syntax--entity.syntax--name.syntax--tag.syntax--yaml,
.syntax--storage, .syntax--italic, .syntax--language, .syntax--type .syntax--function,
.syntax--type.syntax--function, .syntax--storage.syntax--type.syntax--class, .syntax--type.syntax--var, .syntax--meta.syntax--parameter, .syntax--assignment.syntax--coffee, .syntax--keyword.syntax--control, .syntax--modifier, .syntax--boolean, .syntax--null,
.syntax--this, .syntax--comment {
font-family: "Operator Mono Light"; /* varies with font name */
vertical-align: inherit; /* just keep it */
font-style: italic; /* mandatory */
line-height: 10px; /* Optional */
}
@Thavarshan
Copy link

Thanks mate! Worked like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment