feat: add custom template for about

This commit is contained in:
desmukh
2023-01-26 12:56:08 +05:00
parent 70792b12fa
commit 82a0000db8
2 changed files with 55 additions and 6 deletions

View File

@ -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": {