Improve Monokai Extended JSON key color with a patch

This commit is contained in:
Keith Hall 2021-02-27 23:03:45 +02:00 committed by David Peter
parent c569774e1a
commit 7768433d09
2 changed files with 34 additions and 16 deletions

View File

@ -0,0 +1,18 @@
diff --git themes/sublime-monokai-extended/Monokai\ Extended.tmTheme themes/sublime-monokai-extended/Monokai\ Extended.tmTheme
index 9c2aa3e..180cbbf 100644
--- themes/sublime-monokai-extended/Monokai Extended.tmTheme
+++ themes/sublime-monokai-extended/Monokai Extended.tmTheme
@@ -810,11 +810,11 @@
<key>name</key>
<string>JSON String</string>
<key>scope</key>
- <string>meta.structure.dictionary.json string.quoted.double.json</string>
+ <string>meta.mapping.key.json string.quoted.double.json</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#cfcfc2</string>
+ <string>#fd971f</string>
</dict>
</dict>
<dict>

View File

@ -1,29 +1,29 @@
[
 {
 "name": "john",
 "age": 42,
 "isCustomer": false,
 "children": []
 "name": "john",
 "age": 42,
 "isCustomer": false,
 "children": []
 },
 {
 "name": "james",
 "age": 35,
 "isCustomer": true,
 "children": [
 "name": "james",
 "age": 35,
 "isCustomer": true,
 "children": [
 {
 "name": "linus",
 "age": 4
 "name": "linus",
 "age": 4
 },
 {
 "name": "sandra",
 "age": 2
 "name": "sandra",
 "age": 2
 }
 ]
 },
 {
 "name": "jessica",
 "age": null,
 "isCustomer": false,
 "children": []
 "name": "jessica",
 "age": null,
 "isCustomer": false,
 "children": []
 }
]