From 657d7a911deee49aeef449abd6a6674b0d1f8abd Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Mon, 10 Mar 2025 09:44:19 -0300 Subject: [PATCH] Add logo for `wgsl` (WebGPU Shading Language) (#26360) Was dabbling on the shaders these past few days and felt like we could have the WGSL logo. This is based on the logo found on the GPU Web repository: https://github.com/gpuweb/gpuweb/tree/main/logo Release Notes: - N/A --- assets/icons/file_icons/wgsl.svg | 7 +++++++ crates/theme/src/icon_theme.rs | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 assets/icons/file_icons/wgsl.svg diff --git a/assets/icons/file_icons/wgsl.svg b/assets/icons/file_icons/wgsl.svg new file mode 100644 index 00000000000000..cbdd43d2223fab --- /dev/null +++ b/assets/icons/file_icons/wgsl.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/crates/theme/src/icon_theme.rs b/crates/theme/src/icon_theme.rs index 0d7145baafe0b8..637e41a58636db 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"]), + ("wgsl", &["wgsl"]), ("zig", &["zig"]), ]; @@ -348,6 +349,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"), + ("wgsl", "icons/file_icons/wgsl.svg"), ("zig", "icons/file_icons/zig.svg"), ];