From 305c653c62eacf3895a8c816df4726fee4508a1c Mon Sep 17 00:00:00 2001 From: Tongue_chaude <145228731+Tonguechaude@users.noreply.github.com> Date: Thu, 7 Aug 2025 15:51:29 +0200 Subject: [PATCH] Add icons for Puppet files (#35778) Release Notes: - Added icon for Puppet (.pp) files Actually puppet icons are available in the extension here : --------- Co-authored-by: Danilo Leal --- assets/icons/file_icons/puppet.svg | 1 + crates/theme/src/icon_theme.rs | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 assets/icons/file_icons/puppet.svg diff --git a/assets/icons/file_icons/puppet.svg b/assets/icons/file_icons/puppet.svg new file mode 100644 index 0000000000..cdf903bc62 --- /dev/null +++ b/assets/icons/file_icons/puppet.svg @@ -0,0 +1 @@ + diff --git a/crates/theme/src/icon_theme.rs b/crates/theme/src/icon_theme.rs index 10fd1e002d..5bd69c1733 100644 --- a/crates/theme/src/icon_theme.rs +++ b/crates/theme/src/icon_theme.rs @@ -183,6 +183,7 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[ ], ), ("prisma", &["prisma"]), + ("puppet", &["pp"]), ("python", &["py"]), ("r", &["r", "R"]), ("react", &["cjsx", "ctsx", "jsx", "mjsx", "mtsx", "tsx"]), @@ -331,6 +332,7 @@ const FILE_ICONS: &[(&str, &str)] = &[ ("php", "icons/file_icons/php.svg"), ("prettier", "icons/file_icons/prettier.svg"), ("prisma", "icons/file_icons/prisma.svg"), + ("puppet", "icons/file_icons/puppet.svg"), ("python", "icons/file_icons/python.svg"), ("r", "icons/file_icons/r.svg"), ("react", "icons/file_icons/react.svg"),