Skip to content

Commit 7e84479

Browse files
committed
rename widget: fix input box bg color to respect the theme
fixes microsoft/vscode-copilot#5302
1 parent 2a07156 commit 7e84479

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/editor/contrib/rename/browser/renameWidget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ export class RenameWidget implements IRenameWidget, IContentWidget, IDisposable
241241
const border = theme.getColor(inputBorder);
242242

243243
this._inputWithButton.domNode.style.backgroundColor = String(theme.getColor(inputBackground) ?? '');
244+
this._inputWithButton.input.style.backgroundColor = String(theme.getColor(inputBackground) ?? '');
244245
this._inputWithButton.domNode.style.borderWidth = border ? '1px' : '0px';
245246
this._inputWithButton.domNode.style.borderStyle = border ? 'solid' : 'none';
246247
this._inputWithButton.domNode.style.borderColor = border?.toString() ?? 'none';

0 commit comments

Comments
 (0)