themes-wordpress/kaze/theme.json
Takashi Irie 36aa03682e
Kaze: Add theme (#7510)
Add the new Kaze theme - it is a WP.com exclusive Archivo spin-off, see  pNEWy-hGU-p2

---------

Co-authored-by: Dean Sas <dean.sas@automattic.com>
2023-11-30 12:55:30 +00:00

618 lines
No EOL
14 KiB
JSON

{
"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"
}
],
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#dadada",
"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": "Manrope",
"fontStyle": "normal",
"fontWeight": "200",
"src": [
"file:./assets/fonts/manrope_normal_200.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/manrope_normal_300.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/manrope_normal_400.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/manrope_normal_500.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/manrope_normal_600.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/manrope_normal_700.ttf"
]
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/manrope_normal_800.ttf"
]
}
],
"fontFamily": "Manrope",
"slug": "manrope"
}
],
"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": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "0"
}
},
"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": {
"left": "0",
"right": "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--manrope)",
"fontWeight": "700"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--manrope)",
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.666666667"
}
},
"templateParts": [
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}