mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-27 16:54:30 +00:00
Merges the changes from Core and Gutenberg for the following tests: - WP_REST_Global_Styles_Controller_Test - Tests_Theme_wpThemeJsonResolver - Tests_Theme_wpThemeJsonSchema - Tests_Theme_wpThemeJson This will help ensure the stability of the theme.json style generation. Props ajlende, scruffian, aaronrobertshaw, get_dave, youknowriad. Fixes #60387. git-svn-id: https://develop.svn.wordpress.org/trunk@57662 602fd350-edb4-49c9-b593-d223f7449a82
53 lines
763 B
JSON
53 lines
763 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"version": 2,
|
|
"settings": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"slug": "light",
|
|
"name": "Light",
|
|
"color": "#f3f4f6"
|
|
},
|
|
{
|
|
"slug": "primary",
|
|
"name": "Primary",
|
|
"color": "#3858e9"
|
|
},
|
|
{
|
|
"slug": "dark",
|
|
"name": "Dark",
|
|
"color": "#111827"
|
|
}
|
|
],
|
|
"link": true
|
|
},
|
|
"blocks": {
|
|
"core/post-title": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"slug": "light",
|
|
"name": "Light",
|
|
"color": "#f3f4f6"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"customTemplates": [
|
|
{
|
|
"name": "page-home",
|
|
"title": "Homepage"
|
|
}
|
|
],
|
|
"templateParts": [
|
|
{
|
|
"name": "small-header",
|
|
"title": "Small Header",
|
|
"area": "header"
|
|
}
|
|
]
|
|
}
|