themes-wordpress/eventual/theme.json
Omar Alshaker f65b35f017
Fix Cover block backround (#7996)
* Update theme.json to fix https://github.com/Automattic/wp-calypso/issues/84247

* Update theme.json
2024-08-06 09:52:17 +10:00

652 lines
13 KiB
JSON

{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": true,
"defaultGradients": true,
"defaultPalette": true,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#ffeecb",
"name": "Base",
"slug": "base"
},
{
"color": "#3858e9",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#33f078",
"name": "Secondary",
"slug": "secondary"
}
],
"text": true
},
"layout": {
"contentSize": "1080px",
"wideSize": "1280px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"increment": 1.5,
"mediumStep": 1.5,
"operator": "*",
"steps": 7,
"unit": "rem"
},
"spacingSizes": [],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [],
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Barlow Condensed",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/barlow-condensed_normal_600.ttf"
]
},
{
"fontFamily": "Barlow Condensed",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/barlow-condensed_italic_600.ttf"
]
}
],
"fontFamily": "Barlow Condensed",
"slug": "barlow-condensed"
},
{
"fontFace": [
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/figtree_normal_400.ttf"
]
},
{
"fontFamily": "Figtree",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/figtree_italic_400.ttf"
]
},
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/figtree_normal_700.ttf"
]
},
{
"fontFamily": "Figtree",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/figtree_italic_700.ttf"
]
}
],
"fontFamily": "Figtree",
"slug": "figtree"
}
],
"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"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"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": "var(--wp--preset--font-size--small)"
}
},
"core/comment-content": {
"typography": {
"fontSize": "2.5rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comments": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"spacing": {
"margin": {
"bottom": "0em",
"top": "1em"
},
"padding": {
"bottom": "0px",
"top": "0px"
}
},
"typography": {
"letterSpacing": "-0.1rem",
"lineHeight": "1"
}
},
"core/list": {
"spacing": {
"margin": {
"bottom": "1rem",
"top": "1rem"
},
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
},
"typography": {
"lineHeight": "1.3"
}
},
"core/list-item": {
"typography": {
"fontSize": "2.5rem",
"letterSpacing": "-0.05rem",
"lineHeight": "1.3"
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "3rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-0.1rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"core/paragraph": {
"spacing": {
"margin": {
"bottom": "1rem",
"top": "1rem"
}
},
"typography": {
"fontSize": "2.5rem",
"letterSpacing": "-0.05rem",
"lineHeight": "1.3",
"textTransform": "none"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-comments-form": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
}
},
"core/post-content": {
"typography": {
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.2"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-excerpt": {
"typography": {
"fontSize": "2rem",
"lineHeight": "1"
}
},
"core/post-terms": {
"typography": {
"fontSize": "2rem",
"lineHeight": "1"
}
},
"core/post-title": {
"color": {
"text": "var(--wp--preset--color--base)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--base)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0rem",
"top": "0rem"
},
"padding": {
"bottom": "0rem",
"top": "0rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--figtree)",
"fontSize": "var(--wp--preset--font-size--x-large)",
"letterSpacing": "-0.1rem",
"lineHeight": "1",
"textTransform": "none"
}
},
"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/quote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"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-tagline": {
"typography": {
"fontSize": "4rem",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "-0.05rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--d-din-exp)",
"fontSize": "3rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-0.1rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"outline": {
"color": "var(--wp--preset--color--contrast)",
"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--contrast)",
"text": "var(--wp--preset--color--base)"
},
"typography": {
"fontSize": "2.5rem",
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": "1"
}
},
"caption": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
},
"h1": {
"typography": {
"fontSize": "7.5rem",
"letterSpacing": "-0.1rem",
"lineHeight": "1"
}
},
"h2": {
"typography": {
"fontSize": "4rem",
"lineHeight": "1"
}
},
"h3": {
"typography": {
"fontSize": "4rem",
"lineHeight": "1"
}
},
"h4": {
"typography": {
"fontSize": "2rem",
"lineHeight": "1"
}
},
"h5": {
"typography": {
"fontSize": "2rem",
"lineHeight": "1"
}
},
"h6": {
"typography": {
"fontSize": "2rem",
"lineHeight": "1"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--barlow-condensed)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-0.1rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "4rem",
"padding": {
"bottom": "0rem",
"left": "2rem",
"right": "2rem",
"top": "0rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--figtree)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}