mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
065c639a2a
This commit ports to core the changes to the classes that deal with theme.json code. See #54336. Props oandregal, spacedmonkey, noisysocks, hellofromtonya, youknowriad. Built from https://develop.svn.wordpress.org/trunk@52049 git-svn-id: http://core.svn.wordpress.org/trunk@51641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
72 lines
925 B
JSON
72 lines
925 B
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"blocks": {
|
|
"*": {
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"name": "Font size name"
|
|
}
|
|
],
|
|
"fontFamilies": [
|
|
{
|
|
"name": "Font family name"
|
|
}
|
|
]
|
|
},
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"name": "Color name"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"name": "Gradient name"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"customTemplates": [
|
|
{
|
|
"title": "Custom template name"
|
|
}
|
|
],
|
|
"templateParts": [
|
|
{
|
|
"title": "Template part name"
|
|
}
|
|
]
|
|
}
|