From 371b7355d3da9dff79283e1ac98b2455b118ee19 Mon Sep 17 00:00:00 2001 From: okhai <57156589+okhaimie-dev@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:53:55 -0500 Subject: [PATCH] Add icon for Cairo files (#33268) Discussion: https://github.com/zed-industries/zed/discussions/33270 Release Notes: - Add file icon for the Cairo programming language. --------- Co-authored-by: Danilo Leal --- assets/icons/file_icons/cairo.svg | 3 +++ crates/theme/src/icon_theme.rs | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 assets/icons/file_icons/cairo.svg diff --git a/assets/icons/file_icons/cairo.svg b/assets/icons/file_icons/cairo.svg new file mode 100644 index 0000000000..dcf77c6fbf --- /dev/null +++ b/assets/icons/file_icons/cairo.svg @@ -0,0 +1,3 @@ + + + diff --git a/crates/theme/src/icon_theme.rs b/crates/theme/src/icon_theme.rs index 2737170c1e..09f5df06b0 100644 --- a/crates/theme/src/icon_theme.rs +++ b/crates/theme/src/icon_theme.rs @@ -81,6 +81,7 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[ ("bicep", &["bicep"]), ("bun", &["lockb"]), ("c", &["c", "h"]), + ("cairo", &["cairo"]), ("code", &["handlebars", "metadata", "rkt", "scm"]), ("coffeescript", &["coffee"]), ( @@ -279,6 +280,7 @@ const FILE_ICONS: &[(&str, &str)] = &[ ("bicep", "icons/file_icons/file.svg"), ("bun", "icons/file_icons/bun.svg"), ("c", "icons/file_icons/c.svg"), + ("cairo", "icons/file_icons/cairo.svg"), ("code", "icons/file_icons/code.svg"), ("coffeescript", "icons/file_icons/coffeescript.svg"), ("cpp", "icons/file_icons/cpp.svg"),