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"}} --> <!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"> <div class="wp-block-group">
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} --> <!-- 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"> <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:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /-->
<!-- wp:post-content {"align":"wide","backgroundColor":"base-2"} /--> <!-- wp:post-content {"align":"wide","backgroundColor":"base-2"} /-->

View File

@ -1,7 +1,10 @@
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /--> <!-- 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"}} --> <!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" <div class="wp-block-group"
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"> style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
<!-- wp:spacer {"height":"14px"} --> <!-- wp:spacer {"height":"14px"} -->
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
@ -14,7 +17,9 @@
<!-- wp:spacer {"height":"42px"} --> <!-- wp:spacer {"height":"42px"} -->
<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --> <!-- /wp:spacer -->
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer"} /-->
</div> </div>
<!-- /wp:group --> <!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer"} /-->

View File

@ -1,7 +1,10 @@
<!-- wp:template-part {"slug":"header","theme":"cmt-engineering-theme","tagName":"header","area":"header"} /--> <!-- 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"}} --> <!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained","contentSize":"1000px","wideSize":"1300px"}} -->
<div class="wp-block-group" <div class="wp-block-group"
style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"> style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
<!-- wp:spacer {"height":"14px"} --> <!-- wp:spacer {"height":"14px"} -->
<div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:14px" aria-hidden="true" class="wp-block-spacer"></div>
@ -24,7 +27,9 @@
<!-- wp:spacer {"height":"42px"} --> <!-- wp:spacer {"height":"42px"} -->
<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --> <!-- /wp:spacer -->
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer"} /-->
</div> </div>
<!-- /wp:group --> <!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"cmt-engineering-theme","tagName":"footer","area":"footer"} /-->

View File

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