file_icons: Add separate icon key for Bicep files (#24757)

This PR adds support for bicep file icon:

Release Notes:

- Icon themes: Added the ability to change the file icon for Bicep
(`.bicep`) files.
This commit is contained in:
Michal Vrbata 2025-02-13 01:36:27 +01:00 committed by GitHub
parent 0a681225b6
commit 7ba1492f0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@
"bash_logout": "terminal", "bash_logout": "terminal",
"bash_profile": "terminal", "bash_profile": "terminal",
"bashrc": "terminal", "bashrc": "terminal",
"bicep": "bicep",
"bmp": "image", "bmp": "image",
"c": "c", "c": "c",
"c++": "cpp", "c++": "cpp",

View file

@ -61,6 +61,7 @@ pub struct IconDefinition {
const FILE_ICONS: &[(&str, &str)] = &[ const FILE_ICONS: &[(&str, &str)] = &[
("astro", "icons/file_icons/astro.svg"), ("astro", "icons/file_icons/astro.svg"),
("audio", "icons/file_icons/audio.svg"), ("audio", "icons/file_icons/audio.svg"),
("bicep", "icons/file_icons/file.svg"),
("bun", "icons/file_icons/bun.svg"), ("bun", "icons/file_icons/bun.svg"),
("c", "icons/file_icons/c.svg"), ("c", "icons/file_icons/c.svg"),
("code", "icons/file_icons/code.svg"), ("code", "icons/file_icons/code.svg"),