How to customize colors to match your taste #1274
-
You can override the Material Theme UI and scheme colors by adding these theme-specific settings to your configuration. For advanced customization please check the relative section on the VS Code documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Color Scheme overrideBasic exampleThe following example overrides the color of the comments inside code. "editor.tokenColorCustomizations": {
"[Material Theme]": {
"comments": "#229977"
}
}, Advanced exampleSearch for "scope" in the command palette and run the scope inspector, then click any part of your code to get the scope name/s and use them as following.
Customizing semantic tokens (with semantic highlight
|
Beta Was this translation helpful? Give feedback.
Color Scheme override
Basic example
The following example overrides the color of the comments inside code.
Advanced example
Search for "scope" in the command palette and run the scope inspector, then click any part of your code to get the scope name/s and use them as following.
editor.tokenColorCustomizations
allows you to edit the syntax color of any element.editor.semanticTokenColorCustomizations
allows you to edit semantic highlighting tokensworkbench.colorCustomizations
allows you to edit vscode UI elements.Customizing semantic tokens (with semantic highlight
ON
)(read vscode doc)"…