Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

search: Ensure inputs located in the toolbar match the background color of the toolbar (#30355)

Finn Evers299a0bcbaae8
diff --git a/crates/search/src/buffer_search.rs b/crates/search/src/buffer_search.rs
index 456943d476b..94538cb46fa 100644
--- a/crates/search/src/buffer_search.rs
+++ b/crates/search/src/buffer_search.rs
@@ -143,7 +143,7 @@ impl BufferSearchBar {
};
let mut editor_style = EditorStyle {
- background: cx.theme().colors().editor_background,
+ background: cx.theme().colors().toolbar_background,
local_player: cx.theme().players().local(),
text: text_style,
..EditorStyle::default()
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index 2ef51b91418..b24cb9c9730 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -1760,7 +1760,7 @@ impl ProjectSearchBar {
};
let mut editor_style = EditorStyle {
- background: cx.theme().colors().editor_background,
+ background: cx.theme().colors().toolbar_background,
local_player: cx.theme().players().local(),
text: text_style,
..EditorStyle::default()