zero_ui/lib/
zero-icon.rs

1#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
2pub enum ZeroIcon {
3    #[default]
4    ZeroLogo,
5}
6
7const ZERO_LOGO: icondata_core::IconData = icondata_core::IconData {
8    style: None,
9    x: None,
10    y: None,
11    width: Some("24"),
12    height: Some("24"),
13    view_box: Some("0 0 24 24"),
14    stroke_linecap: Some("round"),
15    stroke_linejoin: Some("round"),
16    stroke_width: Some("2"),
17    stroke: Some("currentColor"),
18    fill: Some("none"),
19    data: r###"<circle cx="11" cy="11" r="8" />
20<line x1="21" y1="21" x2="16.65" y2="16.65" />"###,
21};
22
23impl From<ZeroIcon> for icondata_core::IconData {
24    fn from(icon: ZeroIcon) -> icondata_core::IconData {
25        match icon {
26            ZeroIcon::ZeroLogo => ZERO_LOGO,
27        }
28    }
29}
30