
* Updated build process to merge ALL attributes (as Gutenberg does) and re-defined the now missing custom templates items in the themes that would now lack them * removed the build step tooling from blockbase * converted build tool to a 'replacement tool' * Removed build scripting from children package files * Removed build scripting from children package files * Run the script to remove child-theme.json files * Update the version number and changelog for Blockbase * Remove the rebuild script, we don't need it anymore Co-authored-by: Ben Dwyer <ben@scruffian.com>
367 lines
7.6 KiB
JSON
367 lines
7.6 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/theme-v1.json",
|
|
"version": 1,
|
|
"customTemplates": [
|
|
{
|
|
"name": "blank",
|
|
"title": "Blank",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
]
|
|
},
|
|
{
|
|
"name": "header-footer-only",
|
|
"title": "Header and Footer Only",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
]
|
|
},
|
|
{
|
|
"name": "page-without-title",
|
|
"title": "Page without title",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
]
|
|
}
|
|
],
|
|
"settings": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"slug": "primary",
|
|
"color": "#60495a",
|
|
"name": "Primary"
|
|
},
|
|
{
|
|
"slug": "secondary",
|
|
"color": "#f4845f",
|
|
"name": "Secondary"
|
|
},
|
|
{
|
|
"slug": "foreground",
|
|
"color": "#1d1e1e",
|
|
"name": "Foreground"
|
|
},
|
|
{
|
|
"slug": "background",
|
|
"color": "#ffffff",
|
|
"name": "Background"
|
|
},
|
|
{
|
|
"slug": "tertiary",
|
|
"color": "#fcf9f5",
|
|
"name": "Tertiary"
|
|
}
|
|
]
|
|
},
|
|
"custom": {
|
|
"button": {
|
|
"border": {
|
|
"color": "var(--wp--custom--color--foreground)",
|
|
"radius": "0",
|
|
"width": "3px"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--custom--color--secondary)",
|
|
"text": "var(--wp--custom--color--background)"
|
|
},
|
|
"hover": {
|
|
"color": {
|
|
"text": "var(--wp--custom--color--foreground)",
|
|
"background": "var(--wp--custom--color--background)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--custom--color--foreground)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--normal)",
|
|
"fontWeight": "700"
|
|
}
|
|
},
|
|
"color": {
|
|
"foreground": "var(--wp--preset--color--foreground)",
|
|
"background": "var(--wp--preset--color--background)",
|
|
"primary": "var(--wp--preset--color--primary)",
|
|
"secondary": "var(--wp--preset--color--secondary)",
|
|
"tertiary": "var(--wp--preset--color--tertiary)"
|
|
},
|
|
"form": {
|
|
"border": {
|
|
"color": "var(--wp--custom--color--foreground)",
|
|
"style": "solid",
|
|
"width": "2px"
|
|
},
|
|
"padding": "20px"
|
|
},
|
|
"fontSizes": {
|
|
"tiny": "16px"
|
|
},
|
|
"body": {
|
|
"typography": {
|
|
"lineHeight": 1.7
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontWeight": "400"
|
|
}
|
|
},
|
|
"layout": {
|
|
"contentSize":"664px"
|
|
},
|
|
"line-height": {
|
|
"body": 1.7
|
|
},
|
|
"gap": {
|
|
"horizontal": "min(20px, 5vw)",
|
|
"vertical": "min(30px, 5vw)"
|
|
},
|
|
"paragraph": {
|
|
"dropcap": {
|
|
"margin": "0 .2em .2em 0",
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--huge)",
|
|
"fontWeight": "400"
|
|
}
|
|
}
|
|
},
|
|
"pullquote": {
|
|
"citation": {
|
|
"typography": {
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400"
|
|
}
|
|
}
|
|
},
|
|
"quote": {
|
|
"citation": {
|
|
"typography": {
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"contentSize": "664px"
|
|
},
|
|
"typography": {
|
|
"customFontSize": true,
|
|
"customLineHeight": true,
|
|
"fontFamilies": [
|
|
{
|
|
"fontFamily": "\"Work Sans\", sans-serif",
|
|
"slug": "work-sans",
|
|
"name": "Work Sans",
|
|
"google": "family=Work+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700"
|
|
}
|
|
],
|
|
"fontSizes": [
|
|
{
|
|
"name": "Small",
|
|
"size": "16px",
|
|
"slug": "small"
|
|
},
|
|
{
|
|
"name": "Normal",
|
|
"size": "18px",
|
|
"slug": "normal"
|
|
},
|
|
{
|
|
"name": "Medium",
|
|
"size": "24px",
|
|
"slug": "medium"
|
|
},
|
|
{
|
|
"name": "Large",
|
|
"size": "32px",
|
|
"slug": "large"
|
|
},
|
|
{
|
|
"name": "Huge",
|
|
"size": "36px",
|
|
"slug": "huge"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/button": {
|
|
"color": {
|
|
"background": "var(--wp--custom--button--color--background)",
|
|
"text": "var(--wp--custom--button--color--text)"
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--custom--button--typography--font-size)",
|
|
"fontWeight": "var(--wp--custom--button--typography--font-weight)"
|
|
}
|
|
},
|
|
"core/code": {
|
|
"border": {
|
|
"width": "0px"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--custom--color--tertiary)"
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--normal)",
|
|
"fontWeight": "400",
|
|
"lineHeight": "1.6"
|
|
}
|
|
},
|
|
"core/navigation": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--normal)"
|
|
}
|
|
},
|
|
"core/navigation-link": {
|
|
"color": {
|
|
"background": "transparent",
|
|
"text": "var(--wp--custom--color--foreground)"
|
|
}
|
|
},
|
|
"core/post-title": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--preset--font-size--huge)",
|
|
"fontWeight": "400",
|
|
"lineHeight": 1.3
|
|
}
|
|
},
|
|
"list": {
|
|
"padding": {
|
|
"left": "calc( 2 * var(--wp--custom--gap--horizontal) )"
|
|
}
|
|
},
|
|
"core/quote": {
|
|
"border": {
|
|
"width": "0px"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "25px",
|
|
"fontWeight": "normal",
|
|
"lineHeight": "40px"
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"typography": {
|
|
"fontStyle": "normal",
|
|
"fontSize": "var(--wp--preset--font-size--large)",
|
|
"fontWeight": "400",
|
|
"lineHeight": "1.4"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"bottom": "calc( var(--wp--custom--gap--horizontal) * 3 )",
|
|
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )",
|
|
"right": "calc( var(--wp--custom--gap--horizontal) * 3 )",
|
|
"top": "calc( var(--wp--custom--gap--horizontal) * 3 )"
|
|
}
|
|
},
|
|
"border": {
|
|
"width": "1px 0 0 0"
|
|
}
|
|
},
|
|
"core/post-template": {
|
|
"elements": {
|
|
"h2": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/query-pagination": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--normal)",
|
|
"fontWeight": "400"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"color": {
|
|
"link": "var(--wp--custom--color--primary)"
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--normal)",
|
|
"fontWeight": "700"
|
|
}
|
|
}
|
|
},
|
|
"elements": {
|
|
"h1": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--preset--font-size--huge)",
|
|
"lineHeight": 1.2
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--preset--font-size--large)",
|
|
"lineHeight": 1.2
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": 1.2
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--preset--font-size--normal)",
|
|
"lineHeight": 1.4
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--preset--font-size--small)",
|
|
"lineHeight": 1.4
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontSize": "var(--wp--preset--font-size--small)",
|
|
"lineHeight": 1.4
|
|
}
|
|
},
|
|
"link": {
|
|
"color": {
|
|
"text": "var(--wp--custom--color--primary)"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--work-sans)",
|
|
"fontWeight": "400"
|
|
},
|
|
"core/site-logo": {
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "35px"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|