summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Yoshida <noah.yoshida@redbubble.com>2018-05-29 20:13:10 -0700
committersilver <noahcy117@gmail.com>2018-05-29 23:50:25 -0400
commit6afcb2c5a2cd5e935f75d5f34f52a6e2e04c8d33 (patch)
tree447bd6bcb9fb6e2f3ab5cb327ef2e455849a14e5
parent1ef4c742a2c0ed35a408501a73a20ae184f90d22 (diff)
vscode template json file added
-rw-r--r--pywal/export.py1
-rw-r--r--pywal/templates/colors-vscode.json16
2 files changed, 17 insertions, 0 deletions
diff --git a/pywal/export.py b/pywal/export.py
index 993e528..c67cca0 100644
--- a/pywal/export.py
+++ b/pywal/export.py
@@ -44,6 +44,7 @@ def get_export_type(export_type):
"shell": "colors.sh",
"sway": "colors-sway",
"tty": "colors-tty.sh",
+ "vscode": "colors-vscode.json",
"xresources": "colors.Xresources",
"yaml": "colors.yml",
}.get(export_type, export_type)
diff --git a/pywal/templates/colors-vscode.json b/pywal/templates/colors-vscode.json
new file mode 100644
index 0000000..75c0a2f
--- /dev/null
+++ b/pywal/templates/colors-vscode.json
@@ -0,0 +1,16 @@
+{{
+ "editor.tokenColorCustomizations": {{
+ "functions": "{color1}",
+ "keywords": "{color2}",
+ "numbers": "{color3}",
+ "strings": "{color4}",
+ "types": "{color5}",
+ "variables": "{color6}",
+ "comments": "{color7}"
+ }},
+ "workbench.colorCustomizations": {{
+ "editor.background": "{color0}"
+ }}
+}}
+
+