From 1c0aa2e870fcc08c747d9bd5b4fbe65ad4ae79e1 Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Mon, 26 Mar 2018 16:46:03 +0200 Subject: [PATCH] Progress bar theme color (#45589) --- src/vs/workbench/browser/parts/quickinput/quickInput.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/browser/parts/quickinput/quickInput.ts b/src/vs/workbench/browser/parts/quickinput/quickInput.ts index 61c956997ea01..457cd6e1dc03a 100644 --- a/src/vs/workbench/browser/parts/quickinput/quickInput.ts +++ b/src/vs/workbench/browser/parts/quickinput/quickInput.ts @@ -26,7 +26,7 @@ import { localize } from 'vs/nls'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { CLOSE_ON_FOCUS_LOST_CONFIG } from 'vs/workbench/browser/quickopen'; import { CountBadge } from 'vs/base/browser/ui/countBadge/countBadge'; -import { attachBadgeStyler } from 'vs/platform/theme/common/styler'; +import { attachBadgeStyler, attachProgressBarStyler } from 'vs/platform/theme/common/styler'; import { IEnvironmentService } from 'vs/platform/environment/common/environment'; import { ProgressBar } from 'vs/base/browser/ui/progressbar/progressbar'; @@ -108,8 +108,9 @@ export class QuickInputService extends Component implements IQuickInputService { } })); - this.progressBar = new ProgressBar(this.container); // TODO theme + this.progressBar = new ProgressBar(this.container); this.progressBar.getContainer().addClass('quick-input-progress'); + this.toUnbind.push(attachProgressBarStyler(this.progressBar, this.themeService)); this.checkboxList = this.instantiationService.createInstance(QuickInputCheckboxList, this.container); this.toUnbind.push(this.checkboxList);