171b46ae04
* Remove theme attribute from erma theme * Remove theme attribute from poesis theme * Add post meta template part in theme.json
909 lines
21 KiB
JSON
909 lines
21 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"version": 2,
|
|
"templateParts": [
|
|
{
|
|
"name": "header-centered",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "header-default",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "header-linear",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "header-minimal",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "header-rounded-logo",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "header-wide",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "header",
|
|
"area": "header"
|
|
},
|
|
{
|
|
"name": "footer",
|
|
"area": "footer"
|
|
},
|
|
{
|
|
"name": "post-meta-icons",
|
|
"area": "uncategorized"
|
|
}
|
|
],
|
|
"customTemplates": [
|
|
{
|
|
"name": "blank",
|
|
"title": "Blank",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
]
|
|
},
|
|
{
|
|
"name": "header-footer-only",
|
|
"title": "Header and Footer Only",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
]
|
|
},
|
|
{
|
|
"name": "footer-only",
|
|
"title": "Footer Only",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
]
|
|
}
|
|
],
|
|
"settings": {
|
|
"appearanceTools": true,
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"slug": "primary",
|
|
"color": "#007cba",
|
|
"name": "Primary"
|
|
},
|
|
{
|
|
"slug": "secondary",
|
|
"color": "#006ba1",
|
|
"name": "Secondary"
|
|
},
|
|
{
|
|
"slug": "foreground",
|
|
"color": "#333333",
|
|
"name": "Foreground"
|
|
},
|
|
{
|
|
"slug": "background",
|
|
"color": "#ffffff",
|
|
"name": "Background"
|
|
},
|
|
{
|
|
"slug": "tertiary",
|
|
"color": "#F0F0F0",
|
|
"name": "Tertiary"
|
|
}
|
|
]
|
|
},
|
|
"custom": {
|
|
"optOutOfParentStyleVariations": false,
|
|
"alignment": {
|
|
"alignedMaxWidth": "50%"
|
|
},
|
|
"button": {
|
|
"border": {
|
|
"color": "var(--wp--custom--color--primary)",
|
|
"radius": "4px",
|
|
"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": "0.667em",
|
|
"bottom": "0.667em",
|
|
"left": "1.333em",
|
|
"right": "1.333em"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--normal)",
|
|
"fontWeight": "normal",
|
|
"lineHeight": 2
|
|
},
|
|
"outline":{
|
|
"color": {
|
|
"text": "var(--wp--custom--color--primary)",
|
|
"background": "var(--wp--custom--color--background)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--custom--color--primary)"
|
|
},
|
|
"hover": {
|
|
"color": {
|
|
"text": "var(--wp--custom--color--background)",
|
|
"background": "var(--wp--custom--color--secondary)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--custom--color--primary)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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)"
|
|
},
|
|
"fontSizes": {
|
|
"x-small": "0.875rem",
|
|
"normal": "1.125rem",
|
|
"huge": "3rem"
|
|
},
|
|
"form": {
|
|
"padding": "calc( 0.5 * var(--wp--custom--gap--horizontal) )",
|
|
"border": {
|
|
"color": "#EFEFEF",
|
|
"radius": "0",
|
|
"style": "solid",
|
|
"width": "2px"
|
|
},
|
|
"checkbox": {
|
|
"checked": {
|
|
"content": "\"\\2715\"",
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)",
|
|
"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": "inherit"
|
|
},
|
|
"label": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--custom--gap--baseline)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)",
|
|
"fontWeight": "normal",
|
|
"letterSpacing": "normal",
|
|
"textTransform": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--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"
|
|
},
|
|
"gap": {
|
|
"baseline": "15px",
|
|
"horizontal": "min(30px, 5vw)",
|
|
"vertical": "min(30px, 5vw)"
|
|
},
|
|
"navigation": {
|
|
"submenu": {
|
|
"border": {
|
|
"color": "var(--wp--custom--color--primary)",
|
|
"radius": "var(--wp--custom--form--border--radius)",
|
|
"style": "var(--wp--custom--form--border--style)",
|
|
"width": "var(--wp--custom--form--border--width)"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--custom--color--background)",
|
|
"text": "var(--wp--custom--color--foreground)"
|
|
}
|
|
}
|
|
},
|
|
"paragraph": {
|
|
"dropcap": {
|
|
"margin": ".1em .1em 0 0",
|
|
"typography": {
|
|
"fontSize": "110px",
|
|
"fontWeight": "400"
|
|
}
|
|
}
|
|
},
|
|
"post-author": {
|
|
"typography": {
|
|
"fontWeight": "normal"
|
|
}
|
|
},
|
|
"post-comment": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--normal)",
|
|
"lineHeight": "var(--wp--custom--body--typography--line-height)"
|
|
}
|
|
},
|
|
"pullquote": {
|
|
"citation": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)",
|
|
"fontFamily": "inherit",
|
|
"fontStyle": "italic"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"textAlign": "left"
|
|
}
|
|
},
|
|
"quote": {
|
|
"citation": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "400"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textAlign": "left"
|
|
}
|
|
},
|
|
"separator": {
|
|
"opacity": 1,
|
|
"width": "150px"
|
|
},
|
|
"table": {
|
|
"figcaption": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)"
|
|
}
|
|
}
|
|
},
|
|
"video": {
|
|
"caption": {
|
|
"textAlign": "center",
|
|
"margin": "var(--wp--custom--gap--vertical) auto"
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"contentSize": "620px",
|
|
"wideSize": "1000px"
|
|
},
|
|
"spacing": {
|
|
"units": [
|
|
"%",
|
|
"px",
|
|
"em",
|
|
"rem",
|
|
"vh",
|
|
"vw"
|
|
]
|
|
},
|
|
"typography": {
|
|
"fontFamilies": [
|
|
{
|
|
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
|
|
"slug": "system-font",
|
|
"name": "System Font"
|
|
},
|
|
{
|
|
"fontFamily": "Arvo, serif",
|
|
"slug": "arvo",
|
|
"name": "Arvo",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Bodoni Moda', serif",
|
|
"slug": "bodoni-moda",
|
|
"name": "Bodoni Moda",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Cabin, sans-serif",
|
|
"slug": "cabin",
|
|
"name": "Cabin",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Chivo, sans-serif",
|
|
"slug": "chivo",
|
|
"name": "Chivo",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Courier Prime', serif",
|
|
"slug": "courier-prime",
|
|
"name": "Courier Prime",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'DM Sans', sans-serif",
|
|
"slug": "dm-sans",
|
|
"name": "DM Sans",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Domine, serif",
|
|
"slug": "domine",
|
|
"name": "Domine",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'EB Garamond', serif",
|
|
"slug": "eb-garamond",
|
|
"name": "EB Garamond",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Fira Sans', sans-serif",
|
|
"slug": "fira-sans",
|
|
"name": "Fira Sans",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Helvetica Neue','Helvetica', 'Arial', sans-serif",
|
|
"slug": "helvetica-neue",
|
|
"name": "Helvetica Neue"
|
|
},
|
|
{
|
|
"fontFamily": "'IBM Plex Mono', monospace",
|
|
"slug": "ibm-plex-mono",
|
|
"name": "IBM Plex Mono",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Inter, sans-serif",
|
|
"slug": "inter",
|
|
"name": "Inter",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Josefin Sans', sans-serif",
|
|
"slug": "josefin-sans",
|
|
"name": "Josefin Sans",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Libre Baskerville', serif",
|
|
"slug": "libre-baskerville",
|
|
"name": "Libre Baskerville",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Libre Franklin', sans-serif",
|
|
"slug": "libre-franklin",
|
|
"name": "Libre Franklin",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Lora, serif",
|
|
"slug": "lora",
|
|
"name": "Lora",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Merriweather, serif",
|
|
"slug": "merriweather",
|
|
"name": "Merriweather",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Montserrat, sans-serif",
|
|
"slug": "montserrat",
|
|
"name": "Montserrat",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Nunito, sans-serif",
|
|
"slug": "nunito",
|
|
"name": "Nunito",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Open Sans', sans-serif",
|
|
"slug": "open-sans",
|
|
"name": "Open Sans",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Overpass, sans-serif",
|
|
"slug": "overpass",
|
|
"name": "Overpass",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Playfair Display', serif",
|
|
"slug": "playfair-display",
|
|
"name": "Playfair Display",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Poppins, sans-serif",
|
|
"slug": "poppins",
|
|
"name": "Poppins",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Raleway, sans-serif",
|
|
"slug": "raleway",
|
|
"name": "Raleway",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Red Hat Display', sans-serif",
|
|
"slug": "red-hat-display",
|
|
"name": "Red Hat Display",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Roboto, sans-serif",
|
|
"slug": "roboto",
|
|
"name": "Roboto",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Roboto Slab', sans-serif",
|
|
"slug": "roboto-slab",
|
|
"name": "Roboto Slab",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "Rubik, sans-serif",
|
|
"slug": "rubik",
|
|
"name": "Rubik",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Source Sans Pro', sans-serif",
|
|
"slug": "source-sans-pro",
|
|
"name": "Source Sans Pro",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Source Serif Pro', sans-serif",
|
|
"slug": "source-serif-pro",
|
|
"name": "Source Serif Pro",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Space Mono', sans-serif",
|
|
"slug": "space-mono",
|
|
"name": "Space Mono",
|
|
"provider": "blockbase-fonts"
|
|
},
|
|
{
|
|
"fontFamily": "'Work Sans', sans-serif",
|
|
"slug": "work-sans",
|
|
"name": "Work Sans",
|
|
"provider": "blockbase-fonts"
|
|
}
|
|
],
|
|
"fontSizes": [
|
|
{
|
|
"name": "Small",
|
|
"size": "1rem",
|
|
"slug": "small"
|
|
},
|
|
{
|
|
"name": "Medium",
|
|
"size": "1.5rem",
|
|
"slug": "medium"
|
|
},
|
|
{
|
|
"name": "Large",
|
|
"size": "1.75rem",
|
|
"slug": "large"
|
|
},
|
|
{
|
|
"name": "Extra Large",
|
|
"size": "2rem",
|
|
"slug": "x-large"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/button": {
|
|
"border": {
|
|
"radius": "var(--wp--custom--button--border--radius)",
|
|
"color": "var(--wp--custom--button--border--color)",
|
|
"style": "var(--wp--custom--button--border--style)",
|
|
"width": "var(--wp--custom--button--border--width)"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--custom--button--color--background)",
|
|
"text": "var(--wp--custom--button--color--text)"
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--button--typography--font-size)",
|
|
"fontWeight": "var(--wp--custom--button--typography--font-weight)",
|
|
"lineHeight": "var(--wp--custom--button--typography--line-height)"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"top": "var(--wp--custom--button--spacing--padding--top)",
|
|
"bottom": "var(--wp--custom--button--spacing--padding--bottom)",
|
|
"left": "var(--wp--custom--button--spacing--padding--left)",
|
|
"right": "var(--wp--custom--button--spacing--padding--right)"
|
|
}
|
|
}
|
|
},
|
|
"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/comment-author-name": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)"
|
|
}
|
|
},
|
|
"core/comment-date": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)"
|
|
}
|
|
},
|
|
"core/comment-edit-link": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)"
|
|
}
|
|
},
|
|
"core/comment-reply-link": {
|
|
"color": {
|
|
"text": "var(--wp--custom--color--primary)"
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)",
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"core/comment-content": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--post-comment--typography--font-size)",
|
|
"lineHeight": "var(--wp--custom--post-comment--typography--line-height)"
|
|
}
|
|
},
|
|
"core/file": {
|
|
"elements": {
|
|
"button": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/gallery": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
}
|
|
},
|
|
"core/list": {
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "calc( 2 * var(--wp--custom--gap--horizontal) )"
|
|
}
|
|
}
|
|
},
|
|
"core/navigation": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--normal)",
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"core/post-title": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "0"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)",
|
|
"lineHeight": "var(--wp--custom--heading--typography--line-height)"
|
|
}
|
|
},
|
|
"core/post-date": {
|
|
"color": {
|
|
"text": "var(--wp--custom--color--foreground)"
|
|
},
|
|
"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--large)"
|
|
},
|
|
"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/search": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--button--typography--font-size)",
|
|
"lineHeight": "var(--wp--custom--body--typography--line-height)"
|
|
}
|
|
},
|
|
"core/separator": {
|
|
"color": {
|
|
"text": "var(--wp--custom--color--foreground)"
|
|
},
|
|
"border": {
|
|
"color": "currentColor",
|
|
"style": "solid",
|
|
"width": "0 0 1px 0"
|
|
}
|
|
},
|
|
"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--custom--font-sizes--normal)",
|
|
"fontStyle": "normal"
|
|
}
|
|
},
|
|
"core/site-tagline": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--x-small)"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--custom--font-sizes--normal)",
|
|
"fontWeight": "700"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
},
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--custom--color--background)",
|
|
"text": "var(--wp--custom--color--foreground)"
|
|
},
|
|
"elements": {
|
|
"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--body-font)",
|
|
"fontSize": "var(--wp--custom--button--typography--font-size)",
|
|
"fontWeight": "var(--wp--custom--button--typography--font-weight)",
|
|
"lineHeight": "var(--wp--custom--button--typography--line-height)",
|
|
"textDecoration": "none"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"top": "calc( var(--wp--custom--button--spacing--padding--top) + var(--wp--custom--button--border--width) )",
|
|
"bottom": "calc( var(--wp--custom--button--spacing--padding--bottom) + var(--wp--custom--button--border--width) )",
|
|
"left": "calc( var(--wp--custom--button--spacing--padding--left) + var(--wp--custom--button--border--width) )",
|
|
"right": "calc( var(--wp--custom--button--spacing--padding--right) + var(--wp--custom--button--border--width) )"
|
|
}
|
|
}
|
|
},
|
|
"h1": {
|
|
"typography": {
|
|
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
|
|
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
|
|
"fontSize": "var(--wp--custom--font-sizes--huge)"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "var(--wp--custom--gap--vertical)",
|
|
"bottom": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
|
|
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
|
|
"fontSize": "var(--wp--preset--font-size--x-large)"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "var(--wp--custom--gap--vertical)",
|
|
"bottom": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"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": {
|
|
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
|
|
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "var(--wp--custom--gap--vertical)",
|
|
"bottom": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontWeight": "var(--wp--custom--heading--typography--font-weight)",
|
|
"lineHeight": "var(--wp--custom--heading--typography--line-height)",
|
|
"fontSize": "var(--wp--custom--font-sizes--normal)"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "var(--wp--custom--gap--vertical)",
|
|
"bottom": "var(--wp--custom--gap--vertical)"
|
|
}
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"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--primary)"
|
|
},
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
":active": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"spacing": {
|
|
"blockGap": "calc(2 * var(--wp--custom--gap--baseline))"
|
|
},
|
|
"typography": {
|
|
"lineHeight": "var(--wp--custom--body--typography--line-height)",
|
|
"fontFamily": "var(--wp--preset--font-family--system-font)",
|
|
"fontSize": "var(--wp--custom--font-sizes--normal)"
|
|
}
|
|
}
|
|
}
|