Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Featured Product: add background color option (#6367)
Browse files Browse the repository at this point in the history
  • Loading branch information
frontdevde authored May 6, 2022
1 parent 6736b3b commit 1503cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/blocks/featured-product/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"html": false,
"color": {
"background": false,
"background": true,
"text": true,
"__experimentalDuotone": ".wc-block-featured-product__background-image"
},
Expand Down
2 changes: 1 addition & 1 deletion assets/js/blocks/featured-product/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ registerBlockType( metadata, {
supports: {
...metadata.supports,
color: {
background: false,
background: true,
text: true,
...( isFeaturePluginBuild() && {
__experimentalDuotone:
Expand Down

0 comments on commit 1503cb2

Please sign in to comment.