From 683243bbcfb3cd31c36516ae14e12e4e0f784f7e Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Tue, 18 May 2021 16:14:19 +0100 Subject: [PATCH] [Dark mode] console/ConsoleSidebar.css R=jacktfranklin@chromium.org Bug: 115273 Change-Id: I6afa755c167880c019da7f0aecf069e0aacee3f8 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2903490 Commit-Queue: Tim van der Lippe Commit-Queue: Jack Franklin Auto-Submit: Tim van der Lippe Reviewed-by: Jack Franklin --- front_end/panels/console/ConsoleSidebar.ts | 2 +- front_end/panels/console/consoleSidebar.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/front_end/panels/console/ConsoleSidebar.ts b/front_end/panels/console/ConsoleSidebar.ts index 84a7ccf0b7..2c05a76bc3 100644 --- a/front_end/panels/console/ConsoleSidebar.ts +++ b/front_end/panels/console/ConsoleSidebar.ts @@ -61,7 +61,7 @@ export class ConsoleSidebar extends UI.Widget.VBox { this.setMinimumSize(125, 0); this._tree = new UI.TreeOutline.TreeOutlineInShadow(); - this._tree.registerRequiredCSS('panels/console/consoleSidebar.css', {enableLegacyPatching: true}); + this._tree.registerRequiredCSS('panels/console/consoleSidebar.css', {enableLegacyPatching: false}); this._tree.addEventListener(UI.TreeOutline.Events.ElementSelected, this._selectionChanged.bind(this)); this.contentElement.appendChild(this._tree.element); this._selectedTreeElement = null; diff --git a/front_end/panels/console/consoleSidebar.css b/front_end/panels/console/consoleSidebar.css index dafe2112d8..1a3423b3b1 100644 --- a/front_end/panels/console/consoleSidebar.css +++ b/front_end/panels/console/consoleSidebar.css @@ -28,14 +28,10 @@ li { } li .largeicon-navigator-file { - background: linear-gradient(45deg, hsl(48deg 70% 50%), hsl(48deg 70% 70%)); /* stylelint-disable-line plugin/use_theme_colors */ - /* See: crbug.com/1152736 for color variable migration. */ margin: 0; } li .largeicon-navigator-folder { - background: linear-gradient(45deg, hsl(210deg 82% 65%), hsl(210deg 82% 80%)); /* stylelint-disable-line plugin/use_theme_colors */ - /* See: crbug.com/1152736 for color variable migration. */ margin: -3px -3px 0 -5px; }