diff --git a/src/sql/workbench/browser/modelComponents/declarativeTable.component.html b/src/sql/workbench/browser/modelComponents/declarativeTable.component.html index a2db933823..e5e49e11e4 100644 --- a/src/sql/workbench/browser/modelComponents/declarativeTable.component.html +++ b/src/sql/workbench/browser/modelComponents/declarativeTable.component.html @@ -16,7 +16,7 @@ - + ChangeDetectorRef)) changeRef: ChangeDetectorRef, @Inject(forwardRef(() => ElementRef)) el: ElementRef, - @Inject(ILogService) logService: ILogService + @Inject(ILogService) logService: ILogService, + @Inject(IThemeService) themeService: IThemeService ) { super(changeRef, el, logService); + this._colorTheme = themeService.getColorTheme(); + this._register(themeService.onDidColorThemeChange((colorTheme) => { + this._colorTheme = colorTheme; + })); } ngAfterViewInit(): void { @@ -337,4 +340,11 @@ export default class DeclarativeTableComponent extends ContainerBase