themes-wordpress/assembler/theme.json
alaczek 81965d093b
Assembler: Fixing minor issues (#7555)
* Update template-page-w-title.php

Add strict type declaration.

* Update theme.json

Add comments template part declaration.
2023-12-15 18:41:12 +11:00

411 lines
No EOL
8.8 KiB
JSON

{
"customTemplates": [
{
"name": "template-page-w-title",
"title": "Pages with Title"
}
],
"settings": {
"appearanceTools": true,
"color": {
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"palette": [
{
"color": "#FFFFFF",
"name": "Color 1",
"slug": "theme-1"
},
{
"color": "#DDDDDD",
"name": "Color 2",
"slug": "theme-2"
},
{
"color": "#BBBBBB",
"name": "Color 3",
"slug": "theme-3"
},
{
"color": "#999999",
"name": "Color 4",
"slug": "theme-4"
},
{
"color": "#1E1E1E",
"name": "Color 5",
"slug": "theme-5"
}
]
},
"custom": {
"spacing-increment": "2",
"spacing-unit": "10"
},
"layout": {
"contentSize": "620px",
"wideSize": "1440px"
},
"spacing": {
"spacingScale": {
"steps": 0
},
"spacingSizes": [
{
"name": "1",
"size": "min(calc(var(--wp--custom--spacing-unit) * (var(--wp--custom--spacing-increment) * 1) * 1px), calc(var(--wp--custom--spacing-increment) * 1.5 * 1vw))",
"slug": "10"
},
{
"name": "2",
"size": "min(calc(var(--wp--custom--spacing-unit) * (var(--wp--custom--spacing-increment) * 2) * 1px), calc(var(--wp--custom--spacing-increment) * 2.2 * 1vw))",
"slug": "20"
},
{
"name": "3",
"size": "min(calc(var(--wp--custom--spacing-unit) * (var(--wp--custom--spacing-increment) * 3) * 1px), calc(var(--wp--custom--spacing-increment) * 2.25 * 1vw))",
"slug": "30"
},
{
"name": "4",
"size": "min(calc(var(--wp--custom--spacing-unit) * (var(--wp--custom--spacing-increment) * 4) * 1px), calc(var(--wp--custom--spacing-increment) * 3 * 1vw))",
"slug": "40"
},
{
"name": "5",
"size": "min(calc(var(--wp--custom--spacing-unit) * (var(--wp--custom--spacing-increment) * 5) * 1px), calc(var(--wp--custom--spacing-increment) * 5 * 1vw))",
"slug": "50"
},
{
"name": "6",
"size": "min(calc(var(--wp--custom--spacing-unit) * (var(--wp--custom--spacing-increment) * 6) * 1px), calc(var(--wp--custom--spacing-increment) * 6 * 1vw))",
"slug": "60"
},
{
"name": "7",
"size": "min(calc(var(--wp--custom--spacing-unit) * (var(--wp--custom--spacing-increment) * 7) * 1px), calc(var(--wp--custom--spacing-increment) * 7 * 1vw))",
"slug": "70"
}
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Inter",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/inter/InterVariable.ttf"
]
},
{
"fontFamily": "Inter",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/inter/InterVariable-Italic.ttf"
]
}
],
"fontFamily": "\"Inter\", sans-serif",
"name": "Inter",
"slug": "inter"
},
{
"fontFace": [
{
"fontFamily": "Gabarito",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 900",
"src": [
"file:./assets/fonts/gabarito/Gabarito-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Gabarito\", sans-serif",
"name": "Gabarito",
"slug": "gabarito"
},
{
"fontFace": [
{
"fontFamily": "Noto Sans Mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/noto-sans/NotoSansMono-VariableFont_wdth,wght.ttf"
]
}
],
"fontFamily": "\"Noto Sans Mono\", monospace",
"name": "Noto Sans Mono",
"slug": "noto-sans-mono"
},
{
"fontFace": [
{
"fontFamily": "Vina Sans",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/vina-sans/VinaSans-Regular.ttf"
]
}
],
"fontFamily": "\"Vina Sans\", sans-serif",
"name": "Vina Sans",
"slug": "vina-sans"
},
{
"fontFace": [
{
"fontFamily": "Ibarra Real Nova",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/ibarra-real-nova/IbarraRealNova-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Ibarra Real Nova\", serif",
"name": "Ibarra Real Nova",
"slug": "ibarra-real-nova"
},
{
"fontFace": [
{
"fontFamily": "Piazzolla",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/piazzolla/Piazzolla-VariableFont_opsz,wght.ttf"
]
}
],
"fontFamily": "\"Piazzolla\", serif",
"name": "Piazzolla",
"slug": "piazzolla"
},
{
"fontFace": [
{
"fontFamily": "Rubik",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/rubik/Rubik-VariableFont_wght.ttf"
]
}
],
"fontFamily": "\"Rubik\", sans-serif",
"name": "Rubik",
"slug": "rubik"
}
],
"fontSizes": [
{
"name": "Small",
"size": "15px",
"slug": "small"
},
{
"name": "Medium",
"size": "26px",
"slug": "medium"
},
{
"name": "Large",
"size": "40.5px",
"slug": "large"
},
{
"name": "Extra Large",
"size": "60.75px",
"slug": "x-large"
},
{
"name": "2X Large",
"size": "95.95px",
"slug": "xx-large"
}
],
"writingMode": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/button": {
"variations": {
"outline": {
"border": {
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "9px",
"left": "19px",
"right": "19px",
"top": "9px"
}
}
}
}
},
"core/buttons": {
"spacing": {
"blockGap": "8px"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-title": {
"css": ":not([class*=\"text-align-\"]){text-align:center;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/site-title": {
"elements": {
"link": {
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
}
},
"color": {
"background": "var(--wp--preset--color--theme-1)",
"text": "var(--wp--preset--color--theme-5)"
},
"css": ".no-underline a { text-decoration: none; }",
"elements": {
"button": {
"border": {
"radius": "6px"
},
"color": {
"background": {
"ref": "styles.color.text"
},
"text": {
"ref": "styles.color.background"
}
},
"spacing": {
"padding": {
"bottom": "10px",
"left": "20px",
"right": "20px",
"top": "10px"
}
},
"typography": {
"fontFamily": {
"ref": "styles.elements.heading.typography.fontFamily"
},
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)",
"lineHeight": "1"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontWeight": {
"ref": "styles.elements.h1.typography.fontWeight"
},
"lineHeight": {
"ref": "styles.elements.h1.typography.lineHeight"
}
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontWeight": "500"
}
},
"link": {
"color": {
"text": {
"ref": "styles.color.text"
}
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--10)",
"padding": {
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter)",
"fontSize": "16px",
"lineHeight": "1.65"
}
},
"templateParts": [
{
"area": "uncategorized",
"name": "comments",
"title": "Comments"
},
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}