Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix invisible chat icons (#10406)
Bennet Bo Fenner78d6beee8020
diff --git a/assets/icons/pencil.svg b/assets/icons/pencil.svgindex 76c5ceb347d..d90dcda10dd 100644--- a/assets/icons/pencil.svg+++ b/assets/icons/pencil.svg@@ -1,4 +1,3 @@-<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->-<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M18 10L21 7L17 3L14 6M18 10L8 20H4V16L14 6M18 10L14 6" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>-</svg>\ No newline at end of file+<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="m12 6.668 2-2L11.332 2l-2 2M12 6.668l-6.668 6.664H2.668v-2.664L9.332 4M12 6.668 9.332 4" stroke="black" stroke-width="1" stroke-linejoin="round"/>+</svg>diff --git a/assets/icons/reply_arrow_left.svg b/assets/icons/reply_arrow_left.svgdeleted file mode 100644index 78e7133319e..00000000000--- a/assets/icons/reply_arrow_left.svg+++ /dev/null@@ -1,4 +0,0 @@-<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->-<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M20 17V15.8C20 14.1198 20 13.2798 19.673 12.638C19.3854 12.0735 18.9265 11.6146 18.362 11.327C17.7202 11 16.8802 11 15.2 11H4M4 11L8 7M4 11L8 15" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>-</svg>\ No newline at end of filediff --git a/assets/icons/reply_arrow_right.svg b/assets/icons/reply_arrow_right.svgindex 66d4a1bc0ae..d8321e8b3eb 100644--- a/assets/icons/reply_arrow_right.svg+++ b/assets/icons/reply_arrow_right.svg@@ -1,56 +1,3 @@-<?xml version="1.0" encoding="UTF-8" standalone="no"?>-<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->--<svg- width="800px"- height="800px"- viewBox="0 0 24 24"- fill="none"- version="1.1"- id="svg1"- sodipodi:docname="reply-svgrepo-com.svg"- inkscape:version="1.3.2 (091e20e, 2023-11-25)"- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"- xmlns="http://www.w3.org/2000/svg"- xmlns:svg="http://www.w3.org/2000/svg">- <defs- id="defs1" />- <sodipodi:namedview- id="namedview1"- pagecolor="#505050"- bordercolor="#ffffff"- borderopacity="1"- inkscape:showpageshadow="0"- inkscape:pageopacity="0"- inkscape:pagecheckerboard="1"- inkscape:deskcolor="#505050"- showgrid="false"- inkscape:zoom="0.39996789"- inkscape:cx="435.03492"- inkscape:cy="417.53351"- inkscape:window-width="1440"- inkscape:window-height="847"- inkscape:window-x="0"- inkscape:window-y="25"- inkscape:window-maximized="1"- inkscape:current-layer="svg1" />- <g- id="SVGRepo_bgCarrier"- stroke-width="0" />- <g- id="SVGRepo_tracerCarrier"- stroke-linecap="round"- stroke-linejoin="round" />- <g- id="SVGRepo_iconCarrier"- transform="matrix(-1,0,0,1,24.001548,0)">- <path- d="M 20,17 V 15.8 C 20,14.1198 20,13.2798 19.673,12.638 19.3854,12.0735 18.9265,11.6146 18.362,11.327 17.7202,11 16.8802,11 15.2,11 H 4 m 0,0 4,-4 m -4,4 4,4"- stroke="#000000"- stroke-width="2"- stroke-linecap="round"- stroke-linejoin="round"- id="path1" />- </g>+<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M2.668 11.332v-.797c0-1.12 0-1.683.219-2.11.191-.374.496-.683.87-.874.43-.219.99-.219 2.11-.219h7.469m0 0-2.668-2.664m2.668 2.664L10.668 10" stroke="black" stroke-width="1.33334" stroke-linecap="round"/></svg>diff --git a/crates/ui/src/components/icon.rs b/crates/ui/src/components/icon.rsindex 63a440253f0..9236e3c9fb6 100644--- a/crates/ui/src/components/icon.rs+++ b/crates/ui/src/components/icon.rs@@ -103,7 +103,6 @@ pub enum IconName {ReplaceNext,Return,ReplyArrowRight,- ReplyArrowLeft,Settings,Screen,SelectAll,@@ -200,7 +199,6 @@ impl IconName {IconName::ReplaceNext => "icons/replace_next.svg",IconName::Return => "icons/return.svg",IconName::ReplyArrowRight => "icons/reply_arrow_right.svg",- IconName::ReplyArrowLeft => "icons/reply_arrow_left.svg",IconName::Settings => "icons/file_icons/settings.svg",IconName::Screen => "icons/desktop.svg",IconName::SelectAll => "icons/select_all.svg",