From 3135c906d6ab42727dadb0f3c96f909ce558879d Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Tue, 6 Sep 2022 13:35:09 +0200 Subject: [PATCH] Update block supports to include background color --- docs/reference-guides/core-blocks.md | 2 +- .../src/comments-pagination-numbers/block.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 8dc2d9c42fad5..b3b31b7495175 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -203,7 +203,7 @@ Displays a list of page numbers for comments pagination. ([Source](https://githu - **Name:** core/comments-pagination-numbers - **Category:** theme -- **Supports:** typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ +- **Supports:** color (background, gradients, ~~text~~), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** ## Previous Page diff --git a/packages/block-library/src/comments-pagination-numbers/block.json b/packages/block-library/src/comments-pagination-numbers/block.json index e84aff63b043f..89d3a44b56dff 100644 --- a/packages/block-library/src/comments-pagination-numbers/block.json +++ b/packages/block-library/src/comments-pagination-numbers/block.json @@ -11,6 +11,13 @@ "supports": { "reusable": false, "html": false, + "color": { + "gradients": true, + "text": false, + "__experimentalDefaultControls": { + "background": true + } + }, "typography": { "fontSize": true, "lineHeight": true,