Skip to content

Commit 9828715

Browse files
tlarevoTharindu AbeydeeraN-R-K
authored
Add Elixir icon (#1437)
* Added icons for erlang, elixir and lockfile * Lockfile icon updated * Added colors for Erlang and elixir * Added few more color variations and configured colors and file extensions * remove erlang and lock, use 1 color for elixir Co-authored-by: Tharindu Abeydeera <[email protected]> Co-authored-by: NRK <[email protected]>
1 parent e2e1d80 commit 9828715

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/icons.h

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
#define ICON_DESKTOP ICON_STR(FA_DESKTOP, "\ufcbe", "🖥️ ")
6666
#define ICON_DOCUMENT ICON_STR(FA_FILE_TEXT_O, "\uf718", "🗒 ")
6767
#define ICON_DOWNLOADS ICON_STR(FA_DOWNLOAD, "\uf5d7", "📥")
68+
#define ICON_ELIXIR ICON_STR(MFIZZ_ELIXIR, "\ue62d", "💧")
6869
#define ICON_ENCRYPT ICON_STR("", "\uf805", "🔒")
6970
#define ICON_FSHARP ICON_STR(DEV_FSHARP, "\ue7a7", "")
7071
#define ICON_GIT ICON_STR(FA_GIT, "\ue5fb", "🌱")
@@ -150,6 +151,7 @@
150151
COLOR_X(COLOR_SCALA, 196) /* Red1 */ \
151152
COLOR_X(COLOR_SHELL, 47) /* SpringGreen2 */ \
152153
COLOR_X(COLOR_VIM, 28) /* Green4 */ \
154+
COLOR_X(COLOR_ELIXIR, 104) /* MediumPurple */ \
153155

154156
/* X-Macro: https://en.wikipedia.org/wiki/X_Macro */
155157
#define COLOR_X(N, V) N = (V),
@@ -248,6 +250,9 @@ static const struct icon_pair icons_ext[] = {
248250
{"elf", ICON_LINUX, 0},
249251
{"epub", ICON_PDF, COLOR_DOCS},
250252
{"exe", ICON_EXEC, 0},
253+
{"ex", ICON_ELIXIR, COLOR_ELIXIR},
254+
{"eex", ICON_ELIXIR, COLOR_ELIXIR},
255+
{"exs", ICON_ELIXIR, COLOR_ELIXIR},
251256

252257
/* F */
253258
{"f#", ICON_FSHARP, COLOR_FSHARP},
@@ -277,6 +282,7 @@ static const struct icon_pair icons_ext[] = {
277282
{"htm", ICON_HTML, 0},
278283
{"html", ICON_HTML, 0},
279284
{"hxx", ICON_CPLUSPLUS, COLOR_C},
285+
{"heex", ICON_ELIXIR, COLOR_ELIXIR},
280286

281287
/* I */
282288
{"ico", ICON_PICTUREFILE, COLOR_IMAGE},

0 commit comments

Comments
 (0)