themes-wordpress/mayland-blocks/theme.json

612 lines
No EOL
14 KiB
JSON

{
"version": 1,
"templateParts": [
{
"name": "header",
"area": "header"
},
{
"name": "footer",
"area": "footer"
},
{
"name": "navigation",
"area": "navigation"
},
{
"name": "post-meta",
"area": "Post Meta"
}
],
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"border": {
"customColor": true,
"customRadius": true,
"customStyle": true,
"customWidth": true
},
"color": {
"gradients": [],
"palette": [
{
"slug": "foreground",
"color": "#1a1a1a",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#666666",
"name": "Secondary"
},
{
"slug": "tertiary",
"color": "#add8e6",
"name": "tertiary"
}
]
},
"custom": {
"alignment": {
"alignedMaxWidth": "50%"
},
"button": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"radius": "5px",
"style": "solid",
"width": "2px"
},
"color": {
"background": "var(--wp--custom--color--primary)",
"text": "var(--wp--custom--color--background)"
},
"hover": {
"color": {
"text": "var(--wp--custom--color--background)",
"background": "var(--wp--custom--color--secondary)"
},
"border": {
"color": "var(--wp--custom--color--secondary)"
}
},
"spacing": {
"padding": {
"top": "4px",
"bottom": "4px",
"left": "14px",
"right": "14px"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": 600,
"lineHeight": 2
}
},
"color": {
"foreground": "var(--wp--preset--color--foreground)",
"background": "var(--wp--preset--color--background)",
"primary": "var(--wp--preset--color--primary)",
"secondary": "var(--wp--preset--color--secondary)",
"tertiary": "var(--wp--preset--color--tertiary)"
},
"colorPalettes": [
{
"label": "Featured",
"slug": "palette-1",
"colors": {
"primary": "#C8133E",
"secondary": "#4E2F4B",
"foreground": "#1D1E1E",
"background": "#FFFFFF",
"tertiary": "#F9F9F9"
}
},
{
"label": "Featured",
"slug": "palette-2",
"colors": {
"primary": "#35845D",
"secondary": "#233252",
"foreground": "#242527",
"background": "#EEF4F7",
"tertiary": "#F9F9F9"
}
},
{
"label": "Featured",
"slug": "palette-3",
"colors": {
"primary": "#9FD3E8",
"secondary": "#FBE6AA",
"foreground": "#FFFFFF",
"background": "#1F2527",
"tertiary": "#364043"
}
}
],
"form": {
"padding": "calc( 0.5 * var(--wp--custom--gap--horizontal) )",
"border": {
"color": "#EFEFEF",
"radius": "0",
"style": "solid",
"width": "2px"
},
"checkbox": {
"checked": {
"content": "\"\\2715\"",
"fontSize": "14px",
"position": {
"left": "3px",
"top": "3px"
},
"sizing": {
"height": "12px",
"width": "12px"
}
},
"unchecked": {
"content": "\"\"",
"position": {
"left": "0",
"top": "0.2em"
},
"sizing": {
"height": "16px",
"width": "16px"
}
}
},
"color": {
"background": "transparent",
"boxShadow": "none",
"text": "var(--wp--custom--color--foreground)"
},
"label": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--baseline)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--tiny)",
"fontWeight": "normal",
"letterSpacing": "normal",
"textTransform": "none"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"gallery": {
"caption": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"body": {
"typography": {
"lineHeight": 1.6
}
},
"heading": {
"typography": {
"fontWeight": 400,
"lineHeight": 1.125
}
},
"latest-posts": {
"meta": {
"color": {
"text": "var(--wp--custom--color--primary)"
}
}
},
"layout": {
"contentSize": "620px"
},
"list": {
"spacing": {
"padding": {
"left": "calc( 2 * var(--wp--custom--gap--horizontal) )"
}
}
},
"gap": {
"baseline": "10px",
"horizontal": "min(32px, 5vw)",
"vertical": "min(30px, 5vw)"
},
"paragraph": {
"dropcap": {
"margin": ".1em .1em 0 0",
"typography": {
"fontSize": "110px",
"fontWeight": "400"
}
}
},
"post-author": {
"typography": {
"fontWeight": "normal"
}
},
"post-comment": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": "var(--wp--custom--body--typography--line-height)"
}
},
"pullquote": {
"citation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--tiny)",
"fontFamily": "inherit",
"fontStyle": "italic"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)"
}
}
},
"typography": {
"textAlign": "left"
}
},
"quote": {
"citation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--tiny)",
"fontStyle": "italic",
"fontWeight": "400"
}
},
"typography": {
"textAlign": "left"
}
},
"separator": {
"opacity": 1,
"margin": "var(--wp--custom--gap--vertical) auto",
"width": "150px"
},
"table": {
"figcaption": {
"typography": {
"fontSize": "var(--wp--preset--font-size--tiny)"
}
}
},
"video": {
"caption": {
"textAlign": "center",
"margin": "var(--wp--custom--gap--vertical) auto"
}
},
"width": {
"default": "750px",
"wide": "1022px"
}
},
"layout": {
"contentSize": "782px",
"wideSize": "1000px"
},
"spacing": {
"blockGap": true,
"customPadding": true,
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"Poppins\", sans-serif",
"slug": "poppins",
"name": "Poppins",
"google": "family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900"
},
{
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
"slug": "system-font",
"name": "System Font"
},
{
"fontFamily": "Helvetica Neue, Helvetica, Arial, sans-serif",
"slug": "helvetica-arial"
},
{
"fontFamily": "Geneva, Tahoma, Verdana, sans-serif",
"slug": "geneva-verdana"
},
{
"fontFamily": "Cambria, Georgia, serif",
"slug": "cambria-georgia"
},
{
"fontFamily": "Hoefler Text, Baskerville Old Face, Garamond, Times New Roman, serif",
"slug": "hoefler-times-new-roman"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16.6px",
"slug": "small"
},
{
"name": "Normal",
"size": "20px",
"slug": "normal"
},
{
"name": "Large",
"size": "28.8px",
"slug": "large"
},
{
"name": "Huge",
"size": "34.56px",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "var(--wp--custom--button--border--radius)"
},
"color": {
"background": "var(--wp--custom--button--color--background)",
"text": "var(--wp--custom--button--color--text)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontSize": "var(--wp--custom--button--typography--font-size)",
"fontWeight": "var(--wp--custom--button--typography--font-weight)",
"lineHeight": "var(--wp--custom--button--typography--line-height)"
}
},
"core/code": {
"border": {
"color": "#CCCCCC",
"radius": "0px",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)",
"right": "var(--wp--custom--gap--horizontal)",
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)"
}
},
"core/post-date": {
"color": {
"link": null,
"text": null
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/pullquote": {
"border": {
"style": "solid",
"width": "1px 0"
},
"typography": {
"fontStyle": "italic",
"fontSize": "var(--wp--preset--font-size--huge)"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)",
"right": "var(--wp--custom--gap--horizontal)",
"top": "var(--wp--custom--gap--horizontal)",
"bottom": "var(--wp--custom--gap--horizontal)"
}
}
},
"core/separator": {
"color": {
"text": "var(--wp--custom--color--foreground)"
},
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
}
},
"core/site-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": 700
}
},
"core/quote": {
"border": {
"color": "var(--wp--custom--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--custom--gap--horizontal)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontStyle": "normal"
}
}
},
"color": {
"background": "var(--wp--custom--color--background)",
"text": "var(--wp--custom--color--foreground)"
},
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "41.47px"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--huge)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--large)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "24px"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--normal)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
"fontSize": "var(--wp--preset--font-size--small)"
},
"spacing": {
"margin": {
"top": "var(--wp--custom--gap--vertical)",
"bottom": "var(--wp--custom--gap--vertical)"
}
}
},
"link": {
"color": {
"text": "var(--wp--custom--color--foreground)"
}
}
},
"spacing": {
"blockGap": "calc(2 * var(--wp--custom--gap--baseline))"
},
"typography": {
"lineHeight": "var(--wp--custom--body--typography--line-height)",
"fontFamily": "var(--wp--preset--font-family--poppins)",
"fontSize": "var(--wp--preset--font-size--normal)"
}
}
}