mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
rename widget: fix input box bg color to respect the theme
fixes https://github.com/microsoft/vscode-copilot/issues/5302
This commit is contained in:
parent
2a0715668a
commit
7e84479588
|
@ -241,6 +241,7 @@ export class RenameWidget implements IRenameWidget, IContentWidget, IDisposable
|
|||
const border = theme.getColor(inputBorder);
|
||||
|
||||
this._inputWithButton.domNode.style.backgroundColor = String(theme.getColor(inputBackground) ?? '');
|
||||
this._inputWithButton.input.style.backgroundColor = String(theme.getColor(inputBackground) ?? '');
|
||||
this._inputWithButton.domNode.style.borderWidth = border ? '1px' : '0px';
|
||||
this._inputWithButton.domNode.style.borderStyle = border ? 'solid' : 'none';
|
||||
this._inputWithButton.domNode.style.borderColor = border?.toString() ?? 'none';
|
||||
|
|
Loading…
Reference in a new issue