Last active
August 23, 2017 09:30
-
-
Save mrstebo/7987c98d76417cd1f44274b5ac9446cf to your computer and use it in GitHub Desktop.
Atom stylesheet with ligatures - JS/JSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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.js.jsx { | |
.keyword.control.flow.js, | |
.keyword.control.js, | |
.variable.language.this, | |
.entity.other.attribute-name, | |
.storage, | |
.type.function { | |
vertical-align: baseline; | |
font-family: 'flottflott'; | |
height: inherit; | |
font-size: 1.5em; | |
line-height: 1rem; | |
} | |
.storage.type.function.arrow.js, | |
.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
I believe they are removing the shadow DOM so the selectors will change