mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
325e60a744
This changeset is part of the Gutenberg changes merged into WP 6.1. It adds spacing presets support in global style properties. Follow-up to [54211]. Props glendaviesnz, andrewserong, costdev, audrasjb, mukesh27. See #56467. Built from https://develop.svn.wordpress.org/trunk@54272 git-svn-id: http://core.svn.wordpress.org/trunk@53831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
87 lines
1.1 KiB
JSON
87 lines
1.1 KiB
JSON
{
|
|
"title": "Style variation name",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|