From 4b16b73f8003be8d26d3452f8008930b936154da Mon Sep 17 00:00:00 2001 From: Nils Koch Date: Fri, 6 Dec 2024 12:17:24 +0000 Subject: [PATCH] Fix panel.background color override (#21559) Closes #21266 Release Notes: - Fixes not using the `panel.background` color in the file tree See comments in https://github.com/zed-industries/zed/issues/21266 for more details. Co-authored-by: Danilo Leal --- crates/project_panel/src/project_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index ca6f89f69a..12c90e2195 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -268,7 +268,7 @@ fn get_item_color(cx: &ViewContext) -> ItemColors { let colors = cx.theme().colors(); ItemColors { - default: colors.surface_background, + default: colors.panel_background, hover: colors.ghost_element_hover, drag_over: colors.drop_target_background, marked_active: colors.ghost_element_selected,