From 8c8c9bed36a2e804eb9efb271b086a4a7346fc92 Mon Sep 17 00:00:00 2001 From: Miguel Solorio Date: Wed, 16 Jun 2021 13:48:33 -0700 Subject: [PATCH] Fix settings toc focus state icon (Refs #126527) --- .../contrib/preferences/browser/media/settingsEditor2.css | 4 ---- src/vs/workbench/contrib/preferences/browser/tocTree.ts | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css b/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css index e4c3c800ef4..19716068507 100644 --- a/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css +++ b/src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css @@ -12,10 +12,6 @@ overflow: hidden; } -.settings-editor .codicon { - color: inherit !important; -} - .settings-editor:focus { outline: none !important; } diff --git a/src/vs/workbench/contrib/preferences/browser/tocTree.ts b/src/vs/workbench/contrib/preferences/browser/tocTree.ts index edb880108f3..b0684155e12 100644 --- a/src/vs/workbench/contrib/preferences/browser/tocTree.ts +++ b/src/vs/workbench/contrib/preferences/browser/tocTree.ts @@ -15,7 +15,7 @@ import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding'; import { IListService, IWorkbenchObjectTreeOptions, WorkbenchObjectTree } from 'vs/platform/list/browser/listService'; -import { editorBackground, focusBorder, foreground, transparent } from 'vs/platform/theme/common/colorRegistry'; +import { editorBackground, focusBorder, foreground, iconForeground, transparent } from 'vs/platform/theme/common/colorRegistry'; import { attachStyler } from 'vs/platform/theme/common/styler'; import { IThemeService } from 'vs/platform/theme/common/themeService'; import { SettingsTreeFilter } from 'vs/workbench/contrib/preferences/browser/settingsTree'; @@ -244,6 +244,7 @@ export class TOCTree extends WorkbenchObjectTree { listFocusOutline: focusBorder, listActiveSelectionBackground: editorBackground, listActiveSelectionForeground: settingsHeaderForeground, + listActiveSelectionIconForeground: iconForeground, listFocusAndSelectionBackground: editorBackground, listFocusAndSelectionForeground: settingsHeaderForeground, listFocusBackground: editorBackground,