Add icon for Cairo files (#33268)
Discussion: https://github.com/zed-industries/zed/discussions/33270 Release Notes: - Add file icon for the Cairo programming language. --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
parent
95f10fd187
commit
371b7355d3
2 changed files with 5 additions and 0 deletions
3
assets/icons/file_icons/cairo.svg
Normal file
3
assets/icons/file_icons/cairo.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.51298 2C5.19374 2 2.5 4.6945 2.5 8.01298C2.5 9.41828 2.99491 10.7205 3.80143 11.7485C4.45214 10.8243 5.15479 9.95214 6.03997 9.23651C6.06594 9.21054 6.13086 9.17159 6.20876 9.11965C6.57307 8.84623 6.8335 8.44297 6.89842 7.98702V7.97403C7.11991 6.50306 7.71869 5.99593 9.3974 5.99593C9.54099 5.99593 9.70978 5.99593 9.86558 6.00891C10.7248 6.04786 11.2189 6.29532 11.2709 6.42515C11.3098 6.49007 11.2968 6.56874 11.2839 6.64664L11.2189 6.63366C10.6851 6.56874 9.87856 6.72454 9.76171 7.31034C9.69679 7.63569 9.77469 8 9.80066 8.32536C9.83961 8.6637 9.86558 9.01502 9.86558 9.35336C9.86558 9.37933 9.83961 9.50916 9.86558 9.52215C8.95443 8.64995 6.84572 9.74364 6.18203 10.2248C6.24695 10.1988 6.31263 10.1729 6.39053 10.1469C7.02826 9.92541 8.94145 9.35336 9.68304 9.99109C10.3078 10.7587 9.74796 12.1777 9.27979 12.8803C9.00636 13.2966 8.66802 13.6739 8.29073 14H8.51222C11.8315 14 14.5252 11.3055 14.5252 7.98702C14.5252 4.66853 11.8452 2 8.51298 2ZM9.20265 5.25356C8.55193 5.25356 8.01808 4.7197 8.01808 4.06899C8.01808 3.41828 8.55193 2.88442 9.20265 2.88442C9.85336 2.88442 10.3872 3.41828 10.3872 4.06899C10.3872 4.7197 9.86634 5.25356 9.20265 5.25356Z" fill="black"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
|
@ -81,6 +81,7 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[
|
|||
("bicep", &["bicep"]),
|
||||
("bun", &["lockb"]),
|
||||
("c", &["c", "h"]),
|
||||
("cairo", &["cairo"]),
|
||||
("code", &["handlebars", "metadata", "rkt", "scm"]),
|
||||
("coffeescript", &["coffee"]),
|
||||
(
|
||||
|
@ -279,6 +280,7 @@ const FILE_ICONS: &[(&str, &str)] = &[
|
|||
("bicep", "icons/file_icons/file.svg"),
|
||||
("bun", "icons/file_icons/bun.svg"),
|
||||
("c", "icons/file_icons/c.svg"),
|
||||
("cairo", "icons/file_icons/cairo.svg"),
|
||||
("code", "icons/file_icons/code.svg"),
|
||||
("coffeescript", "icons/file_icons/coffeescript.svg"),
|
||||
("cpp", "icons/file_icons/cpp.svg"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue