Improve Monokai Extended JSON key color with a patch

This commit is contained in:
Keith Hall authored and David Peter committed 2021-02-28 09:55:24 +01:00
1 parent c569774e1a
commit 7768433d09
2 files changed
+34 -16

No files matched your search

+18
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>
+16 -16
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": []
 }
]