themes-wordpress/goodskin/theme.json
Beatriz Fialho 922bedd384
Goodskin: add theme (#7971)
* Adds Goodskin theme:

Goodskin is a blogging theme designed for skincare blogs.

* Update theme.json

Fix paths to font assets.

* Update two column gallery pattern

Fix image paths.

* Update product ratings pattern

Fix image paths.

* Update home.php

* Removing hidden .DS_store files

* Update the footer to use the pattern.

---------

Co-authored-by: alaczek <ola@bodera.com>
2024-08-06 14:13:14 +10:00

881 lines
No EOL
21 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"palette": [
{
"color": "#ffffff",
"name": "Base",
"slug": "base"
},
{
"color": "#000000",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#000000",
"name": "Primary",
"slug": "primary"
},
{
"color": "#efefea",
"name": "Background",
"slug": "custom-background"
},
{
"color": "#f9d7ff",
"name": "Accent",
"slug": "custom-accent"
}
],
"text": true
},
"layout": {
"contentSize": "780px",
"wideSize": "1020px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"defaultSpacingSizes": false,
"spacingSizes": [
{
"name": "1",
"size": "0.5rem",
"slug": "30"
},
{
"name": "2",
"size": "1.25rem",
"slug": "40"
},
{
"name": "3",
"size": "clamp(1.75rem, 2.2896394vw, 2.5rem)",
"slug": "50"
},
{
"name": "4",
"size": "clamp(2.5rem, 4.5792788vw, 5rem)",
"slug": "60"
},
{
"name": "5",
"size": "clamp(3.75rem, 6.8689181vw, 7.5rem)",
"slug": "70"
},
{
"name": "6",
"size": "clamp(5rem, 9.1585575vw, 10.0rem)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"defaultFontSizes": false,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "\"Instrument Serif\"",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/InstrumentSerif-Regular.ttf"
},
{
"fontFamily": "\"Instrument Serif\"",
"fontStyle": "italic",
"fontWeight": "400",
"src": "file:./assets/fonts/InstrumentSerif-Italic.ttf"
}
],
"fontFamily": "\"Instrument Serif\", serif",
"name": "Instrument Serif",
"slug": "instrument-serif"
},
{
"fontFace": [
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "normal",
"fontWeight": "300",
"src": "file:./assets/fonts/cormorant-garamond_normal_300.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/cormorant-garamond_normal_400.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "normal",
"fontWeight": "500",
"src": "file:./assets/fonts/cormorant-garamond_normal_500.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "normal",
"fontWeight": "600",
"src": "file:./assets/fonts/cormorant-garamond_normal_600.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "normal",
"fontWeight": "700",
"src": "file:./assets/fonts/cormorant-garamond_normal_700.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "italic",
"fontWeight": "300",
"src": "file:./assets/fonts/cormorant-garamond_italic_300.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "italic",
"fontWeight": "700",
"src": "file:./assets/fonts/cormorant-garamond_italic_700.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "italic",
"fontWeight": "600",
"src": "file:./assets/fonts/cormorant-garamond_italic_600.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "italic",
"fontWeight": "500",
"src": "file:./assets/fonts/cormorant-garamond_italic_500.ttf"
},
{
"fontFamily": "\"Cormorant Garamond\"",
"fontStyle": "italic",
"fontWeight": "400",
"src": "file:./assets/fonts/cormorant-garamond_italic_400.ttf"
}
],
"fontFamily": "\"Cormorant Garamond\", serif",
"name": "Cormorant Garamond",
"slug": "cormorant-garamond"
},
{
"fontFace": [
{
"fontFamily": "Archivo",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/Archivo-VariableFont_wdth,wght.ttf"
},
{
"fontFamily": "Archivo",
"fontStyle": "normal",
"fontWeight": "300",
"src": "file:./assets/fonts/Archivo-VariableFont_wdth,wght.ttf"
}
],
"fontFamily": "Archivo, sans-serif",
"name": "Archivo",
"slug": "archivo"
}
],
"fontSizes": [
{
"fluid": {
"max": "0.8rem",
"min": "0.6rem"
},
"name": "Extra Small",
"size": "0.6rem",
"slug": "x-small"
},
{
"fluid": {
"max": "1.4rem",
"min": "1.2rem"
},
"name": "Small",
"size": "1.2rem",
"slug": "small"
},
{
"fluid": {
"max": "1.75rem",
"min": "1.013rem"
},
"name": "Medium",
"size": "1.75rem",
"slug": "medium"
},
{
"fluid": true,
"name": "Large",
"size": "2.1rem",
"slug": "large"
},
{
"fluid": true,
"name": "Extra Large",
"size": "2.52rem",
"slug": "x-large"
},
{
"fluid": true,
"name": "Double Extra Large",
"size": "3.024rem",
"slug": "xx-large"
},
{
"fluid": {
"max": "7.525rem",
"min": "2.1rem"
},
"name": "Huge",
"size": "7.525rem",
"slug": "huge"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/archives": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--40)"
}
}
},
"core/avatar": {
"border": {
"radius": "999px"
}
},
"core/button": {
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
},
"variations": {
"outline": {
"border": {
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "calc(1rem - 2px)",
"left": "calc(1.75rem - 2px)",
"right": "calc(1.75rem - 2px)",
"top": "calc(1rem - 2px)"
}
}
}
}
},
"core/buttons": {
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
}
},
"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,.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-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--base);}"
},
"core/categories": {
"css": "list-style-type: none;",
"spacing": {
"padding": {
"left": "0"
}
},
"typography": {
"lineHeight": "1.5"
}
},
"core/code": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--contrast)",
"left": {
"style": "none",
"width": "0px"
},
"radius": "0",
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"width": "1px"
},
"color": {
"background": "var(--wp--preset--color--custom-background)"
},
"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)"
}
},
"typography": {
"fontFamily": "monospace",
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.6"
}
},
"core/columns": {
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/comment-content": {
"css": "& p{margin-bottom:0;} & p+p{margin-top:var(--wp--preset--spacing--50)}"
},
"core/comment-reply-link": {
"elements": {
"link": {
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"color": "var(--wp--preset--color--contrast)",
"radius": "0",
"style": "solid",
"width": "1px"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"bottom": "0.375rem",
"left": "0.875rem",
"right": "0.875rem",
"top": "0.375rem"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"core/comments-title": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"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/heading": {
"spacing": {
"margin": {
"bottom": "0",
"top": "0"
},
"padding": {
"bottom": "var(--wp--preset--spacing--30)",
"top": "var(--wp--preset--spacing--30)"
}
}
},
"core/image": {
"css": " .wp-element-caption{text-align:center;}",
"filter": {
"duotone": "unset"
}
},
"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__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--40)"
}
},
"typography": {
"lineHeight": "1.4"
}
},
"core/navigation": {
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);} & .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{padding-top:0;} & .has-modal-open .wp-block-navigation__responsive-close {max-width: 100%;}",
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)"
}
},
"core/paragraph": {
"spacing": {
"margin": {
"bottom": "0",
"top": "0"
}
},
"typography": {
"lineHeight": "1.4"
}
},
"core/post-author": {
"css": ".wp-block-post-author .wp-block-post-author__byline{font-size: inherit;} &.wp-block-post-author .wp-block-post-author__bio{font-size:inherit;margin:0;} & .wp-block-post-author__avatar img{border-radius: 999px;vertical-align:middle;}"
},
"core/post-author-name": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--archivo)",
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"core/post-comments-form": {
"css": ".wp-block-post-comments-form .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} & .form-submit {margin-bottom: 0;}"
},
"core/post-content": {
"elements": {
"heading": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--30)",
"top": "var(--wp--preset--spacing--40)"
}
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--30)"
}
},
"core/post-date": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--archivo)",
"fontSize": "0.9rem",
"letterSpacing": "0.04em",
"textTransform": "uppercase"
}
},
"core/post-excerpt": {
"css": ".wp-block-post-excerpt .wp-block-post-excerpt__excerpt{line-height: inherit;}"
},
"core/post-featured-image": {
"filter": {
"duotone": "unset"
}
},
"core/post-navigation-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/post-terms": {
"typography": {
"fontSize": "1.2rem",
"fontStyle": "italic",
"fontWeight": "300"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)"
}
},
"core/pullquote": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--contrast)",
"left": {
"style": "none",
"width": "0px"
},
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"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": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "var(--wp--preset--font-size--xx-large)",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"core/query-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"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--xx-large)",
"lineHeight": "calc(1em + 0.75rem)"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0 0 0 1px"
},
"css": ".wp-block-quote cite {font-style: normal;}",
"spacing": {
"margin": {
"left": "0",
"right": "0"
},
"padding": {
"left": "var(--wp--preset--spacing--40)"
}
},
"typography": {
"fontStyle": "italic"
},
"variations": {
"plain": {
"border": {
"width": "0"
},
"spacing": {
"padding": {
"left": "0"
}
},
"typography": {
"fontStyle": "normal"
}
}
}
},
"core/search": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"css": "& :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){border-color:var(--wp--preset--color--contrast);} ",
"typography": {
"fontFamily": "var(--wp--preset--font-family--cormorant-garamond)",
"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--contrast)"
}
},
"core/site-tagline": {
"typography": {
"fontStyle": "italic",
"fontWeight": "300"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "calc(1em + 0.5rem)",
"textTransform": "lowercase"
}
},
"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);} &.wp-block-tag-cloud.is-style-outline a {border-radius:999px;padding: 1px 16px 1px;} &.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": "& p+p {margin-top:calc(1em + 0.375rem);}"
},
"core/verse": {
"typography": {
"lineHeight": "1.4"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "0"
},
"color": {
"background": "var(--wp--preset--color--custom-accent)",
"text": "var(--wp--preset--color--contrast)"
},
"spacing": {
"padding": {
"bottom": "1rem",
"left": "1.75rem",
"right": "1.75rem",
"top": "1rem"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"caption": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--30)"
},
"padding": {
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"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--small)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontWeight": "500",
"lineHeight": "calc(1em + 0.5rem)"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"padding": {
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--cormorant-garamond)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.2"
}
},
"templateParts": [
{
"area": "uncategorized",
"name": "comments"
},
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"customTemplates": [
{
"name": "wp-custom-template-page-no-title",
"title": "Page without title"
}
],
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}