Last active
August 29, 2015 14:18
-
-
Save smockle/ef45fc9dc77b6e3c4413 to your computer and use it in GitHub Desktop.
Atom Editor styles to differentiate keys and values in JSON files
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
// Style JSON keys and values differently | |
atom-text-editor::shadow .meta.structure.dictionary.json { | |
// Keys | |
& > .string.quoted.json, | |
.punctuation.definition.string.json { | |
color: @blue; | |
} | |
// Values | |
& > .value.json > .string.json, | |
.value:not(:first-child) .punctuation.definition.string.json, | |
.array > .string.json .punctuation.definition.string.json { | |
color: @green; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now an Atom Editor package: https://atom.io/packages/colorful-json.