How to edit default dark theme for Visual Studio Code?

后端 未结 10 2072
执念已碎
执念已碎 2020-11-30 17:24

I\'m using Windows 7 64-bit.

Is there a way to edit default dark theme in the Visual Studio Code? In %USERPROFILE%\\.vscode folder there are only themes

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 17:54

    Any color theme can be changed in this settings section on VS Code version 1.12 or higher:

     // Overrides colors from the currently selected color theme.
      "workbench.colorCustomizations": {}
    

    See https://code.visualstudio.com/docs/getstarted/themes#_customize-a-color-theme

    Available values to edit: https://code.visualstudio.com/docs/getstarted/theme-color-reference

    EDIT: To change syntax colors, see here: https://code.visualstudio.com/docs/extensions/themes-snippets-colorizers#_syntax-highlighting-colors and here: https://www.sublimetext.com/docs/3/scope_naming.html

提交回复
热议问题