themes-wordpress/cookbook/theme.json
alaczek 139188ead9
Cookbook: Add theme (#7687)
* Cookbook: Add theme

Add Cookbook theme.

* Comitting provided changes to cookbook

* Ran theme through CBT: cleaned up a few templates, stripped nav references

* Update footer.php

Remove an extra character.

* Update header and footer patterns

Update the text color in the header;
Wrap text in translation function.

* Update home.php

Wrap text in translation function.

---------

Co-authored-by: Jason Crist <jcrist@pbking.com>
2024-06-18 12:57:27 +02:00

615 lines
No EOL
12 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"customDuotone": true,
"defaultDuotone": false,
"duotone": [
{
"colors": [
"#EE5B2B",
"#F6F6E6"
],
"name": "Default",
"slug": "default"
},
{
"colors": [
"#728d36",
"#F6F6E6"
],
"name": "Gecko",
"slug": "gecko"
},
{
"colors": [
"#e08d68",
"#F6F6E6"
],
"name": "Firewatch",
"slug": "firewatch"
},
{
"colors": [
"#508f9b",
"#F6F6E6"
],
"name": "Java",
"slug": "java"
},
{
"colors": [
"#B4956C",
"#F6F6E6"
],
"name": "Gold",
"slug": "gold"
}
],
"palette": [
{
"color": "#f6f6e6",
"name": "Base",
"slug": "base"
},
{
"color": "#111111",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#111111",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ee5b2b",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#d94426",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "800px",
"wideSize": "1200px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/gabarito_normal_400.ttf"
]
},
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/gabarito_normal_600.ttf"
]
},
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/gabarito_normal_700.ttf"
]
}
],
"fontFamily": "Gabarito",
"slug": "gabarito"
},
{
"fontFace": [
{
"fontFamily": "Bolota",
"fontStyle": "normal",
"fontWeight": "Bold",
"src": [
"file:./assets/fonts/bolota_normal_bold.ttf"
]
}
],
"fontFamily": "Bolota",
"slug": "bolota"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"radius": "0.25rem",
"style": "solid",
"width": "2px"
},
"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": "monospace"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "14px",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/comment-date": {
"typography": {
"fontSize": "14px"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "14px"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "14px"
}
},
"core/comments-pagination": {
"typography": {
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/comments-title": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/image": {
"border": {
"radius": "8px"
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "0.02rem"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-comments-form": {
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--70)",
"top": "var(--wp--preset--spacing--40)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-date": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "14px",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/post-featured-image": {
"border": {
"radius": "4px"
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "14px",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px 0"
},
"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--large)",
"fontStyle": "italic"
}
},
"core/query-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "0.03rem",
"lineHeight": "1"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
},
"core/site-logo": {
"filter": {
"duotone": "var(--wp--preset--duotone--default)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "0.02rem"
}
}
},
"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)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"typography": {
"fontSize": "14px",
"fontStyle": "normal",
"fontWeight": "600",
"textTransform": "uppercase"
}
},
"h1": {
"typography": {
"fontSize": "5rem",
"lineHeight": "0.9"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "var(--wp--preset--font-size--medium)",
"letterSpacing": "0.01rem",
"lineHeight": "1.2"
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "var(--wp--preset--font-size--medium)",
"letterSpacing": "0.01rem"
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0.02rem"
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0.02rem"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "0.8rem",
"letterSpacing": "0.02rem"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--bolota)"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"bottom": "0",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}