Skip to content

Commit

Permalink
Fix duotone support docs (#32440)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende authored Jun 4, 2021
1 parent 0367996 commit 3c5e72e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference-guides/block-api/block-supports.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ supports: {
- Default value: null
- Subproperties:
- `background`: type `boolean`, default value `true`
- `duotone`: type `string`, default value undefined
- `__experimentalDuotone`: type `string`, default value undefined
- `gradients`: type `boolean`, default value `false`
- `text`: type `boolean`, default value `true`

Expand Down Expand Up @@ -196,7 +196,7 @@ supports: {

Duotone presets are sourced from `color.duotone` in [theme.json](/docs/how-to-guides/themes/theme-json.md).

When the block declares support for `color.duotone`, the attributes definition is extended to include the attribute `style`:
When the block declares support for `color.__experimentalDuotone`, the attributes definition is extended to include the attribute `style`:

- `style`: attribute of `object` type with no default assigned.

Expand All @@ -210,7 +210,7 @@ When the block declares support for `color.duotone`, the attributes definition i
color: {
duotone: [
'#FFF',
'#000
'#000'
]
}
}
Expand Down

0 comments on commit 3c5e72e

Please sign in to comment.