mirror of
https://github.com/Microsoft/vscode
synced 2024-10-29 23:05:19 +00:00
Fix #50404 - revert settings editor style customizations
This commit is contained in:
parent
1e2c13dad2
commit
73bc3cf04c
2 changed files with 1 additions and 20 deletions
|
@ -132,10 +132,6 @@
|
|||
bottom: 10px;
|
||||
}
|
||||
|
||||
.settings-editor > .settings-body > .settings-tree-container .monaco-tree .monaco-tree-row {
|
||||
background-color: initial !important;
|
||||
}
|
||||
|
||||
.settings-editor > .settings-body > .settings-tree-container .setting-item.odd:not(.focused):not(.selected):not(:hover),
|
||||
.settings-editor > .settings-body > .settings-tree-container .monaco-tree:not(:focus) .setting-item.focused.odd:not(.selected):not(:hover),
|
||||
.settings-editor > .settings-body > .settings-tree-container .monaco-tree:not(.focused) .setting-item.focused.odd:not(.selected):not(:hover) {
|
||||
|
|
|
@ -19,7 +19,7 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti
|
|||
import { WorkbenchTree } from 'vs/platform/list/browser/listService';
|
||||
import { ILogService } from 'vs/platform/log/common/log';
|
||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { attachButtonStyler, attachStyler } from 'vs/platform/theme/common/styler';
|
||||
import { attachButtonStyler } from 'vs/platform/theme/common/styler';
|
||||
import { ICssStyleCollector, ITheme, IThemeService, registerThemingParticipant } from 'vs/platform/theme/common/themeService';
|
||||
import { BaseEditor } from 'vs/workbench/browser/parts/editor/baseEditor';
|
||||
import { EditorOptions } from 'vs/workbench/common/editor';
|
||||
|
@ -217,21 +217,6 @@ export class SettingsEditor2 extends BaseEditor {
|
|||
}
|
||||
}));
|
||||
|
||||
attachStyler(this.themeService, {
|
||||
listActiveSelectionBackground: null,
|
||||
listActiveSelectionForeground: null,
|
||||
listFocusAndSelectionBackground: null,
|
||||
listFocusAndSelectionForeground: null,
|
||||
listFocusBackground: null,
|
||||
listFocusForeground: null,
|
||||
listHoverForeground: null,
|
||||
listHoverBackground: null,
|
||||
listInactiveSelectionBackground: null,
|
||||
listInactiveSelectionForeground: null
|
||||
}, colors => {
|
||||
this.settingsTree.style(colors);
|
||||
});
|
||||
|
||||
this.settingsTree.onDidChangeFocus(e => {
|
||||
this.settingsTree.setSelection([e.focus]);
|
||||
if (this.selectedElement) {
|
||||
|
|
Loading…
Reference in a new issue