Skip to content

Instantly share code, notes, and snippets.

@mrstebo
Last active September 30, 2016 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrstebo/a9d28415bbc27f537ac6dcd2649122e0 to your computer and use it in GitHub Desktop.
Save mrstebo/a9d28415bbc27f537ac6dcd2649122e0 to your computer and use it in GitHub Desktop.
Atom stylesheet with ligatures - Ruby
// Requirements:
// language-babel: https://atom.io/packages/language-babel
// Fira Code: https://github.com/tonsky/FiraCode
// FlottFlott: http://www.dafont.com/flottflott.font
atom-text-editor {
font-family: 'Fira Code';
font-style: normal;
text-rendering: optimizeLegibility;
}
atom-text-editor::shadow {
.string.quoted,
.string.regexp {
-webkit-font-feature-settings: "liga" off, "calt" off;
}
.string.unquoted {
color: #CDD3DE;
}
.entity.name {
font-weight: bold;
}
.source.ruby {
.keyword.control.flow.ruby,
.keyword.control.ruby,
.keyword.other.special-method.ruby,
.storage,
.support.function {
vertical-align: baseline;
font-family: 'flottflott';
height: inherit;
font-size: 1.5em;
line-height: 1rem;
}
.variable {
font-family: 'Fira Code';
font-style: normal;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment