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

Featured Category: add background color option #6368

Merged
merged 1 commit into from
May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/js/blocks/featured-category/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"html": false,
"color": {
"background": false,
"background": true,
"text": true,
"__experimentalDuotone": ".wc-block-featured-category__background-image"
},
Expand Down
2 changes: 1 addition & 1 deletion assets/js/blocks/featured-category/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ registerBlockType( metadata, {
supports: {
...metadata.supports,
color: {
background: false,
background: true,
text: true,
...( isFeaturePluginBuild() && {
__experimentalDuotone:
Expand Down