From 41f1545595fe939a3ae70e5488088bf8fd8a4b0c Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 20 Feb 2019 14:54:41 +0100 Subject: [PATCH] #67076 Style the error widget with proper colours --- src/vs/editor/contrib/gotoError/gotoErrorWidget.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vs/editor/contrib/gotoError/gotoErrorWidget.ts b/src/vs/editor/contrib/gotoError/gotoErrorWidget.ts index 453d0a4c22a76..e9dd45dd566c2 100644 --- a/src/vs/editor/contrib/gotoError/gotoErrorWidget.ts +++ b/src/vs/editor/contrib/gotoError/gotoErrorWidget.ts @@ -26,6 +26,7 @@ import { PeekViewWidget } from 'vs/editor/contrib/referenceSearch/peekViewWidget import { basename } from 'vs/base/common/resources'; import { IAction } from 'vs/base/common/actions'; import { IActionBarOptions, ActionsOrientation } from 'vs/base/browser/ui/actionbar/actionbar'; +import { peekViewTitleForeground, peekViewTitleInfoForeground } from 'vs/editor/contrib/referenceSearch/referencesWidget'; class MessageWidget { @@ -201,7 +202,10 @@ export class MarkerNavigationWidget extends PeekViewWidget { const frameColor = theme.getColor(colorId); this.style({ arrowColor: frameColor, - frameColor: frameColor + frameColor: frameColor, + headerBackgroundColor: this._backgroundColor, + primaryHeadingColor: theme.getColor(peekViewTitleForeground), + secondaryHeadingColor: theme.getColor(peekViewTitleInfoForeground) }); // style() will trigger _applyStyles }