mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
27d7112e88
Add "description" key to the theme.json i18n schema. Follows r56041. Fixes #61543. Props ramonopoly, oandregal. Built from https://develop.svn.wordpress.org/trunk@58632 git-svn-id: http://core.svn.wordpress.org/trunk@58061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
95 lines
1.3 KiB
JSON
95 lines
1.3 KiB
JSON
{
|
|
"title": "Style variation name",
|
|
"description": "Style variation description",
|
|
"settings": {
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"name": "Font size name"
|
|
}
|
|
],
|
|
"fontFamilies": [
|
|
{
|
|
"name": "Font family name"
|
|
}
|
|
]
|
|
},
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"name": "Color name"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"name": "Gradient name"
|
|
}
|
|
],
|
|
"duotone": [
|
|
{
|
|
"name": "Duotone name"
|
|
}
|
|
]
|
|
},
|
|
"spacing": {
|
|
"spacingSizes": [
|
|
{
|
|
"name": "Space size name"
|
|
}
|
|
]
|
|
},
|
|
"dimensions": {
|
|
"aspectRatios": [
|
|
{
|
|
"name": "Aspect ratio name"
|
|
}
|
|
]
|
|
},
|
|
"blocks": {
|
|
"*": {
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"name": "Font size name"
|
|
}
|
|
],
|
|
"fontFamilies": [
|
|
{
|
|
"name": "Font family name"
|
|
}
|
|
]
|
|
},
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"name": "Color name"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"name": "Gradient name"
|
|
}
|
|
]
|
|
},
|
|
"spacing": {
|
|
"spacingSizes": [
|
|
{
|
|
"name": "Space size name"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"customTemplates": [
|
|
{
|
|
"title": "Custom template name"
|
|
}
|
|
],
|
|
"templateParts": [
|
|
{
|
|
"title": "Template part name"
|
|
}
|
|
]
|
|
}
|