diff options
| author | dylan <dylan.araps@gmail.com> | 2020-01-23 10:38:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-23 10:38:42 +0200 |
| commit | db48957bde740e68dc64ceafef4e62ddc7018c6a (patch) | |
| tree | 63e7fe384b10449fd893b5a2da3e90199df21dae /pywal | |
| parent | 3537e8cc8f2af2051dd695ef1ca7247e76e0f74f (diff) | |
| parent | c1d90676f9074cf4131f8cb94aeb2344d6fc8ecc (diff) | |
Merge pull request #250 from noyoshi/add-vs-code-support
vscode template json file added
Diffstat (limited to 'pywal')
| -rw-r--r-- | pywal/export.py | 1 | ||||
| -rw-r--r-- | pywal/templates/colors-vscode.json | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/pywal/export.py b/pywal/export.py index d9ff16d..0c71a76 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -90,6 +90,7 @@ def get_export_type(export_type): "speedcrunch": "colors-speedcrunch.json", "sway": "colors-sway", "tty": "colors-tty.sh", + "vscode": "colors-vscode.json", "waybar": "colors-waybar.css", "xresources": "colors.Xresources", "xmonad": "colors.hs", diff --git a/pywal/templates/colors-vscode.json b/pywal/templates/colors-vscode.json new file mode 100644 index 0000000..0239717 --- /dev/null +++ b/pywal/templates/colors-vscode.json @@ -0,0 +1,14 @@ +{{ + "editor.tokenColorCustomizations": {{ + "functions": "{color1}", + "keywords": "{color2}", + "numbers": "{color3}", + "strings": "{color4}", + "types": "{color5}", + "variables": "{color6}", + "comments": "{color8}" + }}, + "workbench.colorCustomizations": {{ + "editor.background": "{background}" + }} +}} |
