updating block icon

This commit is contained in:
Antoine M 2023-12-07 12:47:30 +01:00
parent 1d4ff0294c
commit b0ee14e22b
4 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'cbbf7cbe77ee30cfe001'); <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '5694c7e6f87729e56843');

View File

@ -304,12 +304,12 @@ __webpack_require__.r(__webpack_exports__);
icon: { icon: {
src: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { src: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", {
xmlns: "http://www.w3.org/2000/svg", xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 95 95" viewBox: "0 0 90 90"
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("g", null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("g", null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", {
class: "cls-1", class: "cls-1",
d: "m57.9,36.4c3.15,0,5.7-2.55,5.7-5.7s-2.55-5.7-5.7-5.7-5.7,2.55-5.7,5.7,2.55,5.7,5.7,5.7Zm5.1,8.9c-1.3-1.8-4-1.8-5.3,0l-2.2,3c-.4.6-1.4.6-1.8,0l-9.4-13.1c-1.3-1.8-4-1.8-5.3,0l-16,22.6c-1.5,2.1,0,5.1,2.6,5.1h43.7c2.6,0,4.2-3,2.6-5.1l-8.9-12.5ZM47.5,0C21.3,0,0,21.3,0,47.5s21.3,47.5,47.5,47.5,47.5-21.3,47.5-47.5S73.7,0,47.5,0Zm0,86.3c-21.4,0-38.8-17.4-38.8-38.8S26.1,8.7,47.5,8.7s38.8,17.4,38.8,38.8-17.4,38.8-38.8,38.8Z" d: "m35.1,74.7c-5.46,5.46-14.34,5.46-19.8,0-5.46-5.46-5.46-14.34,0-19.8l13.86-13.86c5.46-5.46,14.34-5.46,19.8,0l2.97,2.97,7.92-7.92-2.97-2.97c-9.84-9.84-25.8-9.84-35.64,0l-13.86,13.86c-9.84,9.84-9.84,25.8,0,35.64,9.84,9.84,25.8,9.84,35.64,0l9.62-9.62h-15.84s-1.7,1.7-1.7,1.7ZM82.62,7.38c-9.84-9.84-25.8-9.84-35.64,0l-9.62,9.62h15.84l1.7-1.7c5.46-5.46,14.34-5.46,19.8,0,5.46,5.46,5.46,14.34,0,19.8l-13.86,13.86c-5.46,5.46-14.34,5.46-19.8,0l-2.97-2.97-7.92,7.92,2.97,2.97c9.84,9.84,25.8,9.84,35.64,0l13.86-13.86c9.84-9.84,9.84-25.8,0-35.64Z"
}))), }))),
foreground: "#f03" foreground: "#DF1E1E"
}, },
edit: _edit__WEBPACK_IMPORTED_MODULE_3__["default"], edit: _edit__WEBPACK_IMPORTED_MODULE_3__["default"],
save: _save__WEBPACK_IMPORTED_MODULE_4__["default"] save: _save__WEBPACK_IMPORTED_MODULE_4__["default"]

File diff suppressed because one or more lines are too long

View File

@ -8,16 +8,16 @@ import metadata from "./block.json";
registerBlockType(metadata.name, { registerBlockType(metadata.name, {
icon: { icon: {
src: ( src: (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 95 95"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 90">
<g> <g>
<path <path
class="cls-1" class="cls-1"
d="m57.9,36.4c3.15,0,5.7-2.55,5.7-5.7s-2.55-5.7-5.7-5.7-5.7,2.55-5.7,5.7,2.55,5.7,5.7,5.7Zm5.1,8.9c-1.3-1.8-4-1.8-5.3,0l-2.2,3c-.4.6-1.4.6-1.8,0l-9.4-13.1c-1.3-1.8-4-1.8-5.3,0l-16,22.6c-1.5,2.1,0,5.1,2.6,5.1h43.7c2.6,0,4.2-3,2.6-5.1l-8.9-12.5ZM47.5,0C21.3,0,0,21.3,0,47.5s21.3,47.5,47.5,47.5,47.5-21.3,47.5-47.5S73.7,0,47.5,0Zm0,86.3c-21.4,0-38.8-17.4-38.8-38.8S26.1,8.7,47.5,8.7s38.8,17.4,38.8,38.8-17.4,38.8-38.8,38.8Z" d="m35.1,74.7c-5.46,5.46-14.34,5.46-19.8,0-5.46-5.46-5.46-14.34,0-19.8l13.86-13.86c5.46-5.46,14.34-5.46,19.8,0l2.97,2.97,7.92-7.92-2.97-2.97c-9.84-9.84-25.8-9.84-35.64,0l-13.86,13.86c-9.84,9.84-9.84,25.8,0,35.64,9.84,9.84,25.8,9.84,35.64,0l9.62-9.62h-15.84s-1.7,1.7-1.7,1.7ZM82.62,7.38c-9.84-9.84-25.8-9.84-35.64,0l-9.62,9.62h15.84l1.7-1.7c5.46-5.46,14.34-5.46,19.8,0,5.46,5.46,5.46,14.34,0,19.8l-13.86,13.86c-5.46,5.46-14.34,5.46-19.8,0l-2.97-2.97-7.92,7.92,2.97,2.97c9.84,9.84,25.8,9.84,35.64,0l13.86-13.86c9.84-9.84,9.84-25.8,0-35.64Z"
/> />
</g> </g>
</svg> </svg>
), ),
foreground: "#f03", foreground: "#DF1E1E",
}, },
edit: Edit, edit: Edit,