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 <daniloleal09@gmail.com>
This commit is contained in:
Nils Koch 2024-12-06 12:17:24 +00:00 committed by GitHub
parent 7e40addb5f
commit 4b16b73f80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -268,7 +268,7 @@ fn get_item_color(cx: &ViewContext<ProjectPanel>) -> ItemColors {
let colors = cx.theme().colors(); let colors = cx.theme().colors();
ItemColors { ItemColors {
default: colors.surface_background, default: colors.panel_background,
hover: colors.ghost_element_hover, hover: colors.ghost_element_hover,
drag_over: colors.drop_target_background, drag_over: colors.drop_target_background,
marked_active: colors.ghost_element_selected, marked_active: colors.ghost_element_selected,