Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change colors in settings.json? #3092

Closed
David263 opened this issue Sep 15, 2019 · 2 comments
Closed

How to change colors in settings.json? #3092

David263 opened this issue Sep 15, 2019 · 2 comments
Assignees

Comments

@David263
Copy link

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?

@gregvanl
Copy link

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"
    }

@gregvanl gregvanl self-assigned this Sep 16, 2019
@David263
Copy link
Author

David263 commented Sep 16, 2019

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants