Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add file icon for Luau (#26293)
Danilo Leal3ff2c8fc3815
diff --git a/assets/icons/file_icons/luau.svg b/assets/icons/file_icons/luau.svgnew file mode 100644index 00000000000..08956e127f2--- /dev/null+++ b/assets/icons/file_icons/luau.svg@@ -0,0 +1,3 @@+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M6.36197 1.67985C5.3748 1.41534 4.36011 2.00117 4.0956 2.98834L2.17985 10.138C1.91534 11.1252 2.50117 12.1399 3.48833 12.4044L10.638 14.3202C11.6252 14.5847 12.6399 13.9988 12.9044 13.0117L14.8202 5.86197C15.0847 4.8748 14.4988 3.86012 13.5117 3.59561L6.36197 1.67985ZM10.0457 4.58266C9.77896 4.51119 9.50479 4.66948 9.43332 4.93621L8.76235 7.44028C8.69088 7.70701 8.84917 7.98118 9.11591 8.05265L11.62 8.72362C11.8867 8.79509 12.1609 8.6368 12.2324 8.37006L12.9033 5.86599C12.9748 5.59926 12.8165 5.32509 12.5498 5.25362L10.0457 4.58266Z" fill="black"/>+</svg>diff --git a/crates/theme/src/icon_theme.rs b/crates/theme/src/icon_theme.rsindex 678d1f27a10..0d7145baafe 100644--- a/crates/theme/src/icon_theme.rs+++ b/crates/theme/src/icon_theme.rs@@ -311,7 +311,7 @@ const FILE_ICONS: &[(&str, &str)] = &[("lock", "icons/file_icons/lock.svg"),("log", "icons/file_icons/info.svg"),("lua", "icons/file_icons/lua.svg"),- ("luau", "icons/file_icons/file.svg"),+ ("luau", "icons/file_icons/luau.svg"),("markdown", "icons/file_icons/book.svg"),("metal", "icons/file_icons/metal.svg"),("nim", "icons/file_icons/nim.svg"),