Skip to content

Instantly share code, notes, and snippets.

@PhilT
Last active August 29, 2015 14:06
Show Gist options
  • Save PhilT/d44e079f38a84d8a2483 to your computer and use it in GitHub Desktop.
Save PhilT/d44e079f38a84d8a2483 to your computer and use it in GitHub Desktop.
My Atom-Editor styles
/*
* Darkens punctuation in JavaScript to reduce noise.
* Also tweaks JSON colors.
*/
.tree-view {
}
.editor {
.js {
.comment, .brace, .terminator, .punctuation.definition.parameters,
.punctuation.definition.comment, .scope {
color: #444;
}
}
.selection .region {
background-color: #35312d;
}
}
.editor .cursor {
}
// make all JSON content dark blue
.meta.structure.dictionary.json {
color: #4183c4;
// make all strings pastel white
& > .string.quoted.json {
color: #ddd;
}
// make an exception for all .string keys whose immediate parent is .value
& > .value.json > .string.json {
color: #E3A857;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment