A reference to one of the workbench colors as defined in https://code.visualstudio.com/docs/getstarted/theme-color-reference. Using a theme color is preferred over a custom color as it gives theme authors and users the possibility to change the color.

Constructor

new(id:String)

Creates a reference to a theme color.

Parameters:

id

of the color. The available colors are listed in https://code.visualstudio.com/docs/getstarted/theme-color-reference.