Update case insensitive button.

Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
Piotr Osiewicz 2023-08-01 17:56:09 +02:00
parent c28ba3a11a
commit 444b98e32f
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.4709 3.20508H4.93149L7.12236 10.845H6.16736L5.6056 8.91259H2.78555L2.23503 10.845H1.28003L3.4709 3.20508ZM5.39213 8.06994L4.24614 4.02525H4.15625L3.01026 8.06994H5.39213Z" fill="#787D87"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.35784 3.05518H5.04448L7.32138 10.9951H6.05472L5.49296 9.06268H2.89875L2.34823 10.9951H1.08093L3.35784 3.05518ZM4.20116 4.41699L3.20863 7.92004H5.19369L4.20116 4.41699Z" fill="#787D87"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.4975 10.9438L8.49609 10.9432C8.20508 10.8234 7.99166 10.6191 7.86255 10.3351L7.86098 10.3316C7.74392 10.0557 7.6908 9.67788 7.6908 9.21005C7.6908 8.65667 7.77083 8.20984 7.94582 7.88443C8.1248 7.54397 8.42224 7.31016 8.82241 7.1793C9.22212 7.04357 9.77239 6.97937 10.4643 6.97937H11.3772V6.84666C11.3772 6.53969 11.3365 6.32055 11.2675 6.17636L11.2652 6.17149C11.2077 6.03922 11.1049 5.94118 10.9419 5.87847L10.94 5.87776C10.7778 5.81287 10.5289 5.77539 10.1816 5.77539C9.95737 5.77539 9.77439 5.79016 9.63042 5.81791C9.48485 5.84598 9.38922 5.88545 9.33122 5.92763L9.32754 5.93031C9.22049 6.0033 9.13578 6.16509 9.12145 6.48031L9.11494 6.6235H7.87172V6.4735C7.87172 6.02589 7.93661 5.66143 8.08196 5.39583C8.23175 5.11446 8.48504 4.92321 8.82292 4.81573C9.15486 4.70271 9.61078 4.6499 10.1816 4.6499C10.7761 4.6499 11.2496 4.71038 11.5914 4.84045C11.9496 4.97388 12.2081 5.20785 12.3539 5.54138C12.5023 5.86377 12.5706 6.30295 12.5706 6.84666V10.9997H11.4112V10.4611C11.2513 10.6621 11.0716 10.8155 10.8706 10.916L10.869 10.9169C10.5892 11.0525 10.1847 11.1128 9.67271 11.1128C9.18259 11.1128 8.78726 11.0597 8.4975 10.9438ZM9.40351 8.21024C9.23119 8.26768 9.11722 8.36178 9.04735 8.48921C8.98126 8.61612 8.94067 8.81724 8.94067 9.10828C8.94067 9.48872 9.01914 9.69945 9.12729 9.79857C9.24203 9.89568 9.48637 9.9647 9.91017 9.9647C10.3198 9.9647 10.6134 9.90206 10.8071 9.79287C10.9943 9.67994 11.1366 9.49171 11.2259 9.20995C11.3087 8.94879 11.3567 8.57554 11.3647 8.08358L10.2403 8.09354C9.87049 8.10098 9.59533 8.14177 9.40653 8.2092L9.40351 8.21024Z" fill="#787D87"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1405,7 +1405,7 @@ impl View for ProjectSearchBar {
let case_sensitive = if is_semantic_disabled {
Some(self.render_option_button_icon(
"icons/word_search_12.svg",
"icons/case_insensitive_14.svg",
SearchOptions::CASE_SENSITIVE,
cx,
))