From ee9d958e1064ac807c088fbe18a13722ff6a8838 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Thu, 11 Mar 2021 01:38:50 -0300 Subject: [PATCH] =?UTF-8?q?vscode:=20don't=20hardCODE=20=F0=9F=98=81=20col?= =?UTF-8?q?ors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotfiles/vscode.jsonc | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/dotfiles/vscode.jsonc b/dotfiles/vscode.jsonc index 6f2214b..26aeac8 100644 --- a/dotfiles/vscode.jsonc +++ b/dotfiles/vscode.jsonc @@ -33,9 +33,13 @@ "editor.fontLigatures": true, // Input "keyboard.dispatch": "keyCode", - // Gay colors + // Colors + {%@@ if color.type == "dark" @@%} "workbench.colorTheme": "Community Material Theme Darker", - "materialTheme.accent": "Red", + {%@@ else @@%} + "workbench.colorTheme": "GitHub Light", + {%@@ endif @@%} + "materialTheme.accent": "{{@@ accent_color_name @@}}", "workbench.iconTheme": "material-icon-theme", "material-icon-theme.folders.color": "{{@@ accent_color @@}}", "workbench.colorCustomizations": { @@ -63,19 +67,19 @@ "menubar.selectionForeground": "{{@@ accent_color @@}}", "editor.findMatchBorder": "{{@@ accent_color @@}}", "selection.background": "{{@@ accent_color @@}}40", - // backgrounds - "activityBar.background": "{{@@ color.bg @@}}", - "editor.background": "{{@@ color.bg @@}}", - "editorWhitespace.foreground": "{{@@ color.bg_light @@}}", - "statusBar.background": "{{@@ color.bg @@}}", - "statusBar.noFolderBackground": "{{@@ color.bg @@}}", - "statusBar.debuggingBackground": "{{@@ color.bg @@}}", - "sideBar.background": "{{@@ color.bg @@}}", - "terminal.background": "{{@@ color.bg @@}}", - "panel.background": "{{@@ color.bg @@}}", - // foregrounds - "editorCursor.background": "{{@@ color.txt @@}}", - "statusBar.foreground": "{{@@ color.txt @@}}", + // // backgrounds + // "activityBar.background": "{{@@ color.bg @@}}", + // "editor.background": "{{@@ color.bg @@}}", + // "editorWhitespace.foreground": "{{@@ color.bg_light @@}}", + // "statusBar.background": "{{@@ color.bg @@}}", + // "statusBar.noFolderBackground": "{{@@ color.bg @@}}", + // "statusBar.debuggingBackground": "{{@@ color.bg @@}}", + // "sideBar.background": "{{@@ color.bg @@}}", + // "terminal.background": "{{@@ color.bg @@}}", + // "panel.background": "{{@@ color.bg @@}}", + // // foregrounds + // "editorCursor.background": "{{@@ color.txt @@}}", + // "statusBar.foreground": "{{@@ color.txt @@}}", }, "editor.formatOnType": true, "editor.formatOnSave": true, @@ -116,4 +120,4 @@ "python.formatting.provider": "black", "python.linting.pylintUseMinimalCheckers": false, "python.linting.mypyEnabled": true, -} \ No newline at end of file +}