themes-wordpress/trailblazer/theme.json
Henrique Iamarino c23b7d0218
Trailblazer: add theme (#7907)
Co-authored-by: Henrique 'Foca' Iamarino <henriquefoca@gmail.com>
2024-07-03 11:13:06 +02:00

661 lines
No EOL
14 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#f4f4f3",
"name": "Primary",
"slug": "primary"
},
{
"color": "#131020",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f4f4f3",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#131020",
"name": "Background",
"slug": "background"
},
{
"color": "#808080",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "900px",
"wideSize": "1200px"
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"theme": {
"steps": 0
}
},
"spacingSizes": [
{
"name": "2X-Small",
"size": "0.5rem",
"slug": "20"
},
{
"name": "X-Small",
"size": "clamp(0.5rem, 1vw, 1rem)",
"slug": "30"
},
{
"name": "Small",
"size": "clamp(0.75rem, 1.5vw, 1.5rem)",
"slug": "40"
},
{
"name": "Medium",
"size": "clamp(1rem, 2vw, 2rem)",
"slug": "50"
},
{
"name": "Large",
"size": "clamp(1.5rem, 3vw, 3rem)",
"slug": "60"
},
{
"name": "X-Large",
"size": "clamp(2rem, 4vw, 4rem)",
"slug": "70"
},
{
"name": "2X-Large",
"size": "clamp(3rem, 6vw, 6rem)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"defaultFontSizes": false,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_regular.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_italic.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700italic.ttf"
]
}
],
"fontFamily": "Libre Franklin",
"slug": "libre-franklin"
},
{
"fontFace": [
{
"fontFamily": "New Century Schoolbook",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/new-century-schoolbook_normal_400.ttf"
]
},
{
"fontFamily": "New Century Schoolbook",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/new-century-schoolbook_italic_400.ttf"
]
}
],
"fontFamily": "New Century Schoolbook",
"slug": "new-century-schoolbook"
}
],
"fontSizes": [
{
"fluid": {
"max": "1rem",
"min": "0.75rem"
},
"name": "Small",
"size": "0.75rem",
"slug": "small"
},
{
"fluid": {
"max": "1.33rem",
"min": "1rem"
},
"name": "Medium",
"size": "1rem",
"slug": "medium"
},
{
"fluid": {
"max": "1.414rem",
"min": "1.25rem"
},
"name": "Large",
"size": "1.414rem",
"slug": "large"
},
{
"fluid": {
"max": "3.998rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3.998rem",
"slug": "x-large"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/avatar": {
"border": {
"radius": "5px"
},
"filter": {
"duotone": "var(--wp--preset--duotone--grayscale)"
}
},
"core/button": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--30)",
"left": "0",
"right": "0",
"top": "var(--wp--preset--spacing--30)"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0.06rem",
"textDecoration": "underline",
"textTransform": "uppercase"
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"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/columns": {
"spacing": {
"blockGap": {
"left": "var(--wp--preset--spacing--20)",
"top": "var(--wp--preset--spacing--30)"
}
}
},
"core/comment-author-name": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/comment-date": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comments-pagination": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"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--30)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "400",
"letterSpacing": "0.03rem",
"textTransform": "uppercase"
}
},
"core/post-content": {
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0rem",
"textTransform": "uppercase"
}
},
"core/post-terms": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0rem",
"textDecoration": "none"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"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": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "4.6rem",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.1"
}
},
"core/query-title": {
"spacing": {
"margin": {
"bottom": "5vh"
}
}
},
"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": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "2px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"core/site-tagline": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-franklin)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "0.03rem",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--primary)"
},
"css": ".no-underline a{text-decoration: none;}",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"fontSize": "clamp(0.825rem, 0.825rem + ((1vw - 0.48rem) * 0.458), 1.0625rem)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"caption": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"h1": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--x-large)",
"letterSpacing": "-0.03rem",
"lineHeight": "1"
}
},
"h2": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "700",
"letterSpacing": "-0.03rem"
}
},
"h3": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "700",
"letterSpacing": "-0.02rem",
"textTransform": "none"
}
},
"h4": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700",
"letterSpacing": "-0.02rem"
}
},
"h5": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
},
"h6": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "underline"
}
}
},
"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--new-century-schoolbook)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": 1.4
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}