Vscode-docs: How to change colors in settings.json?

Created on 15 Sep 2019  路  2Comments  路  Source: microsoft/vscode-docs

None of the many themes work for me. How do I edit settings.json to change the background color of edit panes, etc.? I can find no documentation or commands to change colors. Maybe this information is in a theme-writing guide. Where could I find this?

Most helpful comment

Hi @David263 Have a look at https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme.
For your example of changing the editor background color, you can add color overrides in the workbench.colorCustomizations array by adding to your user settings in settings.json:

    "workbench.colorCustomizations": {
        "editor.background": "#ff0000"
    }

All 2 comments

Hi @David263 Have a look at https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme.
For your example of changing the editor background color, you can add color overrides in the workbench.colorCustomizations array by adding to your user settings in settings.json:

    "workbench.colorCustomizations": {
        "editor.background": "#ff0000"
    }

Thanks, gregvani.

I've found the documentation in the REFERENCES section of the API (which I guess means "internals" here). I think most VSCode users will want to find this: https://code.visualstudio.com/api/references/theme-color .

Was this page helpful?
0 / 5 - 0 ratings