Files
wordpress/wp-content/themes/twentytwentyfive/styles/blocks/03-annotation.json
desrosj b29834538e Bundled Theme: Pin schema version to rest of Twenty Twenty-Five.
All JSON files in the theme should be pinned to the appropriate schema version, not just `theme.json`.

Follow up to [59448].

Props im3dabasia1, poena.
Fixes #62455.
Built from https://develop.svn.wordpress.org/trunk@59451


git-svn-id: http://core.svn.wordpress.org/trunk@58837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-11-22 13:50:18 +00:00

37 lines
678 B
JSON

{
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Annotation",
"slug": "text-annotation",
"blockTypes": ["core/heading", "core/paragraph"],
"styles": {
"css": "width: fit-content",
"typography": {
"fontSize": "var:preset|font-size|small",
"lineHeight": "1.5",
"letterSpacing": "normal"
},
"border": {
"color": "currentColor",
"style": "solid",
"width": "1px",
"radius": "16px"
},
"spacing": {
"padding": {
"top": "0.2rem",
"right": "0.6rem",
"bottom": "0.25rem",
"left": "0.6rem"
}
},
"elements": {
"link": {
"typography": {
"textDecoration": "none"
}
}
}
}
}