zed/assets/icons
Marshall Bowers 88e42cc7aa
Refactor file icons to use IconTheme (#23153)
This PR adds the initial concept of an `IconTheme` and refactors
`FileIcons` to use it to resolve the icons.

The `IconTheme` will ultimately be used to allow users to select a
different set of icons to use. Currently, however, this is just laying
the foundation for that work.

The association between file types and icons is now handled by the icon
theme when we resolve file icons. This mapping has been moved out of
`file_types.json` and into `icon_theme.rs`.

Release Notes:

- N/A
2025-01-14 22:49:36 +00:00
..
file_icons Refactor file icons to use IconTheme (#23153) 2025-01-14 22:49:36 +00:00
knockouts Show error and warning indicators in project panel items (#18182) 2024-11-12 18:58:59 -03:00
ai.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
ai_anthropic.svg Update provider logos (#16115) 2024-08-12 09:55:00 -04:00
ai_anthropic_hosted.svg Make providers more clear in model selector (#16480) 2024-08-19 13:38:19 -04:00
ai_google.svg Update provider logos (#16115) 2024-08-12 09:55:00 -04:00
ai_lm_studio.svg Add LM Studio support to the Assistant (#23097) 2025-01-14 20:41:58 +00:00
ai_ollama.svg Update provider logos (#16115) 2024-08-12 09:55:00 -04:00
ai_open_ai.svg Update model selector (#15665) 2024-08-01 21:57:51 -04:00
ai_zed.svg Update model selector (#15665) 2024-08-01 21:57:51 -04:00
arrow_circle.svg Always show checking with icon if checks are still running 2024-01-08 11:55:51 -05:00
arrow_down.svg kb 2023-11-20 10:46:23 -05:00
arrow_down_from_line.svg Improve context expansion (#10957) 2024-05-26 16:30:09 -07:00
arrow_left.svg kb 2023-11-20 10:46:23 -05:00
arrow_right.svg kb 2023-11-20 10:46:23 -05:00
arrow_up.svg kb 2023-11-20 10:46:23 -05:00
arrow_up_from_line.svg Improve context expansion (#10957) 2024-05-26 16:30:09 -07:00
arrow_up_right.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
at_sign.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
audio_off.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
audio_on.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
backspace.svg ui: Add Backspace/Delete icons and use them for keybindings. 2024-01-02 16:41:56 +01:00
bell.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_dot.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_off.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_ring.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
blocks.svg Add "Book Onboarding" action across the app (#20503) 2024-11-12 18:41:20 -03:00
bolt.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
book.svg Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
book_copy.svg Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
book_plus.svg Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
caret_down.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
caret_up.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
case_sensitive.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
check.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
check_circle.svg Align diagnostic icons with other statusbar icons 2023-08-30 11:14:50 -04:00
chevron_down.svg Add new icons 2023-08-14 15:50:42 -04:00
chevron_down_small.svg Add REPL dropdown menu to toolbar (#14493) 2024-07-15 11:55:49 -07:00
chevron_left.svg Add new icons 2023-08-14 15:50:42 -04:00
chevron_right.svg Add new icons 2023-08-14 15:50:42 -04:00
chevron_up.svg Add new icons 2023-08-14 15:50:42 -04:00
chevron_up_down.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
circle_check.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
close.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
code.svg Iterate on Assistant 2 composer UI (#11306) 2024-05-02 13:01:21 -04:00
command.svg kb 2023-11-20 10:46:23 -05:00
context.svg Overhaul inline assistant (#12846) 2024-06-11 12:39:45 +02:00
control.svg kb 2023-11-20 10:46:23 -05:00
copilot.svg Add new icons 2023-08-14 15:50:42 -04:00
copilot_disabled.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
copilot_error.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
copilot_init.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
copy.svg Improve LSP notification design (#22828) 2025-01-08 14:46:40 +00:00
countdown_timer.svg Introduce recent files ambient context for assistant (#11791) 2024-05-14 13:48:36 +02:00
cursor_i_beam.svg Expose "Column Git Blame" in the editor controls menu (#21336) 2024-11-29 12:38:12 -03:00
dash.svg Add checkboxes and their stories 2023-11-05 01:06:41 -05:00
database_zap.svg Simplify logic & add UI affordances to show model cache status (#16395) 2024-08-19 12:06:14 -07:00
delete.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
diff.svg Restructure assistant edits to show all changes in a proposed-change editor (#18240) 2024-10-17 13:18:13 -04:00
disconnected.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
download.svg Update assistant config UI (#15630) 2024-08-01 13:30:35 -04:00
ellipsis.svg Update modal icon styles 2023-08-16 13:48:12 -04:00
ellipsis_vertical.svg assistant: Add action footer and refine slash command popover (#16360) 2024-08-16 16:07:42 -03:00
envelope.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
eraser.svg assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00
escape.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
exit.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
expand_vertical.svg Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
external_link.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
eye.svg Add Markdown Preview Toggle (#15215) 2024-07-26 11:08:42 -04:00
file.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
file_code.svg Add Markdown Preview Toggle (#15215) 2024-07-26 11:08:42 -04:00
file_diff.svg zeta: Improve reviewing UI (#21838) 2024-12-11 02:19:57 -03:00
file_doc.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
file_generic.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
file_git.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
file_lock.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
file_rust.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
file_search.svg Improve project search design details (#22529) 2025-01-01 00:09:36 +00:00
file_text.svg Add Markdown Preview Toggle (#15215) 2024-07-26 11:08:42 -04:00
file_toml.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
file_tree.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
filter.svg Add toolbar spacing and alignment improvements (#22771) 2025-01-07 16:07:25 +00:00
folder.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
folder_open.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
folder_x.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
font.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
font_size.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
font_weight.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
generic_close.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
generic_maximize.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
generic_minimize.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
generic_restore.svg Update Platform Controls (#13751) 2024-07-02 16:15:59 -04:00
git_branch.svg Add placeholder git panel (#21894) 2024-12-11 22:13:52 -05:00
github.svg Add github icon 2023-12-18 12:56:57 -05:00
globe.svg Make fetch slash command visible in the command selector (#21302) 2024-11-28 18:26:59 -03:00
hash.svg Use new icons in channel panel 2023-08-14 15:57:31 -04:00
history_rerun.svg Add stray visual refinements (#22125) 2024-12-17 09:40:16 -03:00
indicator.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
info.svg Enhance the Vim Mode toggle discoverability (#21589) 2024-12-09 09:28:40 -03:00
inlay_hint.svg Update inlay_hint icon 2023-08-16 23:38:11 +03:00
keyboard.svg Add "Book Onboarding" action across the app (#20503) 2024-11-12 18:41:20 -03:00
library.svg Add prompt library (#11910) 2024-05-16 16:55:54 -04:00
LICENSES Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
line_height.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
link.svg Add link & public icons 2023-10-17 13:34:51 -04:00
list_tree.svg Introduce an outline panel (#12637) 2024-06-12 23:22:52 +03:00
list_x.svg Initial Notebook UI structure (#19756) 2024-10-29 11:30:07 -07:00
logo_96.svg Add missing logo_96 icon, fix a few incorrect paths 2023-09-15 14:21:33 -04:00
magnifying_glass.svg Add toolbar spacing and alignment improvements (#22771) 2025-01-07 16:07:25 +00:00
mail_open.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
maximize.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
menu.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
message_bubbles.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
message_circle.svg assistant2: Add stray visual adjustments (#22111) 2024-12-16 19:23:42 -03:00
mic.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
mic_mute.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
microscope.svg assistant: Add debug inspector (#16105) 2024-08-12 17:05:54 +02:00
minimize.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
option.svg kb 2023-11-20 10:46:23 -05:00
page_down.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
page_up.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
panel_left.svg Add placeholder git panel (#21894) 2024-12-11 22:13:52 -05:00
panel_right.svg Add placeholder git panel (#21894) 2024-12-11 22:13:52 -05:00
pencil.svg Fix invisible chat icons (#10406) 2024-04-11 18:36:58 +02:00
person.svg assistant2: Add stray visual adjustments (#22111) 2024-12-16 19:23:42 -03:00
person_circle.svg assistant2: Revise thread visual design (#23083) 2025-01-14 22:29:39 +00:00
phone_incoming.svg Add "Book Onboarding" action across the app (#20503) 2024-11-12 18:41:20 -03:00
pin.svg Add new pin and unpin icons (#17445) 2024-09-05 16:00:32 -03:00
play.svg assistant: Allow accepting terminal inline assist suggestion without executing command (#17299) 2024-09-04 10:54:32 +02:00
plus.svg Add stray visual refinements (#22125) 2024-12-17 09:40:16 -03:00
pocket_knife.svg assistant: Insert creases for tool uses (#17330) 2024-09-03 17:52:52 -04:00
public.svg update sidebar for public channels 2023-10-17 13:30:09 -06:00
pull_request.svg Add pull requests to git blame tooltip (#10784) 2024-04-19 18:54:20 +02:00
quote.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
refresh_title.svg assistant: Adjust the toolbar design (#20101) 2024-11-05 09:07:26 -03:00
regex.svg Make BufferSearch less wide (#10459) 2024-04-11 23:07:29 -06:00
repl_neutral.svg Add REPL dropdown menu to toolbar (#14493) 2024-07-15 11:55:49 -07:00
repl_off.svg Stick REPL icon in quick action bar (#14064) 2024-07-10 09:20:52 -07:00
repl_pause.svg Stick REPL icon in quick action bar (#14064) 2024-07-10 09:20:52 -07:00
repl_play.svg Stick REPL icon in quick action bar (#14064) 2024-07-10 09:20:52 -07:00
replace.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
replace_all.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
replace_next.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
reply_arrow_right.svg Fix invisible chat icons (#10406) 2024-04-11 18:36:58 +02:00
rerun.svg task: Add re-run task button to terminal title (#12379) 2024-05-29 11:40:43 +02:00
return.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
reveal.svg Allow saving prompts from the Prompt Manager (#12359) 2024-05-27 13:48:21 -04:00
rotate_ccw.svg Add more menus to Zed (#12940) 2024-06-18 12:16:54 -07:00
rotate_cw.svg Show restart transformation button after successful inline assist (#20439) 2024-12-13 20:31:54 -08:00
route.svg Introduce a new /workflow command (#15854) 2024-08-06 16:18:07 +02:00
save.svg Allow saving prompts from the Prompt Manager (#12359) 2024-05-27 13:48:21 -04:00
screen.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
search_code.svg workflow: Add button to open the step view (#16387) 2024-08-17 13:06:34 -03:00
search_selection.svg Search in selections (#10831) 2024-06-05 13:42:51 -06:00
select_all.svg Make BufferSearch less wide (#10459) 2024-04-11 23:07:29 -06:00
server.svg remote projects per user (#10594) 2024-04-23 15:33:09 -06:00
settings.svg Add stray visual refinements (#22125) 2024-12-17 09:40:16 -03:00
settings_alt.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
shift.svg kb 2023-11-20 10:46:23 -05:00
slash.svg assistant: Add action footer and refine slash command popover (#16360) 2024-08-16 16:07:42 -03:00
slash_square.svg assistant: Add action footer and refine slash command popover (#16360) 2024-08-16 16:07:42 -03:00
sliders.svg Add Editor Controls Menu to Tool Bar (#10655) 2024-04-16 18:03:54 -04:00
sliders_alt.svg Refine assistant config UI (#17871) 2024-09-16 08:12:07 -03:00
sliders_vertical.svg Refine assistant config UI (#17871) 2024-09-16 08:12:07 -03:00
snip.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
space.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
sparkle.svg Update prompt library styles (#12689) 2024-06-05 22:10:02 -04:00
sparkle_alt.svg Increase size of icon buttons within the inline editor (#15051) 2024-07-24 10:39:05 -03:00
sparkle_filled.svg Update prompt library styles (#12689) 2024-06-05 22:10:02 -04:00
speaker_loud.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
spinner.svg Iterate on Assistant 2 composer UI (#11306) 2024-05-02 13:01:21 -04:00
split.svg Add new icons 2023-08-14 15:50:42 -04:00
square_dot.svg Add placeholder git panel (#21894) 2024-12-11 22:13:52 -05:00
square_minus.svg Add placeholder git panel (#21894) 2024-12-11 22:13:52 -05:00
square_plus.svg Add placeholder git panel (#21894) 2024-12-11 22:13:52 -05:00
star.svg Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00
star_filled.svg Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00
stop.svg Increase size of icon buttons within the inline editor (#15051) 2024-07-24 10:39:05 -03:00
strikethrough.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
supermaven.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_disabled.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_error.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_init.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
swatch_book.svg Add "Book Onboarding" action across the app (#20503) 2024-11-12 18:41:20 -03:00
tab.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
terminal.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
text_snippet.svg Fix incorrect icons (#17856) 2024-09-16 00:24:18 -04:00
thumbs_down.svg zeta: Improve reviewing UI (#21838) 2024-12-11 02:19:57 -03:00
thumbs_up.svg zeta: Improve reviewing UI (#21838) 2024-12-11 02:19:57 -03:00
trash.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
trash_alt.svg ssh: Overhaul remoting UI (#18727) 2024-10-07 15:01:50 +02:00
triangle.svg Refine diagnostic icons in tabs (#21637) 2024-12-06 09:17:48 -03:00
triangle_right.svg Rework context insertion UX (#12360) 2024-05-27 17:44:54 -06:00
undo.svg assistant: Polish /workflow and steps UI (#15936) 2024-08-08 15:46:33 +02:00
unpin.svg Add new pin and unpin icons (#17445) 2024-09-05 16:00:32 -03:00
update.svg Update indexing icon 2023-10-16 15:53:29 -04:00
user_group.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
visible.svg Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
wand.svg Adjust design of the slash command picker (#19973) 2024-10-30 19:42:42 -03:00
warning.svg Update diagnostic status bar tool 2023-11-18 00:54:01 -05:00
whole_word.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
x.svg Refine diagnostic icons in tabs (#21637) 2024-12-06 09:17:48 -03:00
x_circle.svg Derive icon paths (#17816) 2024-09-13 21:12:29 -04:00
zed_assistant.svg Assistant 2 temp icon (#11257) 2024-05-01 12:56:27 -04:00
zed_assistant_2.svg assistant2: Add temporary icon for the status bar item (#22156) 2024-12-17 16:57:47 -05:00
zed_assistant_filled.svg Polish prompt library UX (#12647) 2024-06-04 18:36:54 +02:00
zed_predict.svg zeta: Refine visuals for the completion popover (#22142) 2024-12-17 15:45:58 -03:00
zed_x_copilot.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00