Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Regenerate icons with sorted files #44

Merged
merged 2 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
214 changes: 107 additions & 107 deletions packages/lib/src/icons/md_action_icons.rs

Large diffs are not rendered by default.

102 changes: 51 additions & 51 deletions packages/lib/src/icons/md_av_icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1337,8 +1337,8 @@ impl IconShape for MdNewReleases {
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdNote;
impl IconShape for MdNote {
pub struct MdNotInterested;
impl IconShape for MdNotInterested {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1351,15 +1351,15 @@ impl IconShape for MdNote {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M22 10l-6-6H4c-1.1 0-2 .9-2 2v12.01c0 1.1.9 1.99 2 1.99l16-.01c1.1 0 2-.89 2-1.99v-8zm-7-4.5l5.5 5.5H15V5.5z",
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdNotInterested;
impl IconShape for MdNotInterested {
pub struct MdNote;
impl IconShape for MdNote {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1372,7 +1372,7 @@ impl IconShape for MdNotInterested {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z",
d: "M22 10l-6-6H4c-1.1 0-2 .9-2 2v12.01c0 1.1.9 1.99 2 1.99l16-.01c1.1 0 2-.89 2-1.99v-8zm-7-4.5l5.5 5.5H15V5.5z",
}
}
}
Expand Down Expand Up @@ -1442,8 +1442,8 @@ impl IconShape for MdPauseCircleOutline {
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdPlaylistAdd;
impl IconShape for MdPlaylistAdd {
pub struct MdPlayArrow;
impl IconShape for MdPlayArrow {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1456,15 +1456,15 @@ impl IconShape for MdPlaylistAdd {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z",
d: "M8 5v14l11-7z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdPlaylistAddCheck;
impl IconShape for MdPlaylistAddCheck {
pub struct MdPlayCircleFilled;
impl IconShape for MdPlayCircleFilled {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1477,15 +1477,15 @@ impl IconShape for MdPlaylistAddCheck {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M14,10H2v2h12V10z M14,6H2v2h12V6z M2,16h8v-2H2V16z M21.5,11.5L23,13l-6.99,7l-4.51-4.5L13,14l3.01,3L21.5,11.5z",
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdPlaylistPlay;
impl IconShape for MdPlaylistPlay {
pub struct MdPlayCircleOutline;
impl IconShape for MdPlayCircleOutline {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1498,15 +1498,15 @@ impl IconShape for MdPlaylistPlay {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M4 10h12v2H4zm0-4h12v2H4zm0 8h8v2H4zm10 0v6l5-3z",
d: "M10 16.5l6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdPlayArrow;
impl IconShape for MdPlayArrow {
pub struct MdPlayDisabled;
impl IconShape for MdPlayDisabled {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1519,15 +1519,15 @@ impl IconShape for MdPlayArrow {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M8 5v14l11-7z",
d: "M8 5.19V5l11 7-2.55 1.63L8 5.19zm12 14.54l-5.11-5.11L8 7.73 4.27 4 3 5.27l5 5V19l5.33-3.4 5.4 5.4L20 19.73z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdPlayCircleFilled;
impl IconShape for MdPlayCircleFilled {
pub struct MdPlaylistAdd;
impl IconShape for MdPlaylistAdd {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1540,15 +1540,15 @@ impl IconShape for MdPlayCircleFilled {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z",
d: "M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdPlayCircleOutline;
impl IconShape for MdPlayCircleOutline {
pub struct MdPlaylistAddCheck;
impl IconShape for MdPlaylistAddCheck {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1561,15 +1561,15 @@ impl IconShape for MdPlayCircleOutline {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M10 16.5l6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",
d: "M14,10H2v2h12V10z M14,6H2v2h12V6z M2,16h8v-2H2V16z M21.5,11.5L23,13l-6.99,7l-4.51-4.5L13,14l3.01,3L21.5,11.5z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdPlayDisabled;
impl IconShape for MdPlayDisabled {
pub struct MdPlaylistPlay;
impl IconShape for MdPlaylistPlay {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -1582,7 +1582,7 @@ impl IconShape for MdPlayDisabled {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M8 5.19V5l11 7-2.55 1.63L8 5.19zm12 14.54l-5.11-5.11L8 7.73 4.27 4 3 5.27l5 5V19l5.33-3.4 5.4 5.4L20 19.73z",
d: "M4 10h12v2H4zm0-4h12v2H4zm0 8h8v2H4zm10 0v6l5-3z",
}
}
}
Expand Down Expand Up @@ -2218,8 +2218,8 @@ impl IconShape for MdSurroundSound {
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdVideocam;
impl IconShape for MdVideocam {
pub struct MdVideoCall;
impl IconShape for MdVideoCall {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -2232,15 +2232,15 @@ impl IconShape for MdVideocam {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z",
d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdVideocamOff;
impl IconShape for MdVideocamOff {
pub struct MdVideoLabel;
impl IconShape for MdVideoLabel {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -2253,15 +2253,15 @@ impl IconShape for MdVideocamOff {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M21 6.5l-4 4V7c0-.55-.45-1-1-1H9.82L21 17.18V6.5zM3.27 2L2 3.27 4.73 6H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.21 0 .39-.08.54-.18L19.73 21 21 19.73 3.27 2z",
d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 13H3V5h18v11z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdVideoCall;
impl IconShape for MdVideoCall {
pub struct MdVideoLibrary;
impl IconShape for MdVideoLibrary {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -2274,15 +2274,15 @@ impl IconShape for MdVideoCall {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z",
d: "M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdVideoLabel;
impl IconShape for MdVideoLabel {
pub struct MdVideoSettings;
impl IconShape for MdVideoSettings {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -2295,15 +2295,21 @@ impl IconShape for MdVideoLabel {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 13H3V5h18v11z",
d: "M3,6h18v5h2V6c0-1.1-0.9-2-2-2H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h9v-2H3V6z",
}
polygon {
points: "15,12 9,8 9,16",
}
path {
d: "M22.71,18.43c0.03-0.29,0.04-0.58,0.01-0.86l1.07-0.85c0.1-0.08,0.12-0.21,0.06-0.32l-1.03-1.79 c-0.06-0.11-0.19-0.15-0.31-0.11L21.23,15c-0.23-0.17-0.48-0.31-0.75-0.42l-0.2-1.36C20.26,13.09,20.16,13,20.03,13h-2.07 c-0.12,0-0.23,0.09-0.25,0.21l-0.2,1.36c-0.26,0.11-0.51,0.26-0.74,0.42l-1.28-0.5c-0.12-0.05-0.25,0-0.31,0.11l-1.03,1.79 c-0.06,0.11-0.04,0.24,0.06,0.32l1.07,0.86c-0.03,0.29-0.04,0.58-0.01,0.86l-1.07,0.85c-0.1,0.08-0.12,0.21-0.06,0.32l1.03,1.79 c0.06,0.11,0.19,0.15,0.31,0.11l1.27-0.5c0.23,0.17,0.48,0.31,0.75,0.42l0.2,1.36c0.02,0.12,0.12,0.21,0.25,0.21h2.07 c0.12,0,0.23-0.09,0.25-0.21l0.2-1.36c0.26-0.11,0.51-0.26,0.74-0.42l1.28,0.5c0.12,0.05,0.25,0,0.31-0.11l1.03-1.79 c0.06-0.11,0.04-0.24-0.06-0.32L22.71,18.43z M19,19.5c-0.83,0-1.5-0.67-1.5-1.5s0.67-1.5,1.5-1.5s1.5,0.67,1.5,1.5 S19.83,19.5,19,19.5z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdVideoLibrary;
impl IconShape for MdVideoLibrary {
pub struct MdVideocam;
impl IconShape for MdVideocam {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -2316,15 +2322,15 @@ impl IconShape for MdVideoLibrary {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z",
d: "M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z",
}
}
}
}

#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MdVideoSettings;
impl IconShape for MdVideoSettings {
pub struct MdVideocamOff;
impl IconShape for MdVideocamOff {
fn view_box(&self) -> &str {
"0 0 24 24"
}
Expand All @@ -2337,13 +2343,7 @@ impl IconShape for MdVideoSettings {
fn child_elements(&self) -> Element {
rsx! {
path {
d: "M3,6h18v5h2V6c0-1.1-0.9-2-2-2H3C1.9,4,1,4.9,1,6v12c0,1.1,0.9,2,2,2h9v-2H3V6z",
}
polygon {
points: "15,12 9,8 9,16",
}
path {
d: "M22.71,18.43c0.03-0.29,0.04-0.58,0.01-0.86l1.07-0.85c0.1-0.08,0.12-0.21,0.06-0.32l-1.03-1.79 c-0.06-0.11-0.19-0.15-0.31-0.11L21.23,15c-0.23-0.17-0.48-0.31-0.75-0.42l-0.2-1.36C20.26,13.09,20.16,13,20.03,13h-2.07 c-0.12,0-0.23,0.09-0.25,0.21l-0.2,1.36c-0.26,0.11-0.51,0.26-0.74,0.42l-1.28-0.5c-0.12-0.05-0.25,0-0.31,0.11l-1.03,1.79 c-0.06,0.11-0.04,0.24,0.06,0.32l1.07,0.86c-0.03,0.29-0.04,0.58-0.01,0.86l-1.07,0.85c-0.1,0.08-0.12,0.21-0.06,0.32l1.03,1.79 c0.06,0.11,0.19,0.15,0.31,0.11l1.27-0.5c0.23,0.17,0.48,0.31,0.75,0.42l0.2,1.36c0.02,0.12,0.12,0.21,0.25,0.21h2.07 c0.12,0,0.23-0.09,0.25-0.21l0.2-1.36c0.26-0.11,0.51-0.26,0.74-0.42l1.28,0.5c0.12,0.05,0.25,0,0.31-0.11l1.03-1.79 c0.06-0.11,0.04-0.24-0.06-0.32L22.71,18.43z M19,19.5c-0.83,0-1.5-0.67-1.5-1.5s0.67-1.5,1.5-1.5s1.5,0.67,1.5,1.5 S19.83,19.5,19,19.5z",
d: "M21 6.5l-4 4V7c0-.55-.45-1-1-1H9.82L21 17.18V6.5zM3.27 2L2 3.27 4.73 6H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.21 0 .39-.08.54-.18L19.73 21 21 19.73 3.27 2z",
}
}
}
Expand Down
Loading
Loading