/ firmware / src / console / icons.rs
icons.rs
 1  
 2  
 3  // Centralized Nerd Font glyph registry.
 4  //
 5  // Names match the Nerd Font cheat sheet: https://www.nerdfonts.com/cheat-sheet
 6  // Format: NF_{source}_{name} in SCREAMING_SNAKE_CASE.
 7  
 8  // ─── Font Awesome (nf-fa-*) ─────────────────────────────────────────────────
 9  
10  pub const NF_FA_FILE:         &str = "\u{f15b}";
11  pub const NF_FA_FILE_TEXT:    &str = "\u{f15c}";
12  pub const NF_FA_FILE_IMAGE:   &str = "\u{f1c5}";
13  pub const NF_FA_FOLDER:       &str = "\u{f07b}";
14  pub const NF_FA_FOLDER_OPEN:  &str = "\u{f07c}";
15  
16  pub const NF_FA_HOME:         &str = "\u{f015}";
17  pub const NF_FA_LOCK:         &str = "\u{f023}";
18  pub const NF_FA_CLOCK:        &str = "\u{f017}";
19  pub const NF_FA_DATABASE:     &str = "\u{f1c0}";
20  pub const NF_FA_GLOBE:        &str = "\u{f0ac}";
21  pub const NF_FA_SERVER:       &str = "\u{f233}";
22  pub const NF_FA_PLUG:         &str = "\u{f1e6}";
23  pub const NF_FA_WIFI:         &str = "\u{f1eb}";
24  pub const NF_FA_COG:          &str = "\u{f085}";
25  pub const NF_FA_BOLT:         &str = "\u{f0e7}";
26  pub const NF_FA_HDD:          &str = "\u{f0a0}";
27  pub const NF_FA_LEAF:         &str = "\u{f06c}";
28  pub const NF_FA_THERMOMETER:  &str = "\u{f2c9}";
29  pub const NF_FA_TINT:         &str = "\u{f043}";
30  pub const NF_FA_SITEMAP:      &str = "\u{f1e0}";
31  pub const NF_FA_MICROCHIP:    &str = "\u{f2db}";
32  pub const NF_FA_SIGNAL:       &str = "\u{f2c8}";
33  pub const NF_FA_DOWNLOAD:     &str = "\u{f498}";
34  pub const NF_FA_TERMINAL:     &str = "\u{f120}";
35  pub const NF_FA_DESKTOP:      &str = "\u{f108}";
36  pub const NF_FA_MEMORY:       &str = "\u{f538}";
37  
38  // ─── Dev Icons (nf-dev-*) ───────────────────────────────────────────────────
39  
40  pub const NF_DEV_RUST:        &str = "\u{e7a8}";
41  pub const NF_DEV_HTML5:       &str = "\u{e736}";
42  pub const NF_DEV_JAVASCRIPT:  &str = "\u{e74e}";
43  pub const NF_DEV_CSS3:        &str = "\u{e749}";
44  
45  // ─── Seti UI (nf-seti-*) ────────────────────────────────────────────────────
46  
47  pub const NF_SETI_CONFIG:     &str = "\u{e5fc}";
48  pub const NF_SETI_TOML:       &str = "\u{e6b2}";
49  pub const NF_SETI_JSON:       &str = "\u{e60b}";
50  pub const NF_SETI_MARKDOWN:   &str = "\u{e73e}";
51  pub const NF_SETI_ORG:        &str = "\u{e633}";
52  pub const NF_SETI_WASM:       &str = "\u{e6a1}";
53  
54  // ─── Custom / Linux (nf-linux-*) ────────────────────────────────────────────
55  
56  pub const NF_LINUX_NIX:       &str = "\u{f313}";
57  
58  // ─── Material Design (nf-md-*) ──────────────────────────────────────────────
59  
60  pub const NF_MD_BINARY:       &str = "\u{f471}";
61  pub const NF_MD_ARCH:         &str = "\u{e266}";
62  pub const NF_MD_KERNEL:       &str = "\u{e615}";
63  pub const NF_MD_PICTURE:      &str = "\u{f02ef}";
64  pub const NF_MD_DOCUMENT:     &str = "\u{f09ee}";
65  pub const NF_MD_PUBLIC:       &str = "\u{f151f}";
66  pub const NF_MD_TEMP:         &str = "\u{f0403}";
67  pub const NF_MD_SSH:          &str = "\u{f12c0}";
68  pub const NF_MD_RAM:          &str = "\u{f0e4}";
69  
70  // ─── Powerline (nf-ple-*) ───────────────────────────────────────────────────
71  
72  pub const NF_PLE_LEFT_HARD:   &str = "\u{e0b0}";
73  pub const NF_PLE_RIGHT_HARD:  &str = "\u{e0b2}";
74  pub const NF_PLE_LEFT_SOFT:   &str = "\u{e0b1}";
75  pub const NF_PLE_RIGHT_SOFT:  &str = "\u{e0b3}";
76  
77  // ─── Misc Unicode ───────────────────────────────────────────────────────────
78  
79  pub const DEGREE_SIGN:        &str = "\u{00b0}";
80  pub const BOX_HORIZONTAL:     char = '\u{2500}';