jenkins-bot has submitted this change and it was merged. Change subject: Clean up and simplify icon SVGs ......................................................................
Clean up and simplify icon SVGs Using svgo and some manual fixes Change-Id: Ifb2ca82da7e95e2f0deccbec0e01eeefaae43236 --- M modules/icons/feedback.svg M modules/icons/generic.svg M modules/icons/mention-success.svg M modules/icons/thanks-ltr.svg M modules/icons/thanks-rtl.svg M modules/icons/trash.svg M modules/icons/tray.svg M modules/icons/user-speech-bubble.svg 8 files changed, 13 insertions(+), 25 deletions(-) Approvals: VolkerE: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/icons/feedback.svg b/modules/icons/feedback.svg index 6b12bc1..c0aad33 100644 --- a/modules/icons/feedback.svg +++ b/modules/icons/feedback.svg @@ -1,15 +1,4 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="30px" height="30px" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>feedback</title> - <defs> - <path id="path-1" d="M8.35406072,21.387126 L9.34667097,24.9542505 C9.6941685,26.2511317 11.2009455,27.025063 12.4978239,26.6775654 C13.7181068,26.3505929 14.4656449,25.0094214 14.1181419,23.712543 L13.4521761,21.3856056 L29,21.3867213 L24.1497187,3 L1.27068388,15.9869465 C0.5243271,17.2796767 1.42475534,20.6506872 2.71201112,21.3871862 L8.35406072,21.387126 Z"></path> - </defs> - <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="feedback"> - <g id="Page-1"> - <use fill="#36c" fill-rule="evenodd" xlink:href="#path-1"></use> - <use fill="none" xlink:href="#path-1"></use> - </g> - </g> - </g> +<?xml version="1.0" encoding="utf-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"> + <path fill="#36c" d="M8.354 21.387l.993 3.567c.347 1.297 1.854 2.071 3.15 1.724 1.221-.327 1.969-1.669 1.621-2.965l-.666-2.327H29L24.15 3 1.27 15.987c-.746 1.293.155 4.664 1.442 5.4h5.642z"/> </svg> diff --git a/modules/icons/generic.svg b/modules/icons/generic.svg index 297de26..e9c1b73 100644 --- a/modules/icons/generic.svg +++ b/modules/icons/generic.svg @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"> <g fill="#54595d"> - <path fill="#54595d" d="M15.5 1C9.713 1 5 5.71 5 11.5 5 17.285 9.713 22 15.5 22S26 17.285 26 11.5C26 5.71 21.287 1 15.5 1zm0 2c4.706 0 8.5 3.793 8.5 8.5 0 4.705-3.794 8.5-8.5 8.5A8.485 8.485 0 0 1 7 11.5C7 6.792 10.794 3 15.5 3z"/> - <path fill="#54595d" d="M14.463 15.07h1.947v1.723h-1.947V15.07zm0-8.403h1.947v4.442l-.192 2.42h-1.554l-.2-2.42V6.666z"/> + <path d="M15.5 1C9.713 1 5 5.71 5 11.5 5 17.285 9.713 22 15.5 22S26 17.285 26 11.5C26 5.71 21.287 1 15.5 1zm0 2c4.706 0 8.5 3.793 8.5 8.5 0 4.705-3.794 8.5-8.5 8.5A8.485 8.485 0 0 1 7 11.5C7 6.792 10.794 3 15.5 3z"/> + <path d="M14.463 15.07h1.947v1.723h-1.947V15.07zm0-8.403h1.947v4.442l-.192 2.42h-1.554l-.2-2.42V6.666z"/> </g> </svg> diff --git a/modules/icons/mention-success.svg b/modules/icons/mention-success.svg index 5cfcabf..843b81f 100644 --- a/modules/icons/mention-success.svg +++ b/modules/icons/mention-success.svg @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 213.37759 149.36432"> - <path d="M32.007 149.364h181.37l-32.006-32.006V0H0v117.358c0 18.137 13.87 32.006 32.007 32.006z" fill="#00af8a"/><path d="M134.904 42.575L78.27 99.207 49.955 70.89l-8.495 8.495 36.811 36.81 73.622-73.621c-4.53-4.531-12.459-4.531-16.99 0z" fill="#fff"/> -</svg> \ No newline at end of file + <path d="M32.007 149.364h181.37l-32.006-32.006V0H0v117.358c0 18.137 13.87 32.006 32.007 32.006z" fill="#00af89"/> + <path d="M134.904 42.575L78.27 99.207 49.955 70.89l-8.495 8.495 36.811 36.81 73.622-73.621c-4.53-4.531-12.459-4.531-16.99 0z" fill="#fff"/> +</svg> diff --git a/modules/icons/thanks-ltr.svg b/modules/icons/thanks-ltr.svg index b58974c..f277ce4 100644 --- a/modules/icons/thanks-ltr.svg +++ b/modules/icons/thanks-ltr.svg @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M5 6v11l-3 3h17c1.7 0 3-1.3 3-3V6H5zm11.2 2.5c.7 0 1.2.6 1.2 1.2s-.5 1.3-1.2 1.3-1.2-.6-1.2-1.2.6-1.3 1.2-1.3zm-5.4 0c.7 0 1.2.6 1.2 1.2s-.6 1.3-1.2 1.3-1.2-.6-1.2-1.2.5-1.3 1.2-1.3zm2.7 8.5c-5.1 0-6-5-6-5s2 1 6 1l6-1s-1 5-6 5z" id="path6"/> + <path d="M5 6v11l-3 3h17c1.7 0 3-1.3 3-3V6H5zm11.2 2.5c.7 0 1.2.6 1.2 1.2s-.5 1.3-1.2 1.3-1.2-.6-1.2-1.2.6-1.3 1.2-1.3zm-5.4 0c.7 0 1.2.6 1.2 1.2s-.6 1.3-1.2 1.3-1.2-.6-1.2-1.2.5-1.3 1.2-1.3zm2.7 8.5c-5.1 0-6-5-6-5s2 1 6 1l6-1s-1 5-6 5z"/> </svg> diff --git a/modules/icons/thanks-rtl.svg b/modules/icons/thanks-rtl.svg index 7ef9ec2..0f9a6fb 100644 --- a/modules/icons/thanks-rtl.svg +++ b/modules/icons/thanks-rtl.svg @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M19 6v11l3 3H5c-1.7 0-3-1.3-3-3V6h17zM7.8 8.5c-.7 0-1.2.6-1.2 1.2S7.1 11 7.8 11 9 10.4 9 9.8s-.6-1.3-1.2-1.3zm5.4 0c-.7 0-1.2.6-1.2 1.2s.6 1.3 1.2 1.3 1.2-.6 1.2-1.2-.5-1.3-1.2-1.3zM10.5 17c5.1 0 6-5 6-5s-2 1-6 1l-6-1s1 5 6 5z" id="path770"/> + <path d="M19 6v11l3 3H5c-1.7 0-3-1.3-3-3V6h17zM7.8 8.5c-.7 0-1.2.6-1.2 1.2S7.1 11 7.8 11 9 10.4 9 9.8s-.6-1.3-1.2-1.3zm5.4 0c-.7 0-1.2.6-1.2 1.2s.6 1.3 1.2 1.3 1.2-.6 1.2-1.2-.5-1.3-1.2-1.3zM10.5 17c5.1 0 6-5 6-5s-2 1-6 1l-6-1s1 5 6 5z"/> </svg> diff --git a/modules/icons/trash.svg b/modules/icons/trash.svg index f0ceebc..02bdcd6 100644 --- a/modules/icons/trash.svg +++ b/modules/icons/trash.svg @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"> - <g fill="#54595d" fill-rule="evenodd"> - <path d="M7 8.25c0-1.558 1.275-2.833 2.833-2.833h2.834L14.083 4h2.834l1.416 1.417h2.834C22.725 5.417 24 6.692 24 8.25H7M8.417 9.667h14.166L21.167 25.25H9.833"/> - </g> + <path fill="#54595d" fill-rule="evenodd" d="M7 8.25c0-1.558 1.275-2.833 2.833-2.833h2.834L14.083 4h2.834l1.416 1.417h2.834C22.725 5.417 24 6.692 24 8.25H7M8.417 9.667h14.166L21.167 25.25H9.833"/> </svg> diff --git a/modules/icons/tray.svg b/modules/icons/tray.svg index d7ab69b..7c617ee 100644 --- a/modules/icons/tray.svg +++ b/modules/icons/tray.svg @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M3 13.35l1.8-7.2c.2-.996.81-1.8 1.8-1.8h10.8c.99 0 1.6.867 1.8 1.8l1.8 7.2v4.5c0 .99-.81 1.8-1.8 1.8H4.8c-.99 0-1.8-.81-1.8-1.8v-4.5zm6.96 1.8h4.08c-.49.557-1.212.9-2.04.9a2.68 2.68 0 0 1-2.04-.9h4.08c.414-.472.66-1.098.66-1.8h4.14l-1.44-7.2H6.6l-1.44 7.2H9.3c0 .702.246 1.328.66 1.8z" id="tray"/> + <path d="M3 13.35l1.8-7.2c.2-.996.81-1.8 1.8-1.8h10.8c.99 0 1.6.867 1.8 1.8l1.8 7.2v4.5c0 .99-.81 1.8-1.8 1.8H4.8c-.99 0-1.8-.81-1.8-1.8v-4.5zm6.96 1.8h4.08c-.49.557-1.212.9-2.04.9a2.68 2.68 0 0 1-2.04-.9h4.08c.414-.472.66-1.098.66-1.8h4.14l-1.44-7.2H6.6l-1.44 7.2H9.3c0 .702.246 1.328.66 1.8z"/> </svg> diff --git a/modules/icons/user-speech-bubble.svg b/modules/icons/user-speech-bubble.svg index cf5e91b..12e60d4 100644 --- a/modules/icons/user-speech-bubble.svg +++ b/modules/icons/user-speech-bubble.svg @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M14 16.8c-.96-.32-3.2-1.2-3.2-1.2-.72-.24-.72-.88-.8-1.6v-.08c1.12-.96 2-2.56 2-4.32 0-3.76-1.6-5.2-4-5.2-1.68 0-4 .96-4 5.2 0 1.68.88 3.28 2 4.32V14c0 .72-.08 1.36-.8 1.6 0 0-2.32.88-3.2 1.2-1.04.32-2 .8-2 2v.8h16v-.8c0-.96-.64-1.6-2-2zm.367-5.46l-1.796 2.938H24V4.4h-9.633v6.94z" fill="#000"/> + <path d="M14 16.8c-.96-.32-3.2-1.2-3.2-1.2-.72-.24-.72-.88-.8-1.6v-.08c1.12-.96 2-2.56 2-4.32 0-3.76-1.6-5.2-4-5.2-1.68 0-4 .96-4 5.2 0 1.68.88 3.28 2 4.32V14c0 .72-.08 1.36-.8 1.6 0 0-2.32.88-3.2 1.2-1.04.32-2 .8-2 2v.8h16v-.8c0-.96-.64-1.6-2-2zm.367-5.46l-1.796 2.938H24V4.4h-9.633v6.94z"/> </svg> -- To view, visit https://gerrit.wikimedia.org/r/316724 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifb2ca82da7e95e2f0deccbec0e01eeefaae43236 Gerrit-PatchSet: 4 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Catrope <[email protected]> Gerrit-Reviewer: VolkerE <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
