mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
This commit ports to core the changes to the classes that deal with theme.json code. See #54336. Props oandregal, spacedmonkey, noisysocks, hellofromtonya, youknowriad. git-svn-id: https://develop.svn.wordpress.org/trunk@52049 602fd350-edb4-49c9-b593-d223f7449a82
72 lines
1.1 KiB
JSON
72 lines
1.1 KiB
JSON
{
|
|
"version": 1,
|
|
"settings": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"slug": "light",
|
|
"name": "Light",
|
|
"color": "#f5f7f9"
|
|
},
|
|
{
|
|
"slug": "dark",
|
|
"name": "Dark",
|
|
"color": "#000"
|
|
}
|
|
],
|
|
"gradients": [
|
|
{
|
|
"name": "Custom gradient",
|
|
"gradient": "linear-gradient(135deg,rgba(0,0,0) 0%,rgb(0,0,0) 100%)",
|
|
"slug": "custom-gradient"
|
|
}
|
|
],
|
|
"custom": false,
|
|
"customGradient": false
|
|
},
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"name": "Custom",
|
|
"slug": "custom",
|
|
"size": "100px"
|
|
}
|
|
],
|
|
"customFontSize": false,
|
|
"customLineHeight": true
|
|
},
|
|
"spacing": {
|
|
"units": [
|
|
"rem"
|
|
],
|
|
"customPadding": true
|
|
},
|
|
"blocks": {
|
|
"core/paragraph": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"slug": "light",
|
|
"name": "Light",
|
|
"color": "#f5f7f9"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"customTemplates": [
|
|
{
|
|
"name": "page-home",
|
|
"title": "Homepage template"
|
|
}
|
|
],
|
|
"templateParts": [
|
|
{
|
|
"name": "small-header",
|
|
"title": "Small Header",
|
|
"area": "header"
|
|
}
|
|
]
|
|
}
|