Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add YAML file type icon (#7185)

thuraina853a8063414
diff --git a/assets/icons/file_icons/file_types.json b/assets/icons/file_icons/file_types.json
index ce6c257fe68..993dfe53b09 100644
--- a/assets/icons/file_icons/file_types.json
+++ b/assets/icons/file_icons/file_types.json
@@ -109,8 +109,8 @@
"xls": "document",
"xlsx": "document",
"xml": "template",
- "yaml": "settings",
- "yml": "settings",
+ "yaml": "yaml",
+ "yml": "yaml",
"zlogin": "terminal",
"zsh": "terminal",
"zsh_aliases": "terminal",
@@ -174,6 +174,9 @@
"php": {
"icon": "icons/file_icons/php.svg"
},
+ "yaml": {
+ "icon": "icons/file_icons/yaml.svg"
+ },
"prettier": {
"icon": "icons/file_icons/prettier.svg"
},
diff --git a/assets/icons/file_icons/yaml.svg b/assets/icons/file_icons/yaml.svg
new file mode 100644
index 00000000000..eb5987878b7
--- /dev/null
+++ b/assets/icons/file_icons/yaml.svg
@@ -0,0 +1 @@
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="457px" height="512px"><polygon points="342.0159302,0 457,0 114.9831009,512 0,512 171.0082092,256 0,0 114.9831009,0 228.4997559,169.9342041 "/></svg>
\ No newline at end of file