Skip to content

Instantly share code, notes, and snippets.

@killercup
Created November 3, 2015 12:50
Show Gist options
  • Save killercup/ffa8b174bc2aa4adb498 to your computer and use it in GitHub Desktop.
Save killercup/ffa8b174bc2aa4adb498 to your computer and use it in GitHub Desktop.
In Atom 1.1, font features like ligatures finally work!
atom-text-editor {
// -> === /= => >>>
-webkit-font-feature-settings: "liga" on, "calt" on;
//-webkit-font-smoothing: antialiased;
// text-rendering: optimizeLegibility;
&::shadow {
.meta.brace,
.punctuation.terminator {
opacity: 0.4;
font-weight: 200;
}
.comment.documentation {
color: #f8f8f8; // seti monokai's text color
}
}
}
atom-text-editor::shadow {
.cursor-line {
-webkit-font-feature-settings: "liga" off, "calt" off;
// text-rendering: auto;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment