Highlight find matches

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-01-27 15:19:52 -08:00
parent 34ed734749
commit 3abd7bc8dd
3 changed files with 21 additions and 11 deletions

View file

@ -24,6 +24,7 @@ pub struct Theme {
pub project_panel: ProjectPanel,
pub selector: Selector,
pub editor: EditorStyle,
pub find: Find,
pub project_diagnostics: ProjectDiagnostics,
}
@ -87,6 +88,11 @@ pub struct Tab {
pub icon_conflict: Color,
}
#[derive(Clone, Deserialize, Default)]
pub struct Find {
pub match_background: Color,
}
#[derive(Deserialize, Default)]
pub struct Sidebar {
#[serde(flatten)]