[MIRROR] https://codeberg.org/naomi/nanel

Add non-solid icon variants

+20
+20
src/icons.rs
··· 16 .align_y(Alignment::Center) 17 } 18 19 pub fn bars_solid() -> Text<'static> { 20 icon_solid('\u{f0c9}') 21 } ··· 24 icon_solid('\u{f07b}') 25 } 26 27 pub fn bell_solid() -> Text<'static> { 28 icon_solid('\u{f0f3}') 29 } 30 31 pub fn desktop_solid() -> Text<'static> {
··· 16 .align_y(Alignment::Center) 17 } 18 19 + pub fn icon_regular(unicode: char) -> Text<'static> { 20 + text(unicode.to_string()) 21 + .font(Font { 22 + family: Family::Name("Font Awesome 6 Free"), 23 + weight: Weight::Normal, 24 + ..Font::DEFAULT 25 + }) 26 + .size(28) 27 + .align_x(Alignment::Center) 28 + .align_y(Alignment::Center) 29 + } 30 + 31 pub fn bars_solid() -> Text<'static> { 32 icon_solid('\u{f0c9}') 33 } ··· 36 icon_solid('\u{f07b}') 37 } 38 39 + pub fn folder_regular() -> Text<'static> { 40 + icon_regular('\u{f07b}') 41 + } 42 + 43 pub fn bell_solid() -> Text<'static> { 44 icon_solid('\u{f0f3}') 45 + } 46 + 47 + pub fn bell_regular() -> Text<'static> { 48 + icon_regular('\u{f0f3}') 49 } 50 51 pub fn desktop_solid() -> Text<'static> {