From 6afcb2c5a2cd5e935f75d5f34f52a6e2e04c8d33 Mon Sep 17 00:00:00 2001 From: Noah Yoshida Date: Tue, 29 May 2018 20:13:10 -0700 Subject: vscode template json file added --- pywal/export.py | 1 + pywal/templates/colors-vscode.json | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 pywal/templates/colors-vscode.json (limited to 'pywal') 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}" + }} +}} + + -- cgit v1.2.3