Skip to content

Commit

Permalink
Icons for js, c, cc, h, jsx, and tsx file types (#11116)
Browse files Browse the repository at this point in the history
Release Notes:
Add Icons for react (jsx/tsx), C, and C++ files

![CleanShot 2024-04-27 at 21 06
26@2x](https://github.com/zed-industries/zed/assets/1648941/3f23c058-e0c1-4aed-bfdd-0a1a9c8d7203)

Release Notes:

- Added icons for JS, React, C, and C++
  • Loading branch information
PixelJanitor committed Apr 28, 2024
1 parent d2569af commit 32e6424
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 6 deletions.
10 changes: 10 additions & 0 deletions assets/icons/file_icons/c++.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/icons/file_icons/c.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 7 additions & 6 deletions assets/icons/file_icons/file_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"bash_profile": "terminal",
"bashrc": "terminal",
"bmp": "image",
"c": "code",
"cc": "code",
"c": "c",
"cc": "c++",
"cjs": "code",
"conf": "settings",
"cpp": "code",
"cpp": "c++",
"css": "css",
"csv": "storage",
"cts": "typescript",
Expand Down Expand Up @@ -58,7 +58,7 @@
"gitmodules": "vcs",
"go": "go",
"graphql": "graphql",
"h": "code",
"h": "c",
"handlebars": "code",
"hbs": "template",
"heex": "elixir",
Expand All @@ -77,7 +77,8 @@
"jp2": "image",
"jpeg": "image",
"jpg": "image",
"js": "code",
"js": "js",
"jsx": "react",
"json": "storage",
"jsonc": "storage",
"jxl": "image",
Expand Down Expand Up @@ -152,7 +153,7 @@
"ts": "typescript",
"tsv": "storage",
"ttf": "font",
"tsx": "code",
"tsx": "react",
"txt": "document",
"tcl": "tcl",
"vue": "vue",
Expand Down
3 changes: 3 additions & 0 deletions assets/icons/file_icons/js.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/icons/file_icons/react.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 32e6424

Please sign in to comment.