Skip to content

Instantly share code, notes, and snippets.

@kellyjandrews
Last active January 6, 2020 20:00
Show Gist options
  • Save kellyjandrews/fea2c44b9b799385e95a561ebf02f9e5 to your computer and use it in GitHub Desktop.
Save kellyjandrews/fea2c44b9b799385e95a561ebf02f9e5 to your computer and use it in GitHub Desktop.
Fira Code/Operator Atom Less Settings
atom-text-editor.editor {
font-family: "OperatorMono-Medium";
text-rendering: optimizeLegibility;
font-size: 15px;
font-weight: 400;
line-height: 1.4;
atom-text-editor.editor .syntax--string.syntax--quoted,
atom-text-editor.editor .syntax--string.syntax--regexp {
-webkit-font-feature-settings: "liga" off, "calt" off;
}
.syntax--operator,
.syntax--type.syntax--function.syntax--arrow,
.syntax--punctuation.syntax--comment {
font-family: "Fira Code";
}
.syntax--entity.syntax--other.syntax--attribute-name,
.syntax--type.syntax--function,
.syntax--storage.syntax--type.syntax--class,
.syntax--type.syntax--var,
.syntax--meta.syntax--parameters,
.syntax--keyword.syntax--control,
.syntax--modifier,
.comment, .syntax--comment {
font-family: "OperatorMono-MediumItalic";
font-size: 1em;
}
.syntax--name.syntax--function,
.syntax--variable.syntax--default,
.syntax--name.syntax--class {
font-weight: 600;
}
}
@shivangg
Copy link

Does not work with windows 10. Does with Operator Mono Medium

@jaronschulz
Copy link

I tried a similar combo with Space Mono (free) and it is not working for JSX/React etc. Any Ideas? I think JSX is the Problem, because it looks nice on JS

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