zed/crates/search/src
Petros Amoiridis 81ece4fd44
Deduplicate tab theme related code
We've noticed that the search theme struct had two fields for a tab icon width and spacing. But we already have those in the tab theme struct. We decided to remove the duplicate and reuse the tab fields.

We also wanted to move where the spacing is being used. Instead of doing it at the left of the label, we do it at the right of the icon to match how it is done in other areas of the UI.

Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-02-22 20:28:57 +02:00
..
buffer_search.rs Changed label and text to be generic over static strings and owned strings 2023-02-21 16:47:29 -08:00
project_search.rs Deduplicate tab theme related code 2023-02-22 20:28:57 +02:00
search.rs SearchableItem trait is completed and editor searches appear to be working 2022-08-30 15:37:54 -07:00