From 75b28bfde125c9871c29ffa006861feba0acccec Mon Sep 17 00:00:00 2001 From: benazeer Date: Fri, 25 Oct 2024 00:53:54 +0530 Subject: [PATCH] Added color support for spacer block --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/spacer/block.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index dd49d156857249..105505bcd11cde 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -884,7 +884,7 @@ Add white space between blocks and customize its height. ([Source](https://githu - **Name:** core/spacer - **Category:** design -- **Supports:** anchor, interactivity (clientNavigation), spacing (margin) +- **Supports:** anchor, color (background, gradients, ~~text~~), interactivity (clientNavigation), spacing (margin) - **Attributes:** height, width ## Table diff --git a/packages/block-library/src/spacer/block.json b/packages/block-library/src/spacer/block.json index 447ea99cc0b677..66689b219bbfc8 100644 --- a/packages/block-library/src/spacer/block.json +++ b/packages/block-library/src/spacer/block.json @@ -24,6 +24,11 @@ "margin": true } }, + "color": { + "text": false, + "background": true, + "gradients": true + }, "interactivity": { "clientNavigation": true }