file_icons: Use a separate icon key for Svelte files (#24644)
This PR updates the file icon mappings such that Svelte (`.svelte`) files map to the `svelte` key. Release Notes: - Icon themes: Added the ability to change the file icon for Svelte (`.svelte`) files.
This commit is contained in:
parent
c8c4ec21f3
commit
6a40a400bd
2 changed files with 2 additions and 1 deletions
|
@ -186,7 +186,7 @@
|
||||||
"sh": "terminal",
|
"sh": "terminal",
|
||||||
"sql": "storage",
|
"sql": "storage",
|
||||||
"sqlite": "storage",
|
"sqlite": "storage",
|
||||||
"svelte": "template",
|
"svelte": "svelte",
|
||||||
"svg": "image",
|
"svg": "image",
|
||||||
"swift": "swift",
|
"swift": "swift",
|
||||||
"tcl": "tcl",
|
"tcl": "tcl",
|
||||||
|
|
|
@ -112,6 +112,7 @@ const FILE_ICONS: &[(&str, &str)] = &[
|
||||||
("scala", "icons/file_icons/scala.svg"),
|
("scala", "icons/file_icons/scala.svg"),
|
||||||
("settings", "icons/file_icons/settings.svg"),
|
("settings", "icons/file_icons/settings.svg"),
|
||||||
("storage", "icons/file_icons/database.svg"),
|
("storage", "icons/file_icons/database.svg"),
|
||||||
|
("svelte", "icons/file_icons/template.svg"),
|
||||||
("swift", "icons/file_icons/swift.svg"),
|
("swift", "icons/file_icons/swift.svg"),
|
||||||
("tcl", "icons/file_icons/tcl.svg"),
|
("tcl", "icons/file_icons/tcl.svg"),
|
||||||
("template", "icons/file_icons/html.svg"),
|
("template", "icons/file_icons/html.svg"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue