mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-12 07:38:33 +02:00
This brings over the latest bug fixes and improvements ahead of WordPress 6.1 beta 2, which includes an additional style variation, “Aubergine”.
For a full list of changes being included, see the `twentytwentythree` repository on GitHub: 1b97bb83f1...ac96e8d545
.
Props mikachan, poena, madhudollu, critterverse, beafialho, felipeelia.
See #56383.
Built from https://develop.svn.wordpress.org/trunk@54312
git-svn-id: http://core.svn.wordpress.org/trunk@53871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
716 lines
14 KiB
JSON
716 lines
14 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"version": 2,
|
|
"customTemplates": [
|
|
{
|
|
"name": "blank",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
],
|
|
"title": "Blank"
|
|
},
|
|
{
|
|
"name": "blog-alternative",
|
|
"postTypes": [
|
|
"page"
|
|
],
|
|
"title": "Blog (Alternative)"
|
|
},
|
|
{
|
|
"name": "404",
|
|
"postTypes": [
|
|
"page"
|
|
],
|
|
"title": "404"
|
|
},
|
|
{
|
|
"name": "with-featured-image",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
],
|
|
"title": "With Featured Image"
|
|
},
|
|
{
|
|
"name": "with-cover-block",
|
|
"postTypes": [
|
|
"page",
|
|
"post"
|
|
],
|
|
"title": "With Cover Block"
|
|
}
|
|
],
|
|
"settings": {
|
|
"appearanceTools": true,
|
|
"color": {
|
|
"palette": [
|
|
{
|
|
"color": "#ffffff",
|
|
"name": "Base",
|
|
"slug": "base"
|
|
},
|
|
{
|
|
"color": "#000000",
|
|
"name": "Contrast",
|
|
"slug": "contrast"
|
|
},
|
|
{
|
|
"color": "#9DFF20",
|
|
"name": "Primary",
|
|
"slug": "primary"
|
|
},
|
|
{
|
|
"color": "#345C00",
|
|
"name": "Secondary",
|
|
"slug": "secondary"
|
|
},
|
|
{
|
|
"color": "#F6F6F6",
|
|
"name": "Tertiary",
|
|
"slug": "tertiary"
|
|
}
|
|
]
|
|
},
|
|
"layout": {
|
|
"contentSize": "650px",
|
|
"wideSize": "1000px"
|
|
},
|
|
"spacing": {
|
|
"spacingScale": {
|
|
"steps": 0
|
|
},
|
|
"spacingSizes": [
|
|
{
|
|
"size": "clamp(1.5rem, 5vw, 2rem)",
|
|
"slug": "30",
|
|
"name": "30"
|
|
},
|
|
{
|
|
"size": "clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem)",
|
|
"slug": "40",
|
|
"name": "40"
|
|
},
|
|
{
|
|
"size": "clamp(2.5rem, 8vw, 6.5rem)",
|
|
"slug": "50",
|
|
"name": "50"
|
|
},
|
|
{
|
|
"size": "clamp(3.75rem, 10vw, 7rem)",
|
|
"slug": "60",
|
|
"name": "60"
|
|
},
|
|
{
|
|
"size": "clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem)",
|
|
"slug": "70",
|
|
"name": "70"
|
|
},
|
|
{
|
|
"size": "clamp(7rem, 14vw, 11rem)",
|
|
"slug": "80",
|
|
"name": "80"
|
|
}
|
|
],
|
|
"units": [
|
|
"%",
|
|
"px",
|
|
"em",
|
|
"rem",
|
|
"vh",
|
|
"vw"
|
|
]
|
|
},
|
|
"typography": {
|
|
"dropCap": false,
|
|
"fluid": true,
|
|
"fontFamilies": [
|
|
{
|
|
"fontFace": [
|
|
{
|
|
"fontFamily": "DM Sans",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/dm-sans/DMSans-Regular.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "DM Sans",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/dm-sans/DMSans-Regular-Italic.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "DM Sans",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "700",
|
|
"src": [
|
|
"file:./assets/fonts/dm-sans/DMSans-Bold.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "DM Sans",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "700",
|
|
"src": [
|
|
"file:./assets/fonts/dm-sans/DMSans-Bold-Italic.woff2"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "\"DM Sans\", sans-serif",
|
|
"name": "DM Sans",
|
|
"slug": "dm-sans"
|
|
},
|
|
{
|
|
"fontFace": [
|
|
{
|
|
"fontDisplay": "block",
|
|
"fontFamily": "IBM Plex Mono",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "300",
|
|
"src": [
|
|
"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontDisplay": "block",
|
|
"fontFamily": "IBM Plex Mono",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontDisplay": "block",
|
|
"fontFamily": "IBM Plex Mono",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "400",
|
|
"src": [
|
|
"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontDisplay": "block",
|
|
"fontFamily": "IBM Plex Mono",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "700",
|
|
"src": [
|
|
"file:./assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "'IBM Plex Mono', monospace",
|
|
"name": "IBM Plex Mono",
|
|
"slug": "ibm-plex-mono"
|
|
},
|
|
{
|
|
"fontFace": [
|
|
{
|
|
"fontFamily": "Inter",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "200 900",
|
|
"src": [
|
|
"file:./assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "\"Inter\", sans-serif",
|
|
"name": "Inter",
|
|
"slug": "inter"
|
|
},
|
|
{
|
|
"fontFamily": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
|
|
"name": "System Font",
|
|
"slug": "system-font"
|
|
},
|
|
{
|
|
"fontFace": [
|
|
{
|
|
"fontFamily": "Source Serif Pro",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "normal",
|
|
"fontWeight": "200 900",
|
|
"src": [
|
|
"file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Roman.ttf.woff2"
|
|
]
|
|
},
|
|
{
|
|
"fontFamily": "Source Serif Pro",
|
|
"fontStretch": "normal",
|
|
"fontStyle": "italic",
|
|
"fontWeight": "200 900",
|
|
"src": [
|
|
"file:./assets/fonts/source-serif-pro/SourceSerif4Variable-Italic.ttf.woff2"
|
|
]
|
|
}
|
|
],
|
|
"fontFamily": "\"Source Serif Pro\", serif",
|
|
"name": "Source Serif Pro",
|
|
"slug": "source-serif-pro"
|
|
}
|
|
],
|
|
"fontSizes": [
|
|
{
|
|
"fluid": {
|
|
"min": "0.875rem",
|
|
"max": "1rem"
|
|
},
|
|
"size": "1rem",
|
|
"slug": "small"
|
|
},
|
|
{
|
|
"fluid": {
|
|
"min": "1rem",
|
|
"max": "1.125rem"
|
|
},
|
|
"size": "1.125rem",
|
|
"slug": "medium"
|
|
},
|
|
{
|
|
"size": "1.75rem",
|
|
"slug": "large",
|
|
"fluid": false
|
|
},
|
|
{
|
|
"size": "2.25rem",
|
|
"slug": "x-large",
|
|
"fluid": false
|
|
},
|
|
{
|
|
"size": "10rem",
|
|
"slug": "xx-large",
|
|
"fluid": {
|
|
"min": "4rem",
|
|
"max": "20rem"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"useRootPaddingAwareAlignments": true
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/navigation": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "underline dashed"
|
|
}
|
|
},
|
|
":active": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"core/post-author": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"core/post-content": {
|
|
"elements": {
|
|
"link": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--secondary)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-excerpt": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"core/post-date": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)",
|
|
"fontWeight": "400"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-terms": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"core/post-title": {
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--preset--spacing--30)",
|
|
"top": "var(--wp--preset--spacing--30)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontWeight": "400"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "underline dashed"
|
|
}
|
|
},
|
|
":active": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--secondary)"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/comments-title":{
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--large)"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "var(--wp--preset--spacing--40)"
|
|
}
|
|
}
|
|
},
|
|
"core/comment-author-name": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "underline dashed"
|
|
}
|
|
},
|
|
":active": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--secondary)"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/comment-date": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "underline dashed"
|
|
}
|
|
},
|
|
":active": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--secondary)"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/comment-edit-link": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "underline dashed"
|
|
}
|
|
},
|
|
":active": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--secondary)"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/comment-reply-link": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"core/comments-pagination": {
|
|
"spacing": {
|
|
"margin": {
|
|
"top": "var(--wp--preset--spacing--40)"
|
|
}
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/pullquote": {
|
|
"border": {
|
|
"width": "1px 0"
|
|
}
|
|
},
|
|
"core/query-pagination": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)",
|
|
"fontWeight": "400"
|
|
},
|
|
"elements": {
|
|
"link": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/quote": {
|
|
"border": {
|
|
"width": "1px"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"elements": {
|
|
"link": {
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "underline dashed"
|
|
}
|
|
},
|
|
":active": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--secondary)"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"fontWeight": "normal",
|
|
"lineHeight": "1.4"
|
|
}
|
|
}
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--base)",
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
},
|
|
"elements": {
|
|
"button": {
|
|
"border": {
|
|
"radius": "0"
|
|
},
|
|
"color": {
|
|
"background": "var(--wp--preset--color--primary)",
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
},
|
|
":hover": {
|
|
"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)"
|
|
}
|
|
},
|
|
":active": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--secondary)",
|
|
"text": "var(--wp--preset--color--base)"
|
|
}
|
|
}
|
|
},
|
|
"h1": {
|
|
"typography": {
|
|
"fontSize": "3.625rem",
|
|
"lineHeight": "1.2"
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontSize": "clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 3.25rem)",
|
|
"lineHeight": "1.2"
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontSize": "2.25rem"
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontSize": "clamp(1.75rem, calc(1.75rem + ((1vw - 0.48rem) * 8.4135)), 1.875rem)"
|
|
}
|
|
},
|
|
"h5": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"fontWeight": "700",
|
|
"textTransform": "uppercase"
|
|
}
|
|
},
|
|
"h6": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"textTransform": "uppercase"
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontWeight": "400",
|
|
"lineHeight": "1.4"
|
|
}
|
|
},
|
|
"link": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
},
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
":focus": {
|
|
"typography": {
|
|
"textDecoration": "underline dashed"
|
|
}
|
|
},
|
|
":active": {
|
|
"color": {
|
|
"text": "var(--wp--preset--color--secondary)"
|
|
},
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
},
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
}
|
|
}
|
|
},
|
|
"spacing": {
|
|
"blockGap": "1.5rem",
|
|
"padding": {
|
|
"top": "var(--wp--preset--spacing--40)",
|
|
"right": "var(--wp--preset--spacing--30)",
|
|
"bottom": "var(--wp--preset--spacing--40)",
|
|
"left": "var(--wp--preset--spacing--30)"
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--system-font)",
|
|
"fontSize": "var(--wp--preset--font-size--medium)",
|
|
"lineHeight": "1.6"
|
|
}
|
|
},
|
|
"templateParts": [
|
|
{
|
|
"area": "header",
|
|
"name": "header",
|
|
"title": "Header"
|
|
},
|
|
{
|
|
"area": "footer",
|
|
"name": "footer",
|
|
"title": "Footer"
|
|
},
|
|
{
|
|
"area": "uncategorized",
|
|
"name": "comments",
|
|
"title": "Comments"
|
|
},
|
|
{
|
|
"area": "uncategorized",
|
|
"name": "post-meta",
|
|
"title": "Post Meta"
|
|
}
|
|
]
|
|
}
|