Skip to content

Commit

Permalink
Issue #23 - Add customTemplates and default styles
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed May 8, 2021
1 parent ffeb7a9 commit 1f6b8ff
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@
}

},
"styles": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var( --wp--preset--color--link)"
}
}
}
},
"templateParts": [
{
"name": "header",
Expand All @@ -148,5 +160,32 @@
"name": "footer",
"area": "footer"
}
],
"customTemplates": [
{
"name": "featured-image-left",
"title": "Featured image left",
"postTypes": [
"page",
"post"
]
},
{
"name": "full-width",
"title": "Full width stuff",
"postTypes": [
"page",
"post"

]
},
{
"name": "output-input",
"title": "Output Input Debugging",
"postTypes": [
"page",
"post"
]
}
]
}

0 comments on commit 1f6b8ff

Please sign in to comment.