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

Add non-solid icon variants

+20
+20
src/icons.rs
··· 16 16 .align_y(Alignment::Center) 17 17 } 18 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 + 19 31 pub fn bars_solid() -> Text<'static> { 20 32 icon_solid('\u{f0c9}') 21 33 } ··· 24 36 icon_solid('\u{f07b}') 25 37 } 26 38 39 + pub fn folder_regular() -> Text<'static> { 40 + icon_regular('\u{f07b}') 41 + } 42 + 27 43 pub fn bell_solid() -> Text<'static> { 28 44 icon_solid('\u{f0f3}') 45 + } 46 + 47 + pub fn bell_regular() -> Text<'static> { 48 + icon_regular('\u{f0f3}') 29 49 } 30 50 31 51 pub fn desktop_solid() -> Text<'static> {