Properly register new icons (#11132)

This PR fixes some issues with the icons added in #11116, where they
weren't being registered properly.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-04-28 10:43:10 -04:00 committed by GitHub
parent 32e6424543
commit 8b55494351
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 8 deletions

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -20,10 +20,10 @@
"bashrc": "terminal",
"bmp": "image",
"c": "c",
"cc": "c++",
"cjs": "code",
"cc": "cpp",
"cjs": "javascript",
"conf": "settings",
"cpp": "c++",
"cpp": "cpp",
"css": "css",
"csv": "storage",
"cts": "typescript",
@ -77,7 +77,7 @@
"jp2": "image",
"jpeg": "image",
"jpg": "image",
"js": "js",
"js": "javascript",
"jsx": "react",
"json": "storage",
"jsonc": "storage",
@ -96,7 +96,7 @@
"mdx": "document",
"metadata": "code",
"mkv": "video",
"mjs": "code",
"mjs": "javascript",
"mka": "audio",
"ml": "ocaml",
"mli": "ocaml",
@ -196,6 +196,12 @@
"collapsed_folder": {
"icon": "icons/file_icons/folder.svg"
},
"c": {
"icon": "icons/file_icons/c.svg"
},
"cpp": {
"icon": "icons/file_icons/cpp.svg"
},
"css": {
"icon": "icons/file_icons/css.svg"
},
@ -256,6 +262,9 @@
"java": {
"icon": "icons/file_icons/java.svg"
},
"javascript": {
"icon": "icons/file_icons/javascript.svg"
},
"kotlin": {
"icon": "icons/file_icons/kotlin.svg"
},
@ -292,15 +301,18 @@
"python": {
"icon": "icons/file_icons/python.svg"
},
"r": {
"icon": "icons/file_icons/r.svg"
},
"react": {
"icon": "icons/file_icons/react.svg"
},
"ruby": {
"icon": "icons/file_icons/ruby.svg"
},
"rust": {
"icon": "icons/file_icons/rust.svg"
},
"r": {
"icon": "icons/file_icons/r.svg"
},
"settings": {
"icon": "icons/file_icons/settings.svg"
},

View file

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB