From daae30aba2d001e809ccc2c9819b87ffb7ed31c9 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 3 Apr 2020 10:48:22 +0100 Subject: [PATCH] Add gradients support to Group, columns and media & text blocks --- packages/block-library/src/columns/index.js | 2 +- packages/block-library/src/group/index.js | 2 +- packages/block-library/src/media-text/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/block-library/src/columns/index.js b/packages/block-library/src/columns/index.js index 1639f379c5c18d..dec1d8672e6974 100644 --- a/packages/block-library/src/columns/index.js +++ b/packages/block-library/src/columns/index.js @@ -27,7 +27,7 @@ export const settings = { align: [ 'wide', 'full' ], html: false, lightBlockWrapper: true, - __experimentalColor: true, + __experimentalColor: { gradients: true }, }, variations, example: { diff --git a/packages/block-library/src/group/index.js b/packages/block-library/src/group/index.js index 25e01544e42fab..d07cf54f7256d8 100644 --- a/packages/block-library/src/group/index.js +++ b/packages/block-library/src/group/index.js @@ -92,7 +92,7 @@ export const settings = { anchor: true, html: false, lightBlockWrapper: true, - __experimentalColor: true, + __experimentalColor: { gradients: true }, }, transforms: { from: [ diff --git a/packages/block-library/src/media-text/index.js b/packages/block-library/src/media-text/index.js index f415cfd87f5a93..db22f30b70abf0 100644 --- a/packages/block-library/src/media-text/index.js +++ b/packages/block-library/src/media-text/index.js @@ -25,7 +25,7 @@ export const settings = { supports: { align: [ 'wide', 'full' ], html: false, - __experimentalColor: true, + __experimentalColor: { gradients: true }, }, example: { attributes: {