Skip to content

Commit 2979993

Browse files
levinbarialevinbariat-hamano
authored
Fix accordion gradient background. (WordPress#71802)
Co-authored-by: levinbaria <levinbaria@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
1 parent 84a627f commit 2979993

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/reference-guides/core-blocks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Displays a group of accordion headers and associated expandable content. ([Sourc
1616
- **Experimental:** true
1717
- **Category:** design
1818
- **Allowed Blocks:** core/accordion-content
19-
- **Supports:** align (full, wide), background (backgroundImage, backgroundSize), color (background, gradient, text), interactivity, layout, shadow, spacing (blockGap, margin, padding), ~~html~~
19+
- **Supports:** align (full, wide), background (backgroundImage, backgroundSize), color (background, gradients, text), interactivity, layout, shadow, spacing (blockGap, margin, padding), ~~html~~
2020
- **Attributes:** autoclose, iconPosition, showIcon
2121

2222
## Accordion Content
@@ -28,7 +28,7 @@ Displays a section of content in an accordion, including a header and expandable
2828
- **Category:** design
2929
- **Parent:** core/accordion
3030
- **Allowed Blocks:** core/accordion-header, core/accordion-panel
31-
- **Supports:** color (background, gradient, text), interactivity, layout, shadow, spacing (blockGap, margin)
31+
- **Supports:** color (background, gradients, text), interactivity, layout, shadow, spacing (blockGap, margin)
3232
- **Attributes:** openByDefault
3333

3434
## Accordion Header
@@ -39,7 +39,7 @@ Displays an accordion header. ([Source](https://github.com/WordPress/gutenberg/t
3939
- **Experimental:** true
4040
- **Category:** design
4141
- **Parent:** core/accordion-content
42-
- **Supports:** anchor, color (background, gradient, text), interactivity, shadow, spacing (margin, padding), typography (fontSize, textAlign), ~~align~~
42+
- **Supports:** anchor, color (background, gradients, text), interactivity, shadow, spacing (margin, padding), typography (fontSize, textAlign), ~~align~~
4343
- **Attributes:** iconPosition, level, levelOptions, openByDefault, showIcon, textAlignment, title
4444

4545
## Accordion Panel
@@ -50,7 +50,7 @@ Displays an accordion panel. ([Source](https://github.com/WordPress/gutenberg/tr
5050
- **Experimental:** true
5151
- **Category:** design
5252
- **Parent:** core/accordion-content
53-
- **Supports:** color (background, gradient, text), interactivity, layout, shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight)
53+
- **Supports:** color (background, gradients, text), interactivity, layout, shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight)
5454
- **Attributes:** allowedBlocks, isSelected, openByDefault, templateLock
5555

5656
## Archives

packages/block-library/src/accordion-content/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"supports": {
1212
"color": {
1313
"background": true,
14-
"gradient": true
14+
"gradients": true
1515
},
1616
"interactivity": true,
1717
"spacing": {

packages/block-library/src/accordion-header/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"anchor": true,
1616
"color": {
1717
"background": true,
18-
"gradient": true
18+
"gradients": true
1919
},
2020
"align": false,
2121
"interactivity": true,

packages/block-library/src/accordion-panel/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"supports": {
1111
"color": {
1212
"background": true,
13-
"gradient": true
13+
"gradients": true
1414
},
1515
"interactivity": true,
1616
"spacing": {

packages/block-library/src/accordion/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"color": {
2121
"background": true,
22-
"gradient": true
22+
"gradients": true
2323
},
2424
"__experimentalBorder": {
2525
"color": true,

0 commit comments

Comments
 (0)