Skip to content

Instantly share code, notes, and snippets.

@aditya2337
Created June 22, 2017 07:34
Show Gist options
  • Save aditya2337/b4136e8d74a5da969cb457c384df26c2 to your computer and use it in GitHub Desktop.
Save aditya2337/b4136e8d74a5da969cb457c384df26c2 to your computer and use it in GitHub Desktop.
/* style for atom having both firacode and operetor mono */
atom-text-editor.editor {
font-family: "Operator Mono light";
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: "Operator Mono Medium";
font-style: italic;
font-size: 1em;
}
.syntax--name.syntax--function,
.syntax--variable.syntax--default,
.syntax--name.syntax--class {
font-weight: 600;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment