1070419495
* Archivo: Prepare for the dotorg submission * Archivo: Added new templates and patterns for Woo * Archivo: Custom Template declaration * Archivo: Update heading type sizes * Archivo Update the min version
597 lines
14 KiB
JSON
597 lines
14 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"version": 2,
|
|
"settings": {
|
|
"appearanceTools": true,
|
|
"color": {
|
|
"custom": true,
|
|
"customGradient": true,
|
|
"palette": [
|
|
{
|
|
"color": "#ffffff",
|
|
"name": "Primary",
|
|
"slug": "primary"
|
|
},
|
|
{
|
|
"color": "#898989",
|
|
"name": "Secondary",
|
|
"slug": "secondary"
|
|
},
|
|
{
|
|
"color": "#ffffff",
|
|
"name": "Foreground",
|
|
"slug": "foreground"
|
|
},
|
|
{
|
|
"color": "#090909",
|
|
"name": "Background",
|
|
"slug": "background"
|
|
},
|
|
{
|
|
"color": "#787878",
|
|
"name": "Tertiary",
|
|
"slug": "tertiary"
|
|
}
|
|
]
|
|
},
|
|
"layout": {
|
|
"contentSize": "400px",
|
|
"wideSize": "1624px"
|
|
},
|
|
"spacing": {
|
|
"spacingScale": {
|
|
"steps": 0
|
|
},
|
|
"spacingSizes": [
|
|
{
|
|
"name": "1",
|
|
"size": "0.75rem",
|
|
"slug": "30"
|
|
},
|
|
{
|
|
"name": "2",
|
|
"size": "1rem",
|
|
"slug": "40"
|
|
},
|
|
{
|
|
"name": "3",
|
|
"size": "1.5rem",
|
|
"slug": "50"
|
|
},
|
|
{
|
|
"name": "4",
|
|
"size": "2rem",
|
|
"slug": "60"
|
|
},
|
|
{
|
|
"name": "5",
|
|
"size": "3rem",
|
|
"slug": "70"
|
|
},
|
|
{
|
|
"name": "6",
|
|
"size": "4rem",
|
|
"slug": "80"
|
|
}
|
|
],
|
|
"units": ["%", "px", "em", "rem", "vh", "vw"]
|
|
},
|
|
"typography": {
|
|
"customFontSize": true,
|
|
"dropCap": false,
|
|
"fluid": false,
|
|
"fontFamilies": [
|
|
{
|
|
"fontFace": [
|
|
{
|
|
"fontFamily": "Archivo",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "100 900",
|
|
"src": [
|
|
"file:./assets/fonts/Archivo-VariableFont_wdth,wght.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "Archivo",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "100 900",
|
|
"src": [
|
|
"file:./assets/fonts/Archivo-Italic-VariableFont_wdth,wght.ttf"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "Archivo",
|
|
"name": "Archivo",
|
|
"slug": "archivo"
|
|
},
|
|
{
|
|
"fontFace": [
|
|
{
|
|
"fontFamily": "Courier Prime",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "700",
|
|
"src": ["file:./assets/fonts/courier-prime_700.ttf"]
|
|
},
|
|
{
|
|
"fontFamily": "Courier Prime",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/courier-prime_regular.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "Courier Prime",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/courier-prime_italic.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "Courier Prime",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "700",
|
|
"src": [
|
|
"file:./assets/fonts/courier-prime_700italic.ttf"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "Courier Prime",
|
|
"name": "Courier Prime",
|
|
"slug": "courier-prime"
|
|
}
|
|
],
|
|
"fontSizes": [
|
|
{
|
|
"name": "Extra Small",
|
|
"size": "0.625rem",
|
|
"slug": "x-small"
|
|
},
|
|
{
|
|
"name": "Small",
|
|
"size": "0.75rem",
|
|
"slug": "small"
|
|
},
|
|
{
|
|
"name": "Medium",
|
|
"size": "0.9rem",
|
|
"slug": "medium"
|
|
},
|
|
{
|
|
"name": "Large",
|
|
"size": "1.296rem",
|
|
"slug": "large"
|
|
},
|
|
{
|
|
"name": "Extra Large",
|
|
"size": "1.866rem",
|
|
"slug": "x-large"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/button": {
|
|
"variations": {
|
|
"outline": {
|
|
"border": {
|
|
"width": "1px"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"bottom": "0.3125rem",
|
|
"left": "1.4375rem",
|
|
"right": "1.4375rem",
|
|
"top": "0.3125rem"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/calendar": {
|
|
"css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) td {border-color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);} & :where(.wp-block-calendar table:not(.has-background) th){background:transparent;}"
|
|
},
|
|
"core/code": {
|
|
"border": {
|
|
"color": "var(--wp--preset--color--foreground)",
|
|
"radius": "0",
|
|
"style": "solid",
|
|
"width": "0.5px"
|
|
},
|
|
"spacing": {
|
|
"padding": "var(--wp--preset--spacing--30)"
|
|
},
|
|
"typography": {
|
|
"fontFamily": "monospace"
|
|
}
|
|
},
|
|
"core/comment-author-name": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)"
|
|
}
|
|
},
|
|
"core/comment-date": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)"
|
|
}
|
|
},
|
|
"core/comment-edit-link": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)"
|
|
}
|
|
},
|
|
"core/comment-reply-link": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)"
|
|
}
|
|
},
|
|
"core/comments-pagination": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)"
|
|
}
|
|
},
|
|
"core/comments-title": {
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "0",
|
|
"bottom": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": "1.388888889"
|
|
}
|
|
},
|
|
"core/cover": {
|
|
"spacing": {
|
|
"padding": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"core/gallery": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--preset--spacing--50)"
|
|
}
|
|
}
|
|
},
|
|
"core/latest-comments": {
|
|
"css": " .wp-block-latest-comments__comment-author{font-size: inherit;} & .wp-block-latest-comments__comment-date{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{margin:0 0 var(--wp--style--block-gap)}&:where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:calc(1em + 0.5rem);}",
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "0"
|
|
}
|
|
}
|
|
},
|
|
"core/latest-posts": {
|
|
"css": " .wp-block-latest-posts__post-author{font-size: inherit;} & .wp-block-latest-posts__post-date{font-size: inherit;} & .wp-block-latest-posts__post-excerpt{margin:0 0 var(--wp--style--block-gap)}"
|
|
},
|
|
"core/list": {
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "var(--wp--preset--spacing--50)"
|
|
}
|
|
}
|
|
},
|
|
"core/navigation": {
|
|
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color: var(--wp--preset--color--contrast);border-width:0.5px}",
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/paragraph": {
|
|
"typography": {
|
|
"lineHeight": "calc(1em + 0.5rem)"
|
|
}
|
|
},
|
|
"core/post-author": {
|
|
"css": ".wp-block-post-author .wp-block-post-author__byline{font-size:inherit;}&.wp-block-post-author .wp-block-post-author__name a{text-decoration:none;}&.wp-block-post-author .wp-block-post-author__bio{font-size:inherit;margin:0;}& .wp-block-post-author__avatar img{margin-top:4px;vertical-align:middle;}"
|
|
},
|
|
"core/post-comments-form": {
|
|
"css": ".wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]){line-height: inherit;}&.wp-block-post-comments-form .comment-form textarea{line-height: inherit;}&.wp-block-post-comments-form .form-submit {margin-bottom: 0;}&.wp-block-post-comments-form .comment-form > *:not(.comment-form-cookies-consent,.comment-subscription-form){margin-top:var(--wp--preset--spacing--50);margin-bottom:0;}& .comment-reply-title{font-size:var(--wp--preset--font-size--medium);line-height:1.388888889;}"
|
|
},
|
|
"core/post-excerpt": {
|
|
"css": ".wp-block-post-excerpt p.wp-block-post-excerpt__excerpt{line-height: inherit;}"
|
|
},
|
|
"core/post-title": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": "1.388888889"
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"border": {
|
|
"color": "var(--wp--preset--color--foreground)",
|
|
"style": "solid",
|
|
"width": "1px 0"
|
|
},
|
|
"css": ".wp-block-pullquote cite{display:block;}",
|
|
"elements": {
|
|
"cite": {
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)",
|
|
"fontStyle": "normal",
|
|
"textTransform": "none"
|
|
}
|
|
}
|
|
},
|
|
"spacing": {
|
|
"padding": "var(--wp--preset--spacing--50)"
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)",
|
|
"fontStyle": "italic"
|
|
}
|
|
},
|
|
"core/query-pagination": {
|
|
"css": ".wp-block-query-pagination .wp-block-query-pagination-next{margin-bottom:0;}&.wp-block-query-pagination .wp-block-query-pagination-previous{margin-bottom:0;}&.wp-block-query-pagination .wp-block-query-pagination-numbers {margin-bottom:0;}",
|
|
"typography": {
|
|
"lineHeight": "1"
|
|
}
|
|
},
|
|
"core/query-title": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": "1.388888889"
|
|
}
|
|
},
|
|
"core/quote": {
|
|
"border": {
|
|
"color": "var(--wp--preset--color--foreground)",
|
|
"style": "solid",
|
|
"width": "0 0 0 1px"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"right": "0",
|
|
"left": "0"
|
|
},
|
|
"padding": {
|
|
"left": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontStyle": "italic"
|
|
},
|
|
"variations": {
|
|
"plain": {
|
|
"border": {
|
|
"width": "0"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "0"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontStyle": "normal"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/search": {
|
|
"css": "&.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:999px;}& .wp-block-search__inside-wrapper{border-radius:999px;}& :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button.has-icon{padding:0.375rem;}"
|
|
},
|
|
"core/separator": {
|
|
"border": {
|
|
"color": "currentColor",
|
|
"style": "solid",
|
|
"width": "0 0 1px 0"
|
|
},
|
|
"color": {
|
|
"text": "var(--wp--preset--color--foreground)"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"fontWeight": "700",
|
|
"lineHeight": "1.388888889"
|
|
}
|
|
},
|
|
"core/tag-cloud": {
|
|
"css": ".wp-block-tag-cloud.is-style-outline{font-size:var(--wp--preset--font-size--small)}&.wp-block-tag-cloud.is-style-outline a {border-radius: 999px;padding: 0 1rem;}&.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base);background-color: var(--wp--preset--color--primary);}"
|
|
},
|
|
"core/term-description": {
|
|
"css": ".wp-block-term-description p+p{margin-top:1.25rem;}"
|
|
}
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--background)",
|
|
"text": "var(--wp--preset--color--foreground)"
|
|
},
|
|
"elements": {
|
|
"button": {
|
|
":active": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--primary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
}
|
|
},
|
|
":focus": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--secondary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
}
|
|
},
|
|
":hover": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--secondary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
}
|
|
},
|
|
"border": {
|
|
"radius": "9999px"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--primary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"bottom": "0.375rem",
|
|
"left": "1.5rem",
|
|
"right": "1.5rem",
|
|
"top": "0.375rem"
|
|
}
|
|
}
|
|
},
|
|
"h1": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)",
|
|
"lineHeight": "1.350308642"
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": "1.388888889"
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)",
|
|
"lineHeight": "calc(1em + 0.5rem)"
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)",
|
|
"lineHeight": "1.2"
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)",
|
|
"lineHeight": "1.2",
|
|
"textTransform": "uppercase"
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-small)",
|
|
"fontWeight": 400,
|
|
"lineHeight": "1.2"
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--archivo)",
|
|
"fontWeight": "700"
|
|
}
|
|
},
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"color": {
|
|
"text": "var(--wp--preset--color--primary)"
|
|
}
|
|
}
|
|
},
|
|
"spacing": {
|
|
"blockGap": "var(--wp--preset--spacing--50)",
|
|
"padding": {
|
|
"right": "var(--wp--preset--spacing--50)",
|
|
"left": "var(--wp--preset--spacing--50)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--archivo)",
|
|
"fontSize": "var(--wp--preset--font-size--small)",
|
|
"lineHeight": "1.666666667"
|
|
}
|
|
},
|
|
"templateParts": [
|
|
{
|
|
"area": "header",
|
|
"name": "header",
|
|
"title": "Header"
|
|
},
|
|
{
|
|
"area": "footer",
|
|
"name": "footer",
|
|
"title": "Footer"
|
|
}
|
|
],
|
|
"customTemplates": [
|
|
{
|
|
"name": "archive-product",
|
|
"postTypes": ["page"],
|
|
"title": "Product Archive"
|
|
},
|
|
{
|
|
"name": "cart",
|
|
"postTypes": ["page"],
|
|
"title": "Cart"
|
|
},
|
|
{
|
|
"name": "checkout",
|
|
"postTypes": ["page"],
|
|
"title": "Checkout"
|
|
},
|
|
{
|
|
"name": "order-confirmation",
|
|
"postTypes": ["page"],
|
|
"title": "Order Confirmation"
|
|
},
|
|
{
|
|
"name": "product-search-results",
|
|
"postTypes": ["page"],
|
|
"title": "Product Search Results"
|
|
},
|
|
{
|
|
"name": "taxonomy-product_cat",
|
|
"postTypes": ["page"],
|
|
"title": "Product Category Archive"
|
|
},
|
|
{
|
|
"name": "taxonomy-product_tag",
|
|
"postTypes": ["page"],
|
|
"title": "Product Tag Archive"
|
|
}
|
|
]
|
|
}
|