Skip to content

Commit

Permalink
#67076 Style the error widget with proper colours
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Feb 20, 2019
1 parent e608add commit 41f1545
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vs/editor/contrib/gotoError/gotoErrorWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 41f1545

Please sign in to comment.