themes-wordpress/fontaine/theme.json
Takashi Irie 14902a0f78
Fontaine: Add theme (#7707)
* Fontaine: Add theme

* Fontaine: fixed typos

* Fontaine: provide easier footer template part customisation and change link styles
2024-04-05 13:44:24 -03:00

907 lines
22 KiB
JSON

{
"customTemplates": [
{
"name": "page-work",
"postTypes": [
"page"
],
"title": "Page: Work"
},
{
"name": "page-info",
"postTypes": [
"page"
],
"title": "Page: Info"
}
],
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#ffffff",
"name": "Color 1",
"slug": "theme-1"
},
{
"color": "#EDEAE9",
"name": "Color 2",
"slug": "theme-2"
},
{
"color": "#030fff",
"name": "Color 3",
"slug": "theme-3"
},
{
"color": "#ff0000",
"name": "Color 4",
"slug": "theme-4"
},
{
"color": "#000000",
"name": "Color 5",
"slug": "theme-5"
},
{
"color": "#0C203B1A",
"name": "Color 6",
"slug": "theme-6"
}
],
"text": true
},
"layout": {
"contentSize": "910px"
},
"shadow": {
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"steps": 0
},
"spacingSizes": [
{
"name": "X-Small",
"size": "0.25rem",
"slug": "20"
},
{
"name": "Small",
"size": "0.5rem",
"slug": "30"
},
{
"name": "Medium",
"size": "1rem",
"slug": "40"
},
{
"name": "Large",
"size": "clamp(1.5rem, 2vw, 2rem)",
"slug": "50"
},
{
"name": "X-Large",
"size": "clamp(3rem, 4vw, 4rem)",
"slug": "60"
},
{
"name": "2X-Large",
"size": "clamp(4.5rem, 6vw, 6rem)",
"slug": "70"
},
{
"name": "3X-Large",
"size": "clamp(6rem, 8vw, 8rem)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Overused Grotesk",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/overused-grotesk_normal_300.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/overused-grotesk_normal_400.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/overused-grotesk_normal_500.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/overused-grotesk_normal_600.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/overused-grotesk_normal_700.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/overused-grotesk_normal_800.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "normal",
"fontWeight": "900",
"src": [
"file:./assets/fonts/overused-grotesk_normal_900.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/overused-grotesk_italic_300.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/overused-grotesk_italic_400.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/overused-grotesk_italic_500.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/overused-grotesk_italic_600.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/overused-grotesk_italic_700.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "italic",
"fontWeight": "800",
"src": [
"file:./assets/fonts/overused-grotesk_italic_800.otf"
]
},
{
"fontFamily": "Overused Grotesk",
"fontStyle": "italic",
"fontWeight": "900",
"src": [
"file:./assets/fonts/overused-grotesk_italic_900.otf"
]
}
],
"fontFamily": "Overused Grotesk",
"slug": "overused-grotesk"
}
],
"fontSizes": [
{
"fluid": false,
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": true,
"name": "Medium",
"size": "1.618rem",
"slug": "medium"
},
{
"fluid": true,
"name": "Large",
"size": "2.618rem",
"slug": "large"
},
{
"fluid": true,
"name": "Extra Large",
"size": "4.236rem",
"slug": "x-large"
},
{
"fluid": true,
"name": "Double Extra Large",
"size": "6.854rem",
"slug": "xx-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/archives": {
"css": "& {list-style-type:none;} & li+li{margin-top: 0.25rem;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/button": {
"variations": {
"outline": {
"border": {
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "calc(1rem - 2px)",
"left": "calc(2.5rem - 2px)",
"right": "calc(2.5rem - 2px)",
"top": "calc(1rem - 2px)"
}
}
}
}
},
"core/buttons": {
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)"
}
},
"core/calendar": {
"css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--theme-5);} &.wp-block-calendar table:where(:not(.has-text-color)) td {border-color: var(--wp--preset--color--theme-5);} &.wp-block-calendar table:where(:not(.has-text-color)) th {color: var(--wp--preset--color--theme-2);border-color: var(--wp--preset--color--theme-5);} & :where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--theme-5);color: var(--wp--preset--color--theme-5);}"
},
"core/categories": {
"css": "& {list-style-type:none;} & li+li{margin-top: 0.25rem;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--theme-5)",
"style": "solid",
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--40)",
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
}
},
"core/comment-author-name": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/comment-content": {
"css": "& p{margin-bottom:0;} & p+p{margin-top:var(--wp--preset--spacing--50)}"
},
"core/comment-date": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
}
},
"core/comment-edit-link": {
},
"core/comment-reply-link": {
"elements": {
"link": {
":focus": {
"border": {
"color": "var(--wp--preset--color--theme-4)"
},
"color": {
"background": "var(--wp--preset--color--theme-4)",
"text": "var(--wp--preset--color--theme-1)"
}
},
":hover": {
"border": {
"color": "var(--wp--preset--color--theme-4)"
},
"color": {
"background": "var(--wp--preset--color--theme-4)",
"text": "var(--wp--preset--color--theme-1)"
}
},
"border": {
"color": "var(--wp--preset--color--theme-5)",
"style": "solid",
"width": "2px"
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
},
"spacing": {
"padding": "0.21875rem 1rem"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": 500,
"lineHeight": "1",
"textDecoration": "none"
}
}
}
},
"core/comments-pagination": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
}
},
"core/comments-title": {
"spacing": {
"margin": {
"bottom": "0",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"core/cover": {
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
}
},
"core/image": {
"css": " .wp-element-caption{text-align:center;}"
},
"core/latest-comments": {
"css": "& .wp-block-latest-comments__comment-meta{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:inherit;} & .avatar, .wp-block-latest-comments__comment-avatar{border-radius:0;}",
"spacing": {
"padding": {
"left": "0px"
}
}
},
"core/latest-posts": {
"css": ".wp-block-latest-posts .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)} & .wp-block-latest-posts__post-title{text-decoration: none;}"
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
}
},
"core/loginout": [],
"core/navigation": {
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--theme-5);} & .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{padding:var(--wp--style--block-gap);} & .wp-block-navigation__responsive-container-close{right:var(--wp--style--block-gap);top:var(--wp--style--block-gap);} & .wp-block-page-list li+li{margin-top:0;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": "1"
}
},
"core/page-list": {
"css": "& {list-style-type:none;} & li+li{margin-top: 0.25rem;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/paragraph": {
"css": "& strong{font-weight:600;}",
"typography": {
"lineHeight": "calc(1em + 0.382rem)"
}
},
"core/post-author": {
"css": "& .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{border-radius: 2px;vertical-align:middle;}"
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-comments-form": {
"css": "&.comment-form input:not([type=submit]):not([type=checkbox]){line-height: inherit;} & .comment-form textarea{line-height: inherit;} & .comment-form > *{margin-top:var(--wp--style--block-gap);margin-bottom:0} & .comment-reply-title{font-size:var(--wp--preset--font-size--large);"
},
"core/post-content": {
"elements": {
"heading": {
"spacing": {
"margin": {
"bottom": "0px",
"top": "var(--wp--preset--spacing--60)"
}
}
}
}
},
"core/post-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-excerpt": {
"css": ".wp-block-post-excerpt .wp-block-post-excerpt__excerpt{line-height: inherit;}"
},
"core/post-navigation-link": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
},
"css": ".wp-block-post-terms.taxonomy-post_tag a:before{content:'#';}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontWeight": 400
}
},
"core/pullquote": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "1px 0"
},
"css": ".wp-block-pullquote cite {display:block;margin-top: var(--wp--preset--spacing--50)}",
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "italic"
}
},
"core/query-pagination": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
}
},
"spacing": {
"padding": {
"top": "var(--wp--preset--spacing--80)"
}
}
},
"core/query-pagination-next": {
"css": ".wp-block-query-pagination-next{margin:0;}"
},
"core/query-pagination-numbers": {
"css": ".wp-block-query-pagination-numbers{margin:0;}"
},
"core/query-pagination-previous": {
"css": ".wp-block-query-pagination-previous{margin:0;}"
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": 400
}
},
"core/quote": {
"border": {
"color": "currentColor",
"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/rss": {
},
"core/search": {
"css": "& :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){background-color:#fff;} & :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input{padding: 0 0.5rem;} & .wp-block-search__button.has-icon{padding:0.375rem;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--theme-5)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": 400,
"lineHeight": "calc(1em + 0.382rem)"
}
},
"core/social-links": {
"spacing": {
"blockGap": {
"left": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
}
},
"core/table": {
"css": "& thead{border-bottom-width: 1px;} & tfoot{border-top-width: 1px;} & + .wp-element-caption{text-align:center;}"
},
"core/tag-cloud": {
"css": ".wp-block-tag-cloud.is-style-outline{font-size:var(--wp--preset--font-size--small);line-height:1} &.wp-block-tag-cloud.is-style-outline a {border-radius:999px;padding: 5px 15px;} &.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--theme-1);background-color: var(--wp--preset--color--theme-5);}"
},
"core/term-description": {
"css": "& p+p {margin-top:calc(1em + 0.375rem);}",
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
}
},
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-5)"
},
"elements": {
"button": {
":focus": {
"border": {
"color": "var(--wp--preset--color--theme-4)"
},
"color": {
"background": "var(--wp--preset--color--theme-4)",
"text": "var(--wp--preset--color--theme-1)"
}
},
":hover": {
"border": {
"color": "var(--wp--preset--color--theme-4)"
},
"color": {
"background": "var(--wp--preset--color--theme-4)",
"text": "var(--wp--preset--color--theme-1)"
}
},
"border": {
"color": "var(--wp--preset--color--theme-5)",
"radius": "0",
"style": "solid",
"width": "0"
},
"color": {
"background": "var(--wp--preset--color--theme-5)",
"text": "var(--wp--preset--color--theme-2)"
},
"spacing": {
"padding": {
"bottom": "1rem",
"left": "2.5rem",
"right": "2.5rem",
"top": "1rem"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"caption": {
"color": {
"text": "var(--wp--preset--color--theme-5)"
},
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
},
"padding": {
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"lineHeight": "1.003305005"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"heading": {
"typography": {
"fontWeight": "400",
"lineHeight": "calc(1em + 0.382rem)"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--theme-4)"
}
},
"color": {
"text": "var(--wp--preset--color--theme-3)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--overused-grotesk)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.23"
}
},
"templateParts": [
{
"area": "uncategorized",
"name": "comments",
"title": "Comments"
},
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
},
{
"area": "footer",
"name": "footer-dark",
"title": "Footer Dark"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}