From 32e642454329ac4ad469e032ff439afd465b771b Mon Sep 17 00:00:00 2001 From: Derek Briggs Date: Sat, 27 Apr 2024 20:24:54 -0700 Subject: [PATCH] Icons for js, c, cc, h, jsx, and tsx file types (#11116) 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++ --- assets/icons/file_icons/c++.svg | 10 ++++++++++ assets/icons/file_icons/c.svg | 10 ++++++++++ assets/icons/file_icons/file_types.json | 13 +++++++------ assets/icons/file_icons/js.svg | 3 +++ assets/icons/file_icons/react.svg | 4 ++++ 5 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 assets/icons/file_icons/c++.svg create mode 100644 assets/icons/file_icons/c.svg create mode 100644 assets/icons/file_icons/js.svg create mode 100644 assets/icons/file_icons/react.svg diff --git a/assets/icons/file_icons/c++.svg b/assets/icons/file_icons/c++.svg new file mode 100644 index 0000000000..e3385c1577 --- /dev/null +++ b/assets/icons/file_icons/c++.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/icons/file_icons/c.svg b/assets/icons/file_icons/c.svg new file mode 100644 index 0000000000..dab784fef1 --- /dev/null +++ b/assets/icons/file_icons/c.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/icons/file_icons/file_types.json b/assets/icons/file_icons/file_types.json index 0ee203c3c7..2d1ec0fca9 100644 --- a/assets/icons/file_icons/file_types.json +++ b/assets/icons/file_icons/file_types.json @@ -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", @@ -58,7 +58,7 @@ "gitmodules": "vcs", "go": "go", "graphql": "graphql", - "h": "code", + "h": "c", "handlebars": "code", "hbs": "template", "heex": "elixir", @@ -77,7 +77,8 @@ "jp2": "image", "jpeg": "image", "jpg": "image", - "js": "code", + "js": "js", + "jsx": "react", "json": "storage", "jsonc": "storage", "jxl": "image", @@ -152,7 +153,7 @@ "ts": "typescript", "tsv": "storage", "ttf": "font", - "tsx": "code", + "tsx": "react", "txt": "document", "tcl": "tcl", "vue": "vue", diff --git a/assets/icons/file_icons/js.svg b/assets/icons/file_icons/js.svg new file mode 100644 index 0000000000..c2aa1cf340 --- /dev/null +++ b/assets/icons/file_icons/js.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/icons/file_icons/react.svg b/assets/icons/file_icons/react.svg new file mode 100644 index 0000000000..c4c9238584 --- /dev/null +++ b/assets/icons/file_icons/react.svg @@ -0,0 +1,4 @@ + + + +