Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the colors of the current theme in VS Code?

I am trying to change certain colors in my instance of VS Code. I know how to change colors ("workbench.colorCustomizations" setting + Prop Names), but I don't know how to get the current color scheme since the value of the above-mentioned setting is {}.

So, the question is:
How do I get colors of the specific part of the theme of my Visual Studio Code?
For example a color for gitDecoration.ignoredResourceForeground, which I am trying to change.

like image 660
Eduard Avatar asked Dec 25 '17 16:12

Eduard


1 Answers

Execute from command palette:

Developer: Generate Color Theme From Current Settings

Commented colors - the ones that get default values.


You can also toggle chrome console:

Developer: Toggle Developer Tools

Or get some colors in active editor:

Developer: Inspect Editor Tokens and Scopes
like image 143
Alex Avatar answered Sep 21 '22 16:09

Alex