Created
February 25, 2016 15:50
-
-
Save joshwiens/31a3caeea53e3e24da91 to your computer and use it in GitHub Desktop.
Atom italic attribute names
This file contains hidden or 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
// To style other content in the text editor's shadow DOM, use the ::shadow expression | |
atom-text-editor::shadow .cursor { | |
border-color: #7797e9; | |
border-width: thin; | |
} | |
// Changes attribute names to display in italics | |
// Be sure to use a font that has an italic font style ( Source Code Pro for instance) | |
atom-text-editor::shadow .entity.other.attribute-name { | |
font-style: italic; | |
font-weight: 600; | |
} |
Author
joshwiens
commented
Feb 25, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment