171b46ae04
* Remove theme attribute from erma theme * Remove theme attribute from poesis theme * Add post meta template part in theme.json
550 lines
No EOL
11 KiB
JSON
550 lines
No EOL
11 KiB
JSON
{
|
|
"settings": {
|
|
"appearanceTools": true,
|
|
"blocks": {
|
|
"core/post-title": {
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"color": "#000000",
|
|
"name": "Primary",
|
|
"slug": "primary"
|
|
},
|
|
{
|
|
"color": "#205a6c",
|
|
"name": "Secondary",
|
|
"slug": "secondary"
|
|
},
|
|
{
|
|
"color": "#000000",
|
|
"name": "Foreground",
|
|
"slug": "foreground"
|
|
},
|
|
{
|
|
"color": "#ffffff",
|
|
"name": "Background",
|
|
"slug": "background"
|
|
},
|
|
{
|
|
"color": "#F0F0F0",
|
|
"name": "Tertiary",
|
|
"slug": "tertiary"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"color": "#000000",
|
|
"name": "Primary",
|
|
"slug": "primary"
|
|
},
|
|
{
|
|
"color": "#1a7895",
|
|
"name": "Secondary",
|
|
"slug": "secondary"
|
|
},
|
|
{
|
|
"color": "#000000",
|
|
"name": "Foreground",
|
|
"slug": "foreground"
|
|
},
|
|
{
|
|
"color": "#ffffff",
|
|
"name": "Background",
|
|
"slug": "background"
|
|
},
|
|
{
|
|
"color": "#F0F0F0",
|
|
"name": "Tertiary",
|
|
"slug": "tertiary"
|
|
}
|
|
]
|
|
},
|
|
"layout": {
|
|
"contentSize": "620px",
|
|
"wideSize": "1000px"
|
|
},
|
|
"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": "EB Garamond",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_normal_400.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "EB Garamond",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "500",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_normal_500.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "EB Garamond",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "600",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_normal_600.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "EB Garamond",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "700",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_normal_700.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "EB Garamond",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_italic_400.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "EB Garamond",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "500",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_italic_500.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "EB Garamond",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "600",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_italic_600.ttf"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "EB Garamond",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "700",
|
|
"src": [
|
|
"file:./assets/fonts/eb-garamond_italic_700.ttf"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "EB Garamond",
|
|
"slug": "eb-garamond"
|
|
}
|
|
],
|
|
"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/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/comment-author-name": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"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/gallery": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--preset--spacing--50)"
|
|
}
|
|
}
|
|
},
|
|
"core/heading": {
|
|
"typography": {
|
|
"fontStyle": "normal",
|
|
"fontWeight": "500"
|
|
}
|
|
},
|
|
"core/list": {
|
|
"spacing": {
|
|
"padding": {
|
|
"left": "var(--wp--preset--spacing--70)"
|
|
}
|
|
}
|
|
},
|
|
"core/navigation": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium"
|
|
}
|
|
},
|
|
"core/post-author-name": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-date": {
|
|
"color": {
|
|
"text": "var:preset|color|secondary"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"color": {
|
|
"text": "var:preset|color|secondary"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"core/post-terms": {
|
|
"elements": {
|
|
"link": {
|
|
"color": {
|
|
"text": "var:preset|color|secondary"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-title": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"color": {
|
|
"text": "var:preset|color|black"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"color": {
|
|
"text": "var:preset|color|secondary"
|
|
},
|
|
"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": {
|
|
"elements": {
|
|
"link": {
|
|
"color": {
|
|
"text": "var:preset|color|secondary"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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--foreground)"
|
|
}
|
|
},
|
|
"core/site-tagline": {
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|medium"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var:preset|font-size|x-large",
|
|
"fontWeight": "700"
|
|
}
|
|
}
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--background)",
|
|
"text": "var(--wp--preset--color--foreground)"
|
|
},
|
|
"css": "a:any-link {\n cursor: auto;\n text-decoration-thickness: .02em !important;\n text-underline-offset: .20em;\n}",
|
|
"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)"
|
|
},
|
|
"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--background)"
|
|
}
|
|
},
|
|
"border": {
|
|
"radius": "0.25rem"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--primary)",
|
|
"text": "var(--wp--preset--color--background)"
|
|
}
|
|
},
|
|
"h1": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--x-large)"
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)"
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--rubik)",
|
|
"fontWeight": "400",
|
|
"lineHeight": "1.125"
|
|
}
|
|
},
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"color": {
|
|
"text": "var:preset|color|secondary"
|
|
}
|
|
}
|
|
},
|
|
"spacing": {
|
|
"blockGap": "1.5rem",
|
|
"padding": {
|
|
"bottom": "0",
|
|
"left": "0",
|
|
"right": "0",
|
|
"top": "0"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var:preset|font-family|eb-garamond",
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": "1.6"
|
|
}
|
|
},
|
|
"templateParts": [
|
|
{
|
|
"area": "header",
|
|
"name": "header"
|
|
},
|
|
{
|
|
"area": "footer",
|
|
"name": "footer"
|
|
},
|
|
{
|
|
"area": "uncategorized",
|
|
"name": "post-meta"
|
|
}
|
|
],
|
|
"version": 2,
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
|
} |