vscode: don't hardCODE 😁 colors

This commit is contained in:
lelgenio 2021-03-11 01:38:50 -03:00
parent 9e5caf9593
commit ee9d958e10

View file

@ -33,9 +33,13 @@
"editor.fontLigatures": true, "editor.fontLigatures": true,
// Input // Input
"keyboard.dispatch": "keyCode", "keyboard.dispatch": "keyCode",
// Gay colors // Colors
{%@@ if color.type == "dark" @@%}
"workbench.colorTheme": "Community Material Theme Darker", "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", "workbench.iconTheme": "material-icon-theme",
"material-icon-theme.folders.color": "{{@@ accent_color @@}}", "material-icon-theme.folders.color": "{{@@ accent_color @@}}",
"workbench.colorCustomizations": { "workbench.colorCustomizations": {
@ -63,19 +67,19 @@
"menubar.selectionForeground": "{{@@ accent_color @@}}", "menubar.selectionForeground": "{{@@ accent_color @@}}",
"editor.findMatchBorder": "{{@@ accent_color @@}}", "editor.findMatchBorder": "{{@@ accent_color @@}}",
"selection.background": "{{@@ accent_color @@}}40", "selection.background": "{{@@ accent_color @@}}40",
// backgrounds // // backgrounds
"activityBar.background": "{{@@ color.bg @@}}", // "activityBar.background": "{{@@ color.bg @@}}",
"editor.background": "{{@@ color.bg @@}}", // "editor.background": "{{@@ color.bg @@}}",
"editorWhitespace.foreground": "{{@@ color.bg_light @@}}", // "editorWhitespace.foreground": "{{@@ color.bg_light @@}}",
"statusBar.background": "{{@@ color.bg @@}}", // "statusBar.background": "{{@@ color.bg @@}}",
"statusBar.noFolderBackground": "{{@@ color.bg @@}}", // "statusBar.noFolderBackground": "{{@@ color.bg @@}}",
"statusBar.debuggingBackground": "{{@@ color.bg @@}}", // "statusBar.debuggingBackground": "{{@@ color.bg @@}}",
"sideBar.background": "{{@@ color.bg @@}}", // "sideBar.background": "{{@@ color.bg @@}}",
"terminal.background": "{{@@ color.bg @@}}", // "terminal.background": "{{@@ color.bg @@}}",
"panel.background": "{{@@ color.bg @@}}", // "panel.background": "{{@@ color.bg @@}}",
// foregrounds // // foregrounds
"editorCursor.background": "{{@@ color.txt @@}}", // "editorCursor.background": "{{@@ color.txt @@}}",
"statusBar.foreground": "{{@@ color.txt @@}}", // "statusBar.foreground": "{{@@ color.txt @@}}",
}, },
"editor.formatOnType": true, "editor.formatOnType": true,
"editor.formatOnSave": true, "editor.formatOnSave": true,
@ -116,4 +120,4 @@
"python.formatting.provider": "black", "python.formatting.provider": "black",
"python.linting.pylintUseMinimalCheckers": false, "python.linting.pylintUseMinimalCheckers": false,
"python.linting.mypyEnabled": true, "python.linting.mypyEnabled": true,
} }