diff --git a/src/vs/workbench/parts/git/browser/views/changes/changesView.ts b/src/vs/workbench/parts/git/browser/views/changes/changesView.ts index 48f3037f246..57bfee94c5a 100644 --- a/src/vs/workbench/parts/git/browser/views/changes/changesView.ts +++ b/src/vs/workbench/parts/git/browser/views/changes/changesView.ts @@ -40,6 +40,8 @@ import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { IEditorGroupService } from 'vs/workbench/services/group/common/groupService'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { isEqualOrParent } from 'vs/platform/files/common/files'; +import { attachInputBoxStyler } from "vs/platform/theme/common/styler"; +import { IThemeService } from "vs/platform/theme/common/themeService"; import IGitService = git.IGitService; @@ -87,7 +89,8 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV @IWorkspaceContextService contextService: IWorkspaceContextService, @IGitService gitService: IGitService, @IOutputService outputService: IOutputService, - @IConfigurationService private configurationService: IConfigurationService + @IConfigurationService private configurationService: IConfigurationService, + @IThemeService private themeService: IThemeService ) { super(); @@ -153,6 +156,7 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV ariaLabel: nls.localize('commitMessageAriaLabel', "Git: Type commit message and press {0} to commit", ChangesView.COMMIT_KEYBINDING), flexibleHeight: true }); + this.toDispose.push(attachInputBoxStyler(this.commitInputBox, this.themeService)); this.commitInputBox.onDidChange((value) => this.emit('change', value)); this.commitInputBox.onDidHeightChange((value) => this.emit('heightchange', value));