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

Before After
Before After

View file

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

View file

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Before After
Before After