Add beige background to site

This commit is contained in:
Aadil Ayub 2024-04-29 11:13:06 +05:00
parent 19037858b9
commit 3b6e32a9f4
4 changed files with 58 additions and 42 deletions

View File

@ -1,7 +1,8 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide">
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0","padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide has-white-background-color has-background"
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
<!-- wp:post-content {"align":"wide","backgroundColor":"base-2"} /-->

View File

@ -1,3 +1,6 @@
<!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-white-background-color has-background"
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
@ -18,3 +21,5 @@
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer"} /-->
</div>
<!-- /wp:group -->

View File

@ -1,3 +1,6 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"backgroundColor":"white","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-white-background-color has-background"
style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained","contentSize":"1000px","wideSize":"1300px"}} -->
@ -28,3 +31,5 @@
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer"} /-->
</div>
<!-- /wp:group -->

View File

@ -30,6 +30,11 @@
"color": "#FFF",
"name": "White",
"slug": "white"
},
{
"color": "#F2F2F2",
"name": "Base",
"slug": "base"
}
]
},
@ -111,7 +116,7 @@
},
"styles": {
"color": {
"background": "var(--wp--preset--color--white)"
"background": "var(--wp--preset--color--base)"
},
"blocks": {
"core/button": {