mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
string literal does not work with status bar item [background] color (fix #111687)
This commit is contained in:
parent
d758a74bf7
commit
df2c328e59
10
src/vs/vscode.proposed.d.ts
vendored
10
src/vs/vscode.proposed.d.ts
vendored
|
@ -2307,12 +2307,12 @@ declare module 'vscode' {
|
|||
/**
|
||||
* The background color for this entry.
|
||||
*
|
||||
* Note: the supported colors for background are currently limited to
|
||||
* `ThemeColors` with id `statusBarItem.errorBackground`. Other `ThemeColors`
|
||||
* will be ignored.
|
||||
* Note: only `new ThemeColor('statusBarItem.errorBackground')` is
|
||||
* supported for now. More background colors may be supported in the
|
||||
* future.
|
||||
*
|
||||
* When setting the background color to `statusBarItem.errorBackground`, the
|
||||
* `color` property will automatically be set to `statusBarItem.errorForeground`.
|
||||
* Note: when a background color is set, the statusbar may override
|
||||
* the `color` choice to ensure the entry is readable in all themes.
|
||||
*/
|
||||
backgroundColor: ThemeColor | undefined;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue