UPDATE Update default background and text colors in content box block configuration
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-10-29 13:20:30 +01:00
parent 23b08c9a29
commit 5545258efa
5 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@
},
"backgroundColor": {
"type": "string",
"default": "#136f63"
"default": "#f1fcf9"
},
"hasLightBackground": {
"type": "boolean",
@ -32,7 +32,7 @@
},
"textColor": {
"type": "string",
"default": "#ffffff"
"default": "inherit"
},
"blockVariant": {
"type": "string",

View File

@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '6be5c32f82ef7a9ebee4');
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => 'f7e30d5a7b812b309f74');

View File

@ -41,7 +41,7 @@ function isColorLight(color) {
\************************/
/***/ ((module) => {
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"carhop-blocks/content-box","version":"0.1.0","title":"Boite de contenu","category":"carhop-blocks","icon":"smiley","description":"Boite de contenu pour la mise en forme d\'éléments de contenu","example":{},"supports":{"html":false,"anchor":true},"textdomain":"carhop-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js","attributes":{"hasBackgroundColor":{"type":"boolean","default":false},"backgroundColor":{"type":"string","default":"#136f63"},"hasLightBackground":{"type":"boolean","default":true},"textColor":{"type":"string","default":"#ffffff"},"blockVariant":{"type":"string","default":"framed"}}}');
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"carhop-blocks/content-box","version":"0.1.0","title":"Boite de contenu","category":"carhop-blocks","icon":"smiley","description":"Boite de contenu pour la mise en forme d\'éléments de contenu","example":{},"supports":{"html":false,"anchor":true},"textdomain":"carhop-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js","attributes":{"hasBackgroundColor":{"type":"boolean","default":false},"backgroundColor":{"type":"string","default":"#f1fcf9"},"hasLightBackground":{"type":"boolean","default":true},"textColor":{"type":"string","default":"inherit"},"blockVariant":{"type":"string","default":"framed"}}}');
/***/ }),

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@
},
"backgroundColor": {
"type": "string",
"default": "#136f63"
"default": "#f1fcf9"
},
"hasLightBackground": {
"type": "boolean",
@ -32,7 +32,7 @@
},
"textColor": {
"type": "string",
"default": "#ffffff"
"default": "inherit"
},
"blockVariant": {
"type": "string",