Skip to main content

tern_sdk/ui/
icon.rs

1//! Icon names: the icons Tern ships ([`Icon`]) apart from the app icons
2//! (`app-vim`, `app-python`, …), which follow Tern's catalog of programs.
3//! Those, names newer than the SDK and aliases go through [`Icon::Other`]:
4//! `Icon::from("app-vim")`.
5
6use super::types::string_enum;
7
8string_enum!(
9	/// A named icon from Tern's icon set.
10	Icon {
11		/// `logo`.
12		Logo = "logo",
13		/// `tern`.
14		Tern = "tern",
15		/// `pi-mark`.
16		PiMark = "pi-mark",
17		/// `arrow-up`.
18		ArrowUp = "arrow-up",
19		/// `arrow-down`.
20		ArrowDown = "arrow-down",
21		/// `arrow-left`.
22		ArrowLeft = "arrow-left",
23		/// `arrow-right`.
24		ArrowRight = "arrow-right",
25		/// `back`.
26		Back = "back",
27		/// `forward`.
28		Forward = "forward",
29		/// `chev`.
30		Chev = "chev",
31		/// `chev-r`.
32		ChevR = "chev-r",
33		/// `chev-up`.
34		ChevUp = "chev-up",
35		/// `corner-down-right`.
36		CornerDownRight = "corner-down-right",
37		/// `expand`.
38		Expand = "expand",
39		/// `shrink`.
40		Shrink = "shrink",
41		/// `minimize`.
42		Minimize = "minimize",
43		/// `fit`.
44		Fit = "fit",
45		/// `zoom-in`.
46		ZoomIn = "zoom-in",
47		/// `zoom-out`.
48		ZoomOut = "zoom-out",
49		/// `more`.
50		More = "more",
51		/// `grip`.
52		Grip = "grip",
53		/// `compass`.
54		Compass = "compass",
55		/// `check`.
56		Check = "check",
57		/// `x`.
58		X = "x",
59		/// `x-circle`.
60		XCircle = "x-circle",
61		/// `warn`.
62		Warn = "warn",
63		/// `info`.
64		Info = "info",
65		/// `help`.
66		Help = "help",
67		/// `bell`.
68		Bell = "bell",
69		/// `shield`.
70		Shield = "shield",
71		/// `shield-alert`.
72		ShieldAlert = "shield-alert",
73		/// `slash`.
74		Slash = "slash",
75		/// `slash-circle`.
76		SlashCircle = "slash-circle",
77		/// `lock`.
78		Lock = "lock",
79		/// `key`.
80		Key = "key",
81		/// `key-round`.
82		KeyRound = "key-round",
83		/// `plus`.
84		Plus = "plus",
85		/// `minus`.
86		Minus = "minus",
87		/// `clock`.
88		Clock = "clock",
89		/// `timer`.
90		Timer = "timer",
91		/// `doc`.
92		Doc = "doc",
93		/// `file`.
94		File = "file",
95		/// `file-code`.
96		FileCode = "file-code",
97		/// `file-image`.
98		FileImage = "file-image",
99		/// `file-pdf`.
100		FilePdf = "file-pdf",
101		/// `file-plus`.
102		FilePlus = "file-plus",
103		/// `files`.
104		Files = "files",
105		/// `folder`.
106		Folder = "folder",
107		/// `folder-go`.
108		FolderGo = "folder-go",
109		/// `folder-minus`.
110		FolderMinus = "folder-minus",
111		/// `folder-open`.
112		FolderOpen = "folder-open",
113		/// `folder-plus`.
114		FolderPlus = "folder-plus",
115		/// `markdown`.
116		Markdown = "markdown",
117		/// `note`.
118		Note = "note",
119		/// `clipboard`.
120		Clipboard = "clipboard",
121		/// `save`.
122		Save = "save",
123		/// `inbox`.
124		Inbox = "inbox",
125		/// `image`.
126		Image = "image",
127		/// `newspaper`.
128		Newspaper = "newspaper",
129		/// `trash`.
130		Trash = "trash",
131		/// `branch`.
132		Branch = "branch",
133		/// `commit`.
134		Commit = "commit",
135		/// `merge`.
136		Merge = "merge",
137		/// `rebase`.
138		Rebase = "rebase",
139		/// `pull`.
140		Pull = "pull",
141		/// `push`.
142		Push = "push",
143		/// `fetch`.
144		Fetch = "fetch",
145		/// `stash`.
146		Stash = "stash",
147		/// `cherry`.
148		Cherry = "cherry",
149		/// `diff`.
150		Diff = "diff",
151		/// `unified`.
152		Unified = "unified",
153		/// `split`.
154		Split = "split",
155		/// `split-down`.
156		SplitDown = "split-down",
157		/// `revert`.
158		Revert = "revert",
159		/// `history`.
160		History = "history",
161		/// `play`.
162		Play = "play",
163		/// `pause`.
164		Pause = "pause",
165		/// `stop`.
166		Stop = "stop",
167		/// `rewind`.
168		Rewind = "rewind",
169		/// `fast-forward`.
170		FastForward = "fast-forward",
171		/// `frame-next`.
172		FrameNext = "frame-next",
173		/// `frame-prev`.
174		FramePrev = "frame-prev",
175		/// `repeat`.
176		Repeat = "repeat",
177		/// `redo`.
178		Redo = "redo",
179		/// `undo`.
180		Undo = "undo",
181		/// `run`.
182		Run = "run",
183		/// `reel`.
184		Reel = "reel",
185		/// `mic`.
186		Mic = "mic",
187		/// `wave`.
188		Wave = "wave",
189		/// `vibrate`.
190		Vibrate = "vibrate",
191		/// `power`.
192		Power = "power",
193		/// `send`.
194		Send = "send",
195		/// `share`.
196		Share = "share",
197		/// `open`.
198		Open = "open",
199		/// `download`.
200		Download = "download",
201		/// `copy`.
202		Copy = "copy",
203		/// `scissors`.
204		Scissors = "scissors",
205		/// `bold`.
206		Bold = "bold",
207		/// `italic`.
208		Italic = "italic",
209		/// `underline`.
210		Underline = "underline",
211		/// `type`.
212		Type = "type",
213		/// `align-left`.
214		AlignLeft = "align-left",
215		/// `align-center`.
216		AlignCenter = "align-center",
217		/// `align-right`.
218		AlignRight = "align-right",
219		/// `align-justify`.
220		AlignJustify = "align-justify",
221		/// `pen`.
222		Pen = "pen",
223		/// `eraser`.
224		Eraser = "eraser",
225		/// `wand`.
226		Wand = "wand",
227		/// `cursor`.
228		Cursor = "cursor",
229		/// `selection`.
230		Selection = "selection",
231		/// `path-insert`.
232		PathInsert = "path-insert",
233		/// `prompt`.
234		Prompt = "prompt",
235		/// `vector`.
236		Vector = "vector",
237		/// `blur`.
238		Blur = "blur",
239		/// `ink`.
240		Ink = "ink",
241		/// `palette`.
242		Palette = "palette",
243		/// `columns`.
244		Columns = "columns",
245		/// `grid`.
246		Grid = "grid",
247		/// `sidebar`.
248		Sidebar = "sidebar",
249		/// `tabs-h`.
250		TabsH = "tabs-h",
251		/// `tabs-v`.
252		TabsV = "tabs-v",
253		/// `dock-up`.
254		DockUp = "dock-up",
255		/// `dock-down`.
256		DockDown = "dock-down",
257		/// `dock-left`.
258		DockLeft = "dock-left",
259		/// `dock-right`.
260		DockRight = "dock-right",
261		/// `pip`.
262		Pip = "pip",
263		/// `pip-tl`.
264		PipTl = "pip-tl",
265		/// `pip-tr`.
266		PipTr = "pip-tr",
267		/// `pip-bl`.
268		PipBl = "pip-bl",
269		/// `pip-exit`.
270		PipExit = "pip-exit",
271		/// `layers`.
272		Layers = "layers",
273		/// `stack`.
274		Stack = "stack",
275		/// `kanban`.
276		Kanban = "kanban",
277		/// `canvas`.
278		Canvas = "canvas",
279		/// `diagram`.
280		Diagram = "diagram",
281		/// `flow`.
282		Flow = "flow",
283		/// `peek`.
284		Peek = "peek",
285		/// `tree`.
286		Tree = "tree",
287		/// `box`.
288		Box = "box",
289		/// `eye`.
290		Eye = "eye",
291		/// `eye-off`.
292		EyeOff = "eye-off",
293		/// `terminal`.
294		Terminal = "terminal",
295		/// `code`.
296		Code = "code",
297		/// `braces`.
298		Braces = "braces",
299		/// `binary`.
300		Binary = "binary",
301		/// `bug`.
302		Bug = "bug",
303		/// `cpu`.
304		Cpu = "cpu",
305		/// `database`.
306		Database = "database",
307		/// `server`.
308		Server = "server",
309		/// `laptop`.
310		Laptop = "laptop",
311		/// `monitor`.
312		Monitor = "monitor",
313		/// `gauge`.
314		Gauge = "gauge",
315		/// `activity`.
316		Activity = "activity",
317		/// `chart`.
318		Chart = "chart",
319		/// `plug`.
320		Plug = "plug",
321		/// `puzzle`.
322		Puzzle = "puzzle",
323		/// `wrench`.
324		Wrench = "wrench",
325		/// `gear`.
326		Gear = "gear",
327		/// `sliders`.
328		Sliders = "sliders",
329		/// `stethoscope`.
330		Stethoscope = "stethoscope",
331		/// `hash`.
332		Hash = "hash",
333		/// `tag`.
334		Tag = "tag",
335		/// `link`.
336		Link = "link",
337		/// `globe`.
338		Globe = "globe",
339		/// `broadcast`.
340		Broadcast = "broadcast",
341		/// `search`.
342		Search = "search",
343		/// `funnel`.
344		Funnel = "funnel",
345		/// `funnel-x`.
346		FunnelX = "funnel-x",
347		/// `sort-x`.
348		SortX = "sort-x",
349		/// `swap`.
350		Swap = "swap",
351		/// `list`.
352		List = "list",
353		/// `list-checks`.
354		ListChecks = "list-checks",
355		/// `pin`.
356		Pin = "pin",
357		/// `keyboard`.
358		Keyboard = "keyboard",
359		/// `user`.
360		User = "user",
361		/// `users`.
362		Users = "users",
363		/// `message`.
364		Message = "message",
365		/// `brain`.
366		Brain = "brain",
367		/// `sparkle`.
368		Sparkle = "sparkle",
369		/// `lightbulb`.
370		Lightbulb = "lightbulb",
371		/// `bolt`.
372		Bolt = "bolt",
373		/// `flame`.
374		Flame = "flame",
375		/// `rocket`.
376		Rocket = "rocket",
377		/// `moon`.
378		Moon = "moon",
379		/// `sun`.
380		Sun = "sun",
381		/// `cart`.
382		Cart = "cart",
383		/// `footprints`.
384		Footprints = "footprints",
385		/// `scale`.
386		Scale = "scale",
387		/// `log-in`.
388		LogIn = "log-in",
389		/// `log-out`.
390		LogOut = "log-out",
391	}
392);