Skip to content

Commit

Permalink
theme.json schema: Add settings.color.caption definition (WordPress#6…
Browse files Browse the repository at this point in the history
…0017)

* theme.json schema: Add settings.color.caption definition

* Rebuild docs

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ajitbohra <ajitbohra@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
  • Loading branch information
4 people authored and carstingaxion committed Mar 27, 2024
1 parent e3c376a commit 9d33fdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Settings related to colors.
| text | boolean | true | |
| heading | boolean | true | |
| button | boolean | true | |
| caption | boolean | true | |

---

Expand Down
5 changes: 5 additions & 0 deletions schemas/json/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@
"description": "Allow users to set button colors in a block.",
"type": "boolean",
"default": true
},
"caption": {
"description": "Allow users to set caption colors in a block.",
"type": "boolean",
"default": true
}
},
"additionalProperties": false
Expand Down

0 comments on commit 9d33fdb

Please sign in to comment.