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",  "name": "john",
 "age": 42,  "age": 42,
 "isCustomer": false,  "isCustomer": false,
 "children": []  "children": []
 },  },
 {  {
 "name": "james",  "name": "james",
 "age": 35,  "age": 35,
 "isCustomer": true,  "isCustomer": true,
 "children": [  "children": [
 {  {
 "name": "linus",  "name": "linus",
 "age": 4  "age": 4
 },  },
 {  {
 "name": "sandra",  "name": "sandra",
 "age": 2  "age": 2
 }  }
 ]  ]
 },  },
 {  {
 "name": "jessica",  "name": "jessica",
 "age": null,  "age": null,
 "isCustomer": false,  "isCustomer": false,
 "children": []  "children": []
 }  }
] ]