@@ -18,7 +18,7 @@ import { MarkersFilterActionViewItem, MarkersFilterAction, IMarkersFilterActionC
1818import { IConfigurationService } from 'vs/platform/configuration/common/configuration' ;
1919import Messages from 'vs/workbench/contrib/markers/browser/messages' ;
2020import { RangeHighlightDecorations } from 'vs/workbench/browser/parts/editor/rangeDecorations' ;
21- import { IThemeService } from 'vs/platform/theme/common/themeService' ;
21+ import { IThemeService , registerThemingParticipant , ITheme , ICssStyleCollector } from 'vs/platform/theme/common/themeService' ;
2222import { ICodeEditor } from 'vs/editor/browser/editorBrowser' ;
2323import { IMarkersWorkbenchService } from 'vs/workbench/contrib/markers/browser/markers' ;
2424import { IStorageService , StorageScope } from 'vs/platform/storage/common/storage' ;
@@ -47,6 +47,7 @@ import { IListVirtualDelegate } from 'vs/base/browser/ui/list/list';
4747import { IAccessibilityService } from 'vs/platform/accessibility/common/accessibility' ;
4848import { PANEL_BACKGROUND } from 'vs/workbench/common/theme' ;
4949import { KeyCode } from 'vs/base/common/keyCodes' ;
50+ import { editorLightBulbForeground , editorLightBulbAutoFixForeground } from 'vs/platform/theme/common/colorRegistry' ;
5051
5152function createResourceMarkersIterator ( resourceMarkers : ResourceMarkers ) : Iterator < ITreeElement < TreeElement > > {
5253 const markersIt = Iterator . fromArray ( resourceMarkers . markers ) ;
@@ -817,3 +818,25 @@ class MarkersTree extends WorkbenchObjectTree<TreeElement, FilterData> {
817818 }
818819
819820}
821+
822+ registerThemingParticipant ( ( theme : ITheme , collector : ICssStyleCollector ) => {
823+
824+ // Lightbulb Icon
825+ const editorLightBulbForegroundColor = theme . getColor ( editorLightBulbForeground ) ;
826+ if ( editorLightBulbForegroundColor ) {
827+ collector . addRule ( `
828+ .monaco-workbench .markers-panel-container .codicon-lightbulb {
829+ color: ${ editorLightBulbForegroundColor } ;
830+ }` ) ;
831+ }
832+
833+ // Lightbulb Auto Fix Icon
834+ const editorLightBulbAutoFixForegroundColor = theme . getColor ( editorLightBulbAutoFixForeground ) ;
835+ if ( editorLightBulbAutoFixForegroundColor ) {
836+ collector . addRule ( `
837+ .monaco-workbench .markers-panel-container .codicon-lightbulb-autofix {
838+ color: ${ editorLightBulbAutoFixForegroundColor } ;
839+ }` ) ;
840+ }
841+
842+ } ) ;
0 commit comments