
* 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>
174 lines
3.7 KiB
JSON
174 lines
3.7 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/theme-v1.json",
|
|
"version": 1,
|
|
"settings": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"slug": "primary",
|
|
"color": "#111111",
|
|
"name": "Primary"
|
|
},
|
|
{
|
|
"slug": "secondary",
|
|
"color": "#557769",
|
|
"name": "Secondary"
|
|
},
|
|
{
|
|
"slug": "foreground",
|
|
"color": "#686868",
|
|
"name": "Foreground"
|
|
},
|
|
{
|
|
"slug": "background",
|
|
"color": "#ffffff",
|
|
"name": "Background"
|
|
},
|
|
{
|
|
"slug": "tertiary",
|
|
"color": "#d5e1dc",
|
|
"name": "Tertiary"
|
|
}
|
|
]
|
|
},
|
|
"custom": {
|
|
"separator": {
|
|
"margin": "var(--wp--custom--gap--vertical) auto"
|
|
}
|
|
},
|
|
"layout": {
|
|
"contentSize": "684px",
|
|
"wideSize": "1194px"
|
|
},
|
|
"typography": {
|
|
"customFontSize": true,
|
|
"customLineHeight": true,
|
|
"fontFamilies": [
|
|
{
|
|
"fontFamily": "\"Source Serif Pro\", serif",
|
|
"slug": "source-serif-pro",
|
|
"name": "Source Serif Pro",
|
|
"google": "family=Source+Serif+Pro:ital,wght@0,400;0,700;1,400;1,700"
|
|
},
|
|
{
|
|
"fontFamily": "\"Overpass\", sans-serif",
|
|
"slug": "overpass",
|
|
"name": "Overpass",
|
|
"google": "family=Overpass:ital,wght@0,200;0,400;0,700;1,200;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": "28px",
|
|
"slug": "large"
|
|
},
|
|
{
|
|
"name": "Huge",
|
|
"size": "32px",
|
|
"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--overpass)",
|
|
"fontSize": "var(--wp--custom--button--typography--font-size)",
|
|
"fontWeight": "var(--wp--custom--button--typography--font-weight)",
|
|
"textTransform": "uppercase"
|
|
}
|
|
},
|
|
"core/post-title": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--overpass)",
|
|
"fontSize": "var(--wp--preset--font-size--huge)",
|
|
"lineHeight": 1.2
|
|
},
|
|
"color": {
|
|
"text": "var(--wp--custom--color--primary)"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "1em"
|
|
}
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--huge)"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"elements": {
|
|
"h1": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--overpass)",
|
|
"fontSize": "var(--wp--preset--font-size--huge)"
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--overpass)",
|
|
"fontSize": "var(--wp--preset--font-size--large)"
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--overpass)",
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--overpass)",
|
|
"fontSize": "var(--wp--preset--font-size--normal)"
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--overpass)",
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--overpass)",
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--source-serif-pro)",
|
|
"fontWeight": "400"
|
|
}
|
|
}
|
|
}
|