feat: add custom template for about
This commit is contained in:
26
theme.json
26
theme.json
@ -1,6 +1,15 @@
|
||||
{
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/wp/6.0/theme.json",
|
||||
"customTemplates": [
|
||||
{
|
||||
"name": "about",
|
||||
"postTypes": [
|
||||
"page"
|
||||
],
|
||||
"title": "About page"
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"color": {
|
||||
@ -13,11 +22,6 @@
|
||||
"color": "#F5FBF8",
|
||||
"name": "Background"
|
||||
},
|
||||
{
|
||||
"slug": "foreground",
|
||||
"color": "#dc3e9d",
|
||||
"name": "Foreground"
|
||||
},
|
||||
{
|
||||
"slug": "primary",
|
||||
"color": "#dc3e9d",
|
||||
@ -32,6 +36,16 @@
|
||||
"slug": "button",
|
||||
"color": "#FF7613",
|
||||
"name": "Button color"
|
||||
},
|
||||
{
|
||||
"slug": "primary-light",
|
||||
"color": "#e89cca",
|
||||
"name": "Primary light"
|
||||
},
|
||||
{
|
||||
"slug": "contrast-text",
|
||||
"color": "#FFF",
|
||||
"name": "Contrast text"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -98,7 +112,7 @@
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--background)",
|
||||
"text": "var(--wp--preset--color--foreground)"
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
},
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
|
||||
Reference in New Issue
Block a user