From 410b5481d60f1fd5d7a3020b803e51aa6371eed8 Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Mon, 28 Jun 2021 17:45:02 +0200
Subject: [PATCH] Optimisation des SVG

---
 prive/themes/spip/images/puce-preparer-xx.svg  |  8 +++-----
 prive/themes/spip/images/puce-proposer-xx.svg  |  8 +++-----
 prive/themes/spip/images/puce-publier-xx.svg   |  8 ++------
 prive/themes/spip/images/puce-refuser-xx.svg   | 16 ++++------------
 prive/themes/spip/images/puce-supprimer-xx.svg |  8 +++-----
 5 files changed, 15 insertions(+), 33 deletions(-)

diff --git a/prive/themes/spip/images/puce-preparer-xx.svg b/prive/themes/spip/images/puce-preparer-xx.svg
index 7a2c8adc32..7a3224c7f6 100644
--- a/prive/themes/spip/images/puce-preparer-xx.svg
+++ b/prive/themes/spip/images/puce-preparer-xx.svg
@@ -1,6 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
-    <rect x="0" y="0" width="8" height="8" style="fill:white;"/>
-    <path d="M8,0L0,0L0,8L8,8L8,0ZM7,1L7,7C7,7 1,7 1,7C1,7 1,1 1,1L7,1Z" style="fill:rgb(107,107,107);"/>
+<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
+  <path fill="#fff" d="M0 0h8v8H0z"/>
+  <path d="M8 0H0v8h8V0zM7 1v6H1V1h6z" fill="#6b6b6b"/>
 </svg>
diff --git a/prive/themes/spip/images/puce-proposer-xx.svg b/prive/themes/spip/images/puce-proposer-xx.svg
index 78d87119d8..01d444239a 100644
--- a/prive/themes/spip/images/puce-proposer-xx.svg
+++ b/prive/themes/spip/images/puce-proposer-xx.svg
@@ -1,6 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
-    <rect x="0" y="0" width="8" height="8" style="fill:white;"/>
-    <path d="M8,0L0,0L0,8L8,8L8,0ZM3.5,7L3.5,4.5L1,4.5L1,7L3.5,7ZM7,4.5L4.5,4.5L4.5,7L7,7L7,4.5ZM1,1L1,3.5L3.5,3.5L3.5,1L1,1ZM4.5,1L4.5,3.5L7,3.5L7,1L4.5,1Z" style="fill:rgb(248,144,88);"/>
+<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
+  <path fill="#fff" d="M0 0h8v8H0z"/>
+  <path d="M8 0H0v8h8V0zM3.5 7V4.5H1V7h2.5zM7 4.5H4.5V7H7V4.5zM1 1v2.5h2.5V1H1zm3.5 0v2.5H7V1H4.5z" fill="#f89058"/>
 </svg>
diff --git a/prive/themes/spip/images/puce-publier-xx.svg b/prive/themes/spip/images/puce-publier-xx.svg
index d118cb16cc..eaad059fc5 100644
--- a/prive/themes/spip/images/puce-publier-xx.svg
+++ b/prive/themes/spip/images/puce-publier-xx.svg
@@ -1,7 +1,3 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
-    <g transform="matrix(1.07855,0,0,1.34639,-0.628408,-2.77115)">
-        <rect x="0.583" y="2.058" width="7.417" height="5.942" style="fill:rgb(157,186,0);"/>
-    </g>
+<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
+  <path fill="#9dba00" d="M0 0h8v8H0z"/>
 </svg>
diff --git a/prive/themes/spip/images/puce-refuser-xx.svg b/prive/themes/spip/images/puce-refuser-xx.svg
index c14fd7372e..314ebbe78b 100644
--- a/prive/themes/spip/images/puce-refuser-xx.svg
+++ b/prive/themes/spip/images/puce-refuser-xx.svg
@@ -1,13 +1,5 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
-    <g transform="matrix(1.13391,0,0,1.14933,-1.07125,-1.19463)">
-        <rect x="0.945" y="1.039" width="7.055" height="6.961" style="fill:white;"/>
-    </g>
-    <g transform="matrix(1.13391,0,0,1.14933,-1.07125,-1.19463)">
-        <path d="M8,1.039L0.945,1.039L0.945,8L8,8L8,1.039ZM7.118,1.909L7.118,7.13C7.118,7.13 1.827,7.13 1.827,7.13C1.827,7.13 1.827,1.909 1.827,1.909L7.118,1.909Z" style="fill:rgb(255,0,0);"/>
-    </g>
-    <g transform="matrix(1.33149,0,0,0.878405,-1.35929,0.254813)">
-        <path d="M2.516,4.833L5.534,4.833L5.534,3.694L2.516,3.694L2.516,4.833Z" style="fill:rgb(255,0,0);"/>
-    </g>
+<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
+  <path fill="#fff" d="M0 0h7.99v8h-8z"/>
+  <path d="M8 0H0v8h8V0zM7 1v6H1V1h6z" fill="red"/>
+  <path d="M2 4.5h4v-1H2v1z" fill="red"/>
 </svg>
diff --git a/prive/themes/spip/images/puce-supprimer-xx.svg b/prive/themes/spip/images/puce-supprimer-xx.svg
index 2b5fa2af1f..69fea8a760 100644
--- a/prive/themes/spip/images/puce-supprimer-xx.svg
+++ b/prive/themes/spip/images/puce-supprimer-xx.svg
@@ -1,6 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 8 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
-    <rect x="0" y="0" width="8" height="8" style="fill:rgb(255,250,250);"/>
-    <path d="M8,8L8,0L0,0L0,8L8,8ZM1,1L3.997,3.997L1,6.998L1,7L7,7L4.003,4.003L7,1.002L7,1L1,1Z"/>
+<svg viewBox="0 0 8 8" width="8" height="8" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
+  <path fill="#fff" d="M0 0h8v8H0z"/>
+  <path d="M8 8V0H0v8h8zM1 1l3 3-3 3h6L4 4l3-3H1z"/>
 </svg>
-- 
GitLab