ThemeColor

open class ThemeColor(source)

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

Online Documentation

Constructors

Link copied to clipboard
constructor(id: String)

Creates a reference to a theme color.

Properties

Link copied to clipboard
val id: String

The id of this color.