mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-14 03:21:55 +01:00
Most notably in this update, Twenty Twenty-Three becomes the second default theme to have the “Accessibility Ready” tag.
For a full list of changes being included, see the `twentytwentythree` repository on GitHub: ca662828b7...4ea5d832ec
.
Follow up to [54235], [54236], [54312], [54372].
Props mikachan, madhudollu, tahmidulkarim, joen, poena, scruffian, beafialho, colorful-tones, audrasjb, critterverse, luminuu, wildworks, hiyascout, desrosj.
Fixes #56383.
Built from https://develop.svn.wordpress.org/trunk@54467
git-svn-id: http://core.svn.wordpress.org/trunk@54026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
247 lines
4.3 KiB
JSON
247 lines
4.3 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
|
"version": 2,
|
|
"title": "Canary",
|
|
"settings": {
|
|
"color": {
|
|
"duotone": [
|
|
{
|
|
"colors": [
|
|
"#000000",
|
|
"#ffffff"
|
|
],
|
|
"slug": "default-filter",
|
|
"name": "Default filter"
|
|
}
|
|
],
|
|
"palette": [
|
|
{
|
|
"color": "#fdff85",
|
|
"name": "Base",
|
|
"slug": "base"
|
|
},
|
|
{
|
|
"color": "#000000",
|
|
"name": "Contrast",
|
|
"slug": "contrast"
|
|
},
|
|
{
|
|
"color": "#000000",
|
|
"name": "Primary",
|
|
"slug": "primary"
|
|
},
|
|
{
|
|
"color": "#353535",
|
|
"name": "Secondary",
|
|
"slug": "secondary"
|
|
},
|
|
{
|
|
"color": "#ffffff",
|
|
"name": "Tertiary",
|
|
"slug": "tertiary"
|
|
}
|
|
]
|
|
},
|
|
"layout": {
|
|
"wideSize": "650px"
|
|
},
|
|
"typography": {
|
|
"fontSizes": [
|
|
{
|
|
"size": "0.75rem",
|
|
"slug": "small"
|
|
},
|
|
{
|
|
"size": "0.75rem",
|
|
"slug": "medium"
|
|
},
|
|
{
|
|
"size": "0.75rem",
|
|
"slug": "large"
|
|
},
|
|
{
|
|
"size": "0.75rem",
|
|
"slug": "x-large"
|
|
},
|
|
{
|
|
"size": "0.75rem",
|
|
"slug": "xx-large"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"styles": {
|
|
"blocks": {
|
|
"core/comments": {
|
|
"elements": {
|
|
"link": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
},
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/comment-reply-link": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--small)"
|
|
}
|
|
},
|
|
"core/heading": {
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)"
|
|
}
|
|
},
|
|
"core/image": {
|
|
"border": {
|
|
"radius": "100px 0 0 0"
|
|
},
|
|
"filter": {
|
|
"duotone": "var(--wp--preset--duotone--default-filter)"
|
|
}
|
|
},
|
|
"core/navigation": {
|
|
"typography": {
|
|
"textTransform": "lowercase"
|
|
}
|
|
},
|
|
"core/post-content": {
|
|
"elements": {
|
|
"link": {
|
|
"typography": {
|
|
"textDecoration": "underline"
|
|
},
|
|
":hover": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"core/post-featured-image": {
|
|
"border": {
|
|
"radius": "100px 0 0 0"
|
|
},
|
|
"spacing": {
|
|
"margin": {
|
|
"bottom": "0px",
|
|
"left": "0px",
|
|
"right": "0px",
|
|
"top": "0px"
|
|
},
|
|
"padding": {
|
|
"bottom": "0px",
|
|
"left": "0px",
|
|
"right": "0px",
|
|
"top": "0px"
|
|
}
|
|
}
|
|
},
|
|
"core/post-title": {
|
|
"typography": {
|
|
"fontWeight": "700"
|
|
}
|
|
},
|
|
"core/query-pagination": {
|
|
"border": {
|
|
"top": {
|
|
"width": "4px"
|
|
}
|
|
}
|
|
},
|
|
"core/separator": {
|
|
"border": {
|
|
"width": "2px"
|
|
}
|
|
},
|
|
"core/site-title": {
|
|
"typography": {
|
|
"fontWeight": "700",
|
|
"textTransform": "lowercase"
|
|
}
|
|
}
|
|
},
|
|
"elements": {
|
|
"button": {
|
|
":hover": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--base)",
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--preset--color--contrast)",
|
|
"style": "solid",
|
|
"width": "2px"
|
|
}
|
|
},
|
|
":focus": {
|
|
"color": {
|
|
"background": "var(--wp--preset--color--base)",
|
|
"text": "var(--wp--preset--color--contrast)"
|
|
},
|
|
"border": {
|
|
"color": "var(--wp--preset--color--contrast)",
|
|
"style": "solid",
|
|
"width": "2px"
|
|
}
|
|
},
|
|
"border": {
|
|
"radius": "5px",
|
|
"color": "var(--wp--preset--color--contrast)",
|
|
"style": "solid",
|
|
"width": "2px"
|
|
},
|
|
"color": {
|
|
"text": "var(--wp--preset--color--base)"
|
|
},
|
|
"spacing": {
|
|
"padding": {
|
|
"bottom": "0.667em",
|
|
"left": "1.333em",
|
|
"right": "1.333em",
|
|
"top": "0.667em"
|
|
}
|
|
}
|
|
},
|
|
"h1": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"h2": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"h3": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"h4": {
|
|
"typography": {
|
|
"fontSize": "var(--wp--preset--font-size--medium)"
|
|
}
|
|
},
|
|
"heading": {
|
|
"typography": {
|
|
"fontWeight": "700"
|
|
}
|
|
},
|
|
"link": {
|
|
"typography": {
|
|
"textDecoration": "none"
|
|
}
|
|
}
|
|
},
|
|
"typography": {
|
|
"fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)"
|
|
}
|
|
}
|
|
}
|