Skip to content

Commit

Permalink
Update theme.json (#8603)
Browse files Browse the repository at this point in the history
Style the separator block.
  • Loading branch information
alaczek authored Jan 21, 2025
1 parent caf7cc8 commit 725873a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stitchery/templates/page-with-featured-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<!-- wp:group {"tagName":"main","metadata":{"name":"Main"},"style":{"spacing":{"blockGap":"0","margin":{"top":"0"}}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:0"><!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"var:preset|spacing|80","padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|80","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--60)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"10.5%"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:post-featured-image {"aspectRatio":"2/3","style":{"border":{"radius":{"topLeft":"500px","topRight":"500px"}}}} /--></div>
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"45%"} -->
<div class="wp-block-column" style="flex-basis:45%"><!-- wp:post-featured-image {"aspectRatio":"2/3","style":{"border":{"radius":{"topLeft":"500px","topRight":"500px"}}}} /--></div>
<!-- /wp:column -->

<!-- wp:column {"width":"35%"} -->
<div class="wp-block-column" style="flex-basis:35%"><!-- wp:post-title {"level":1,"fontSize":"large"} /-->
<!-- wp:column {"width":"45%"} -->
<div class="wp-block-column" style="flex-basis:45%"><!-- wp:post-title {"level":1,"fontSize":"large"} /-->

<!-- wp:post-content {"lock":{"move":false,"remove":true}} /--></div>
<!-- /wp:column --></div>
Expand Down
10 changes: 10 additions & 0 deletions stitchery/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,16 @@
"fontFamily": "var(--wp--preset--font-family--gabriela)"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "dashed",
"width": "0 0 2px 0"
},
"color": {
"text": "var(--wp--preset--color--theme-3)"
}
},
"core/site-title": {
"elements": {
"link": {
Expand Down

0 comments on commit 725873a

Please sign in to comment.