diff --git a/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts b/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts index db1f9b64b1..b13e33f403 100644 --- a/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts +++ b/src/sql/workbench/contrib/dashboard/browser/contents/dashboardWidgetWrapper.component.ts @@ -26,7 +26,6 @@ import { CommonServiceInterface } from 'sql/workbench/services/bootstrap/browser import { IWorkbenchThemeService } from 'vs/workbench/services/themes/common/workbenchThemeService'; import * as colors from 'vs/platform/theme/common/colorRegistry'; -import * as themeColors from 'vs/workbench/common/theme'; import { Action, IAction } from 'vs/base/common/actions'; import { Registry } from 'vs/platform/registry/common/platform'; import { ActionBar } from 'vs/base/browser/ui/actionbar/actionbar'; @@ -259,26 +258,12 @@ export class DashboardWidgetWrapper extends AngularDisposable implements OnInit const el = this._ref.nativeElement; const headerEl: HTMLElement = this.header.nativeElement; let borderColor = theme.getColor(DASHBOARD_BORDER); - let backgroundColor = theme.getColor(colors.editorBackground, true); - const foregroundColor = theme.getColor(themeColors.SIDE_BAR_FOREGROUND, true); const border = theme.getColor(colors.contrastBorder, true); - if (this._config.background_color) { - backgroundColor = theme.getColor(this._config.background_color); - } - if (this._config.border === 'none') { borderColor = undefined; } - if (backgroundColor) { - el.style.backgroundColor = backgroundColor.toString(); - } - - if (foregroundColor) { - el.style.color = foregroundColor.toString(); - } - let borderString = undefined; if (border) { borderString = border.toString();