zed/assets/icons
Andrey Kuzmin 33d982b08a
Add Elm file icon (#7440)
Tried to match the existing file icons in Zed as much as possible. This
is how it looks:

|  dark  | light  | 
|---|----|
| <img width="183" alt="Screenshot 2024-02-06 at 15 03 57"
src="https://github.com/zed-industries/zed/assets/43472/bd862753-41bb-4ca6-9a44-16b9b1c9591c">
| <img width="180" alt="Screenshot 2024-02-06 at 15 03 14"
src="https://github.com/zed-industries/zed/assets/43472/9df8c589-64b6-49f2-8e15-b43126579a9f">
|

The main challenge is that the tangram is visually quite heavy and
detailed. The existing icons in Zed are designed in a 14px bounding box,
but are a bit smaller themselves. I guess the extra space is reserved
for hanging elements, it probably doesn't make sense to occupy the whole
area.

Simply scaling down an available SVG of the tangram didn't work well.
The individual shapes were not recognizable because the spacing between
them was too thin. I tried removing the spacing and applying different
opacities for each shape, but that didn't yield enough contrast between
the shapes either.

The second approach was to just use the outlines. It sort of worked, but
looked a bit messy in the places when the outlines are denser than the
tangram shapes:

|  dark  | light  | 
|---|----|
| <img width="192" alt="Screenshot 2024-02-05 at 22 55 46"
src="https://github.com/zed-industries/zed/assets/43472/d0029f49-675d-40ac-96d8-788a29706bad">
| <img width="195" alt="Screenshot 2024-02-05 at 22 56 05"
src="https://github.com/zed-industries/zed/assets/43472/d2de922a-70ec-4bd1-9033-db9a5201e9bd">
|

I then tried to remove the main outline and use the maximum space for
the tangram. That let me increase the spacing between the shapes. I also
rounded them a little bit, to make them look similar to other icons from
Zed. The end result looks clean and the shapes are still recognisable.

Approaches I tried next to an existing icon from Zed:

<img width="711" alt="Screenshot 2024-02-06 at 15 15 33"
src="https://github.com/zed-industries/zed/assets/43472/a3e4b0db-4b98-4072-91e8-fe71cff19adf">


Release Notes:

- Added file type icon for Elm
2024-02-06 17:25:38 +02:00
..
file_icons Add Elm file icon (#7440) 2024-02-06 17:25:38 +02:00
ai.svg Update assistant status bar icon 2023-08-15 18:36:30 -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_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_right.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
arrow_up.svg kb 2023-11-20 10:46:23 -05:00
at_sign.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
backspace.svg ui: Add Backspace/Delete icons and use them for keybindings. 2024-01-02 16:41:56 +01:00
bell_dot.svg Rename BellBadged to BellDot (#6820) 2024-01-26 18:48:16 -05:00
bell_off.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
bell_ring.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
bell.svg Allow ListHeader to take a meta 2023-11-01 12:43:25 -04:00
bolt.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -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_insensitive.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
check_circle.svg Align diagnostic icons with other statusbar icons 2023-08-30 11:14:50 -04:00
check.svg Additional status bar styles 2023-08-15 15:32:14 -04:00
chevron_down.svg Add new icons 2023-08-14 15:50:42 -04: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
circle_check.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
command.svg kb 2023-11-20 10:46:23 -05:00
control.svg kb 2023-11-20 10:46:23 -05:00
conversations.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
copilot.svg Add new icons 2023-08-14 15:50:42 -04:00
copy.svg Re-add diagnostic headers 2023-12-01 15:30:01 -05:00
dash.svg Add checkboxes and their stories 2023-11-05 01:06:41 -05:00
delete.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
desktop.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
disconnected.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
download.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
ellipsis.svg Update modal icon styles 2023-08-16 13:48:12 -04:00
error.svg Align diagnostic icons with other statusbar icons 2023-08-30 11:14:50 -04: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
external_link.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
feedback.svg Add new icons 2023-08-14 15:50:42 -04:00
file.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
filter.svg Add new icons 2023-08-14 15:50:42 -04:00
github.svg Add github icon 2023-12-18 12:56:57 -05:00
hash.svg Use new icons in channel panel 2023-08-14 15:57:31 -04:00
inlay_hint.svg Update inlay_hint icon 2023-08-16 23:38:11 +03:00
link.svg Add link & public icons 2023-10-17 13:34:51 -04:00
logo_96.svg Add missing logo_96 icon, fix a few incorrect paths 2023-09-15 14:21:33 -04:00
magic_wand.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
magnifying_glass.svg Add new icons 2023-08-14 15:50:42 -04:00
mail_open.svg Standardize icon naming 2024-01-03 11:45:41 -05: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
mic_mute.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
mic.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04: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
plus.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
project.svg Add new icons 2023-08-14 15:50:42 -04:00
public.svg update sidebar for public channels 2023-10-17 13:30:09 -06:00
quote.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
replace_all.svg Add new icons 2023-08-14 15:50:42 -04:00
replace_next.svg Add new icons 2023-08-14 15:50:42 -04:00
replace.svg Add new icons 2023-08-14 15:50:42 -04:00
return.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
select_all.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
shift.svg kb 2023-11-20 10:46:23 -05: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
speaker_loud.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
speaker_off.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
split.svg Add new icons 2023-08-14 15:50:42 -04:00
stop_sharing.svg WIP 2023-09-15 14:14:28 -04:00
tab.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
terminal.svg Add new icons 2023-08-14 15:50:42 -04:00
update.svg Update indexing icon 2023-10-16 15:53:29 -04:00
user_group_16.svg Restore user_group_16 icon 2023-09-15 11:16:30 -07:00
warning.svg Update diagnostic status bar tool 2023-11-18 00:54:01 -05:00
word_search.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
x.svg Add new icons 2023-08-14 15:50:42 -04:00
zed_x_copilot.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00