diff options
| author | dylan <[email protected]> | 2020-01-23 10:38:42 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-01-23 10:38:42 +0200 |
| commit | db48957bde740e68dc64ceafef4e62ddc7018c6a (patch) | |
| tree | 63e7fe384b10449fd893b5a2da3e90199df21dae | |
| parent | Merge pull request #389 from aschey/theme_save (diff) | |
| parent | Merge branch 'master' into add-vs-code-support (diff) | |
| download | pywal-db48957bde740e68dc64ceafef4e62ddc7018c6a.tar.xz pywal-db48957bde740e68dc64ceafef4e62ddc7018c6a.zip | |
Merge pull request #250 from noyoshi/add-vs-code-support
vscode template json file added
| -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}" + }} +}} |