Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add icon for Vyper files (#28307)
Kainoa Kanter6d7fef6fd35a
diff --git a/assets/icons/file_icons/vyper.svg b/assets/icons/file_icons/vyper.svgnew file mode 100644index 00000000000..73fb85deffe--- /dev/null+++ b/assets/icons/file_icons/vyper.svg@@ -0,0 +1 @@+<svg width="16" height="16" fill="none" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g style="fill:#000;fill-opacity:1" fill="#180c25"><path d="m-116.1-101.4-28.9-28.9a6.7 6.7 0 0 1-1.8-4.7v-41.2c0-2.4-2.4-4.8-4.8-4.8h-9.6a5.2 5.2 0 0 0-4.8 4.8v48c0 2.5 1 5 2.7 6.8l33.6 33.6a9.6 9.6 0 0 0 6.8 2.8h4.8c2.7 0 4.8-2.2 4.8-4.8v-4.8c0-2.5-1-5-2.8-6.8zM-79.6-176.2c0-2.4-2.4-4.8-4.8-4.8h-9.7a5.2 5.2 0 0 0-4.7 4.8v41.2c0 1.8-.8 3.5-2 4.7l-9.6 9.7a9.5 9.5 0 0 0-2.8 6.8v4.8c0 2.6 2.1 4.7 4.8 4.7h4.8c2.4 0 4.9-.9 6.7-2.8l14.4-14.3a9.6 9.6 0 0 0 2.8-6.8v-48z" style="fill:#000;fill-opacity:1;stroke-width:.255894" transform="translate(21.6 22.7) scale(.11067)"/></g></svg>\ No newline at end of filediff --git a/crates/theme/src/icon_theme.rs b/crates/theme/src/icon_theme.rsindex 725fc3409c2..f68f9933616 100644--- a/crates/theme/src/icon_theme.rs+++ b/crates/theme/src/icon_theme.rs@@ -264,6 +264,7 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[("vs_sln", &["sln"]),("vs_suo", &["suo"]),("vue", &["vue"]),+ ("vyper", &["vy", "vyi"]),("wgsl", &["wgsl"]),("zig", &["zig"]),];@@ -349,6 +350,7 @@ const FILE_ICONS: &[(&str, &str)] = &[("vs_sln", "icons/file_icons/file.svg"),("vs_suo", "icons/file_icons/file.svg"),("vue", "icons/file_icons/vue.svg"),+ ("vyper", "icons/file_icons/vyper.svg"),("wgsl", "icons/file_icons/wgsl.svg"),("zig", "icons/file_icons/zig.svg"),];