Commit dd86b176d55 for woocommerce
commit dd86b176d5570bb53ce2ce4f0ee389fdeff29c76
Author: Luigi Teschio <gigitux@gmail.com>
Date: Tue Oct 20 09:24:18 2026 +0200
Fix Purple theme lint and formatting issues (#69944)
* add label
* Add shared linting and WordPress validation for themes
* Add changelog entry for shared theme validation
* Register theme and CLI checks in monorepo CI
* Add changelog entries for theme CI coverage
* Mount themes directly for WordPress Theme Check
* clean up readme
* Simplify theme discovery and build ZIPs with wp-scripts
* Add changelog entries for native theme ZIP packaging
* Use root ESLint configuration for theme CLI scripts
* Update changelog for shared theme CLI linting
* clean up readme
* Reuse the theme environment runner for Theme Check
* Update changelog for shared theme environment runner
* Inherit shared lint configuration in the theme CLI
* Update changelog for inherited theme CLI lint rules
* improve scripts
* add label
* Add shared linting and WordPress validation for themes
* Add changelog entry for shared theme validation
* Register theme and CLI checks in monorepo CI
* Add changelog entries for theme CI coverage
* Mount themes directly for WordPress Theme Check
* clean up readme
* Simplify theme discovery and build ZIPs with wp-scripts
* Add changelog entries for native theme ZIP packaging
* Use root ESLint configuration for theme CLI scripts
* Update changelog for shared theme CLI linting
* clean up readme
* Reuse the theme environment runner for Theme Check
* Update changelog for shared theme environment runner
* Inherit shared lint configuration in the theme CLI
* Update changelog for inherited theme CLI lint rules
* improve scripts
* update configuration
* restore change
* clean up configuration
* remove markdown-cli package
* improve logic
* fix setup
* improve logic
* refresh pnpm-lock
* Fix Purple theme lint and formatting issues
* Add changelog entry for Purple lint fixes
* Clarify changelog scope for Purple lint fixes
* refresh pnpm-lock
diff --git a/themes/purple/assets/css/woocommerce-11.1.css b/themes/purple/assets/css/woocommerce-11.1.css
index adbe74a9dca..36336495074 100644
--- a/themes/purple/assets/css/woocommerce-11.1.css
+++ b/themes/purple/assets/css/woocommerce-11.1.css
@@ -14,6 +14,7 @@
margin-bottom: 0;
}
.woocommerce.wc-block-catalog-sorting label,
-.woocommerce.wc-block-catalog-sorting.wc-block-catalog-sorting label.orderby-label {
+.woocommerce.wc-block-catalog-sorting.wc-block-catalog-sorting
+ label.orderby-label {
margin: 0;
}
diff --git a/themes/purple/assets/css/woocommerce-11.2.css b/themes/purple/assets/css/woocommerce-11.2.css
index 994d5b45ab8..3c5ce1aa011 100644
--- a/themes/purple/assets/css/woocommerce-11.2.css
+++ b/themes/purple/assets/css/woocommerce-11.2.css
@@ -6,13 +6,13 @@
* Fixed upstream in https://github.com/woocommerce/woocommerce/pull/69150.
*/
.wp-block-product-specifications-item__value p {
- margin: 0
+ margin: 0;
}
/* Checkbox alignment for reviews form.
* Fixed upstream in https://github.com/woocommerce/woocommerce/pull/68696.
*/
- .wp-block-woocommerce-product-review-form .comment-form-cookies-consent {
+.wp-block-woocommerce-product-review-form .comment-form-cookies-consent {
align-items: flex-start;
}
diff --git a/themes/purple/assets/js/woocommerce-notice.js b/themes/purple/assets/js/woocommerce-notice.js
index 6a3b82e8479..bf4fa4e6350 100644
--- a/themes/purple/assets/js/woocommerce-notice.js
+++ b/themes/purple/assets/js/woocommerce-notice.js
@@ -1,9 +1,13 @@
-/* global ajaxurl, purpleWooCommerceNotice */
+/* global ajaxurl, jQuery, purpleWooCommerceNotice */
( function ( $ ) {
- $( document ).on( 'click', '#purple-woocommerce-notice .notice-dismiss', function () {
- $.post( ajaxurl, {
- action: 'purple_dismiss_woocommerce_notice',
- nonce: purpleWooCommerceNotice.nonce
- } );
- } );
+ $( document ).on(
+ 'click',
+ '#purple-woocommerce-notice .notice-dismiss',
+ function () {
+ $.post( ajaxurl, {
+ action: 'purple_dismiss_woocommerce_notice',
+ nonce: purpleWooCommerceNotice.nonce,
+ } );
+ }
+ );
} )( jQuery );
diff --git a/themes/purple/changelog/add-shared-theme-linting b/themes/purple/changelog/add-shared-theme-linting
new file mode 100644
index 00000000000..54d83e58809
--- /dev/null
+++ b/themes/purple/changelog/add-shared-theme-linting
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Apply Purple lint fixes and normalize formatting; no intended storefront change.
diff --git a/themes/purple/parts/checkout-header.html b/themes/purple/parts/checkout-header.html
index b56b0716c26..63448e25b1d 100644
--- a/themes/purple/parts/checkout-header.html
+++ b/themes/purple/parts/checkout-header.html
@@ -1,8 +1,13 @@
<!-- wp:group {"metadata":{"name":"Checkout Header"},"style":{"spacing":{"blockGap":"0","padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
-<div class="wp-block-group"
- style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">
+<div
+ class="wp-block-group"
+ style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)"
+>
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"10.5px","bottom":"10.5px"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
- <div class="wp-block-group alignwide" style="padding-top:10.5px;padding-bottom:10.5px">
+ <div
+ class="wp-block-group alignwide"
+ style="padding-top:10.5px;padding-bottom:10.5px"
+ >
<!-- wp:site-title {"level":0,"style":{"typography":{"lineHeight":"1.23"}}} /-->
</div>
<!-- /wp:group -->
diff --git a/themes/purple/parts/external-product-add-to-cart-with-options.html b/themes/purple/parts/external-product-add-to-cart-with-options.html
index 705b43a5cd8..94d2c65dc6c 100644
--- a/themes/purple/parts/external-product-add-to-cart-with-options.html
+++ b/themes/purple/parts/external-product-add-to-cart-with-options.html
@@ -1,3 +1,5 @@
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
-<div class="wp-block-group"><!-- wp:woocommerce/product-button {"textAlign":"left"} /--></div>
+<div class="wp-block-group">
+ <!-- wp:woocommerce/product-button {"textAlign":"left"} /-->
+</div>
<!-- /wp:group -->
diff --git a/themes/purple/parts/grouped-product-add-to-cart-with-options.html b/themes/purple/parts/grouped-product-add-to-cart-with-options.html
index e5465dd82c4..52e21f53d24 100644
--- a/themes/purple/parts/grouped-product-add-to-cart-with-options.html
+++ b/themes/purple/parts/grouped-product-add-to-cart-with-options.html
@@ -1,10 +1,18 @@
<!-- wp:woocommerce/add-to-cart-with-options-grouped-product-selector -->
-<div class="wp-block-woocommerce-add-to-cart-with-options-grouped-product-selector" role="list">
+<div
+ class="wp-block-woocommerce-add-to-cart-with-options-grouped-product-selector"
+ role="list"
+>
<!-- wp:woocommerce/add-to-cart-with-options-grouped-product-item -->
- <div class="wp-block-woocommerce-add-to-cart-with-options-grouped-product-item" role="listitem">
+ <div
+ class="wp-block-woocommerce-add-to-cart-with-options-grouped-product-item"
+ role="listitem"
+ >
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|10","bottom":"var:preset|spacing|10"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"}} -->
- <div class="wp-block-group"
- style="margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10)">
+ <div
+ class="wp-block-group"
+ style="margin-top:var(--wp--preset--spacing--10);margin-bottom:var(--wp--preset--spacing--10)"
+ >
<!-- wp:woocommerce/add-to-cart-with-options-grouped-product-item-selector /-->
<!-- wp:woocommerce/add-to-cart-with-options-grouped-product-item-label {"style":{"layout":{"selfStretch":"fill"},"spacing":{"margin":{"top":"0","bottom":"0"}},"typography":{"fontWeight":400}}} /-->
@@ -22,5 +30,7 @@
</div>
<!-- /wp:woocommerce/add-to-cart-with-options-grouped-product-selector -->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
-<div class="wp-block-group"><!-- wp:woocommerce/product-button {"textAlign":"left"} /--></div>
+<div class="wp-block-group">
+ <!-- wp:woocommerce/product-button {"textAlign":"left"} /-->
+</div>
<!-- /wp:group -->
diff --git a/themes/purple/parts/header-alternative.html b/themes/purple/parts/header-alternative.html
index a412ddf915f..2a13aa4803c 100644
--- a/themes/purple/parts/header-alternative.html
+++ b/themes/purple/parts/header-alternative.html
@@ -1,23 +1,37 @@
<!-- wp:group {"metadata":{"name":"Alternative header"},"style":{"spacing":{"blockGap":"0","padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
-<div class="wp-block-group"
- style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">
+<div
+ class="wp-block-group"
+ style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)"
+>
<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull">
<!-- wp:columns {"verticalAlignment":"center","isStackedOnMobile":false,"align":"wide"} -->
- <div class="wp-block-columns alignwide are-vertically-aligned-center is-not-stacked-on-mobile">
+ <div
+ class="wp-block-columns alignwide are-vertically-aligned-center is-not-stacked-on-mobile"
+ >
<!-- wp:column {"verticalAlignment":"center","width":"35%"} -->
- <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:35%">
+ <div
+ class="wp-block-column is-vertically-aligned-center"
+ style="flex-basis:35%"
+ >
<!-- wp:navigation {"textColor":"theme-2","overlay":"purple-navigation-overlay-alternative","overlayBackgroundColor":"theme-1","overlayTextColor":"theme-2","metadata":{"ignoredHookedBlocks":["woocommerce/customer-account"]},"fontSize":"medium"} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"30%"} -->
- <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:30%">
- <!-- wp:site-title {"level":0,"style":{"typography":{"textAlign":"center"}}} /--></div>
+ <div
+ class="wp-block-column is-vertically-aligned-center"
+ style="flex-basis:30%"
+ >
+ <!-- wp:site-title {"level":0,"style":{"typography":{"textAlign":"center"}}} /-->
+ </div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"35%"} -->
- <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:35%">
+ <div
+ class="wp-block-column is-vertically-aligned-center"
+ style="flex-basis:35%"
+ >
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
<div class="wp-block-group">
<!-- wp:pattern {"slug":"purple/hidden-header-search"} /-->
diff --git a/themes/purple/parts/header.html b/themes/purple/parts/header.html
index 08dcf452bba..baadc38e63a 100644
--- a/themes/purple/parts/header.html
+++ b/themes/purple/parts/header.html
@@ -1,10 +1,13 @@
<!-- wp:group {"metadata":{"name":"Default header"},"style":{"spacing":{"blockGap":"0","padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
-<div class="wp-block-group"
- style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">
+<div
+ class="wp-block-group"
+ style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)"
+>
<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide">
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
- <div class="wp-block-group"><!-- wp:site-title {"level":0} /-->
+ <div class="wp-block-group">
+ <!-- wp:site-title {"level":0} /-->
<!-- wp:navigation {"overlayMenu":"never","metadata":{"ignoredHookedBlocks":["woocommerce/customer-account"],"blockVisibility":{"viewport":{"tablet":false,"mobile":false}}},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"wrap"}} /-->
</div>
@@ -17,9 +20,11 @@
<!-- wp:woocommerce/customer-account {"displayStyle":"icon_only","iconStyle":"line","iconClass":"wc-block-customer-account__account-icon"} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"8px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
- <div class="wp-block-group"><!-- wp:woocommerce/mini-cart /-->
+ <div class="wp-block-group">
+ <!-- wp:woocommerce/mini-cart /-->
- <!-- wp:navigation {"overlayMenu":"always","overlay":"purple-navigation-overlay","metadata":{"ignoredHookedBlocks":["woocommerce/customer-account"],"blockVisibility":{"viewport":{"desktop":false}}},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"wrap"}} /--></div>
+ <!-- wp:navigation {"overlayMenu":"always","overlay":"purple-navigation-overlay","metadata":{"ignoredHookedBlocks":["woocommerce/customer-account"],"blockVisibility":{"viewport":{"desktop":false}}},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"wrap"}} /-->
+ </div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
diff --git a/themes/purple/parts/purple-navigation-overlay-alternative.html b/themes/purple/parts/purple-navigation-overlay-alternative.html
index 348a4ea70f8..fcf5f48e1d3 100644
--- a/themes/purple/parts/purple-navigation-overlay-alternative.html
+++ b/themes/purple/parts/purple-navigation-overlay-alternative.html
@@ -1,12 +1,22 @@
<!-- wp:group {"metadata":{"name":"Purple navigation overlay alternative"},"style":{"dimensions":{"minHeight":"100vh"}},"backgroundColor":"theme-1","layout":{"type":"default"}} -->
-<div class="wp-block-group has-theme-1-background-color has-background" style="min-height:100vh">
+<div
+ class="wp-block-group has-theme-1-background-color has-background"
+ style="min-height:100vh"
+>
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|10","bottom":"var:preset|spacing|10"}},"border":{"bottom":{"color":"var:preset|color|theme-6","width":"1px"}},"dimensions":{"minHeight":"68px"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
- <div class="wp-block-group alignfull"
- style="border-bottom-color:var(--wp--preset--color--theme-6);border-bottom-width:1px;min-height:68px;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--50)">
+ <div
+ class="wp-block-group alignfull"
+ style="border-bottom-color:var(--wp--preset--color--theme-6);border-bottom-width:1px;min-height:68px;padding-top:var(--wp--preset--spacing--10);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--50)"
+ >
<!-- wp:columns {"verticalAlignment":"center","isStackedOnMobile":false,"align":"wide","style":{"layout":{"selfStretch":"fill","flexSize":null}}} -->
- <div class="wp-block-columns alignwide are-vertically-aligned-center is-not-stacked-on-mobile">
+ <div
+ class="wp-block-columns alignwide are-vertically-aligned-center is-not-stacked-on-mobile"
+ >
<!-- wp:column {"verticalAlignment":"center","width":"35%"} -->
- <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:35%">
+ <div
+ class="wp-block-column is-vertically-aligned-center"
+ style="flex-basis:35%"
+ >
<!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group">
<!-- wp:navigation-overlay-close /-->
@@ -16,13 +26,19 @@
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"30%"} -->
- <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:30%">
+ <div
+ class="wp-block-column is-vertically-aligned-center"
+ style="flex-basis:30%"
+ >
<!-- wp:site-title {"level":0,"style":{"typography":{"textAlign":"center"}}} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"35%"} -->
- <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:35%"></div>
+ <div
+ class="wp-block-column is-vertically-aligned-center"
+ style="flex-basis:35%"
+ ></div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
@@ -30,8 +46,10 @@
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
- <div class="wp-block-group"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
+ <div
+ class="wp-block-group"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"
+ >
<!-- wp:search {"showLabel":false,"width":100,"widthUnit":"%","buttonPosition":"button-inside","buttonUseIcon":true,"query":{"post_type":"product"},"namespace":"woocommerce/product-search","style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|30"}},"elements":{"link":{"color":{"text":"var:preset|color|theme-2"}}},"color":{"background":"#ffffff00"}},"textColor":"theme-2"} /-->
<!-- wp:navigation {"showSubmenuIcon":false,"submenuVisibility":"always","overlayMenu":"never","layout":{"type":"flex","justifyContent":"stretch","orientation":"vertical"}} /-->
diff --git a/themes/purple/parts/purple-navigation-overlay.html b/themes/purple/parts/purple-navigation-overlay.html
index cde3b010b57..3f6520c2076 100644
--- a/themes/purple/parts/purple-navigation-overlay.html
+++ b/themes/purple/parts/purple-navigation-overlay.html
@@ -1,8 +1,13 @@
<!-- wp:group {"metadata":{"name":"Purple navigation overlay"},"style":{"dimensions":{"minHeight":"100vh"}},"backgroundColor":"theme-1","layout":{"type":"default"}} -->
-<div class="wp-block-group has-theme-1-background-color has-background" style="min-height:100vh">
+<div
+ class="wp-block-group has-theme-1-background-color has-background"
+ style="min-height:100vh"
+>
<!-- wp:group {"style":{"dimensions":{"minHeight":"68px"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"bottom":{"color":"var:preset|color|theme-6","width":"1px"},"top":[],"right":[],"left":[]}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
- <div class="wp-block-group"
- style="border-bottom-color:var(--wp--preset--color--theme-6);border-bottom-width:1px;min-height:68px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--50)">
+ <div
+ class="wp-block-group"
+ style="border-bottom-color:var(--wp--preset--color--theme-6);border-bottom-width:1px;min-height:68px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--50)"
+ >
<!-- wp:site-title /-->
<!-- wp:navigation-overlay-close /-->
@@ -10,8 +15,10 @@
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
- <div class="wp-block-group"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
+ <div
+ class="wp-block-group"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"
+ >
<!-- wp:search {"showLabel":false,"width":100,"widthUnit":"%","buttonPosition":"button-inside","buttonUseIcon":true,"query":{"post_type":"product"},"namespace":"woocommerce/product-search","style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|30"}},"elements":{"link":{"color":{"text":"var:preset|color|theme-2"}}},"color":{"background":"#ffffff00"}},"textColor":"theme-2"} /-->
<!-- wp:navigation {"showSubmenuIcon":false,"submenuVisibility":"always","overlayMenu":"never","layout":{"type":"flex","justifyContent":"stretch","orientation":"vertical"}} /-->
diff --git a/themes/purple/parts/variable-product-add-to-cart-with-options.html b/themes/purple/parts/variable-product-add-to-cart-with-options.html
index d37ab9807cb..ebbb45f0063 100644
--- a/themes/purple/parts/variable-product-add-to-cart-with-options.html
+++ b/themes/purple/parts/variable-product-add-to-cart-with-options.html
@@ -1,13 +1,25 @@
<!-- wp:woocommerce/add-to-cart-with-options-variation-selector -->
-<div class="wp-block-woocommerce-add-to-cart-with-options-variation-selector" role="list">
+<div
+ class="wp-block-woocommerce-add-to-cart-with-options-variation-selector"
+ role="list"
+>
<!-- wp:woocommerce/add-to-cart-with-options-variation-selector-attribute -->
- <div class="wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute" role="listitem">
+ <div
+ class="wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute"
+ role="listitem"
+ >
<!-- wp:group {"lock":{"move":false,"remove":false},"style":{"spacing":{"blockGap":"var:preset|spacing|10","margin":{"top":"var:preset|spacing|20"}}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
- <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--20)">
+ <div
+ class="wp-block-group"
+ style="margin-top:var(--wp--preset--spacing--20)"
+ >
<!-- wp:woocommerce/add-to-cart-with-options-variation-selector-attribute-name /-->
<!-- wp:woocommerce/product-filter-chips {"chipText":"theme-2","chipBackground":"theme-1","chipBorder":"theme-6","selectedChipText":"theme-1","selectedChipBackground":"theme-2","selectedChipBorder":"theme-2"} -->
- <div class="wp-block-woocommerce-product-filter-chips wc-block-product-filter-chips has-chip-text-color has-chip-background-color has-chip-border-color has-selected-chip-text-color has-selected-chip-background-color has-selected-chip-border-color" style="--wc-product-filter-chips-text:var(--wp--preset--color--theme-2);--wc-product-filter-chips-background:var(--wp--preset--color--theme-1);--wc-product-filter-chips-border:var(--wp--preset--color--theme-6);--wc-product-filter-chips-selected-text:var(--wp--preset--color--theme-1);--wc-product-filter-chips-selected-background:var(--wp--preset--color--theme-2);--wc-product-filter-chips-selected-border:var(--wp--preset--color--theme-2)"></div>
+ <div
+ class="wp-block-woocommerce-product-filter-chips wc-block-product-filter-chips has-chip-text-color has-chip-background-color has-chip-border-color has-selected-chip-text-color has-selected-chip-background-color has-selected-chip-border-color"
+ style="--wc-product-filter-chips-text:var(--wp--preset--color--theme-2);--wc-product-filter-chips-background:var(--wp--preset--color--theme-1);--wc-product-filter-chips-border:var(--wp--preset--color--theme-6);--wc-product-filter-chips-selected-text:var(--wp--preset--color--theme-1);--wc-product-filter-chips-selected-background:var(--wp--preset--color--theme-2);--wc-product-filter-chips-selected-border:var(--wp--preset--color--theme-2)"
+ ></div>
<!-- /wp:woocommerce/product-filter-chips -->
</div>
<!-- /wp:group -->
@@ -21,7 +33,8 @@
<!-- wp:woocommerce/product-stock-indicator /-->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"stretch"}} -->
-<div class="wp-block-group"><!-- wp:woocommerce/add-to-cart-with-options-quantity-selector /-->
+<div class="wp-block-group">
+ <!-- wp:woocommerce/add-to-cart-with-options-quantity-selector /-->
<!-- wp:woocommerce/product-button {"textAlign":"left"} /-->
</div>
diff --git a/themes/purple/style.css b/themes/purple/style.css
index b3e6c040457..269166cceeb 100644
--- a/themes/purple/style.css
+++ b/themes/purple/style.css
@@ -41,16 +41,30 @@ body {
* theme's outline button style. The doubled class outranks WooCommerce's
* own rules regardless of stylesheet order. */
.wc-block-components-button.wc-block-components-button:not(.is-link).outlined,
-.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline {
+.wc-block-components-button.wc-block-components-button:not(
+ .is-link
+ ).is-style-outline {
color: var(--wp--custom--outline-button-color);
}
-.wc-block-components-button.wc-block-components-button:not(.is-link).outlined:hover,
-.wc-block-components-button.wc-block-components-button:not(.is-link).outlined:focus,
-.wc-block-components-button.wc-block-components-button:not(.is-link).outlined:active,
-.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline:hover,
-.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline:focus,
-.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline:active {
+.wc-block-components-button.wc-block-components-button:not(
+ .is-link
+ ).outlined:hover,
+.wc-block-components-button.wc-block-components-button:not(
+ .is-link
+ ).outlined:focus,
+.wc-block-components-button.wc-block-components-button:not(
+ .is-link
+ ).outlined:active,
+.wc-block-components-button.wc-block-components-button:not(
+ .is-link
+ ).is-style-outline:hover,
+.wc-block-components-button.wc-block-components-button:not(
+ .is-link
+ ).is-style-outline:focus,
+.wc-block-components-button.wc-block-components-button:not(
+ .is-link
+ ).is-style-outline:active {
background-color: color-mix(in srgb, currentColor 5%, transparent);
color: var(--wp--custom--outline-button-color);
}
@@ -83,26 +97,49 @@ body {
/* Cart scope covers the shipping calculator fields, which reuse the same
* components as the checkout form. */
-.wp-block-woocommerce-cart .wc-block-components-text-input:not(.has-error) input,
+.wp-block-woocommerce-cart
+ .wc-block-components-text-input:not(.has-error)
+ input,
.wp-block-woocommerce-cart .wc-block-components-textarea:not(.has-error),
-.wp-block-woocommerce-cart .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select,
-.wp-block-woocommerce-cart .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__container,
-.wp-block-woocommerce-cart .wc-block-components-checkbox__input[type="checkbox"],
-.wp-block-woocommerce-checkout .wc-block-components-text-input:not(.has-error) input,
+.wp-block-woocommerce-cart
+ .wc-blocks-components-select:not(.has-error)
+ .wc-blocks-components-select__select,
+.wp-block-woocommerce-cart
+ .wc-blocks-components-select:not(.has-error)
+ .wc-blocks-components-select__container,
+.wp-block-woocommerce-cart
+ .wc-block-components-checkbox__input[type="checkbox"],
+.wp-block-woocommerce-checkout
+ .wc-block-components-text-input:not(.has-error)
+ input,
.wp-block-woocommerce-checkout .wc-block-components-textarea:not(.has-error),
-.wp-block-woocommerce-checkout .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select,
-.wp-block-woocommerce-checkout .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__container,
-.wp-block-woocommerce-checkout .wc-block-components-checkbox__input[type="checkbox"] {
+.wp-block-woocommerce-checkout
+ .wc-blocks-components-select:not(.has-error)
+ .wc-blocks-components-select__select,
+.wp-block-woocommerce-checkout
+ .wc-blocks-components-select:not(.has-error)
+ .wc-blocks-components-select__container,
+.wp-block-woocommerce-checkout
+ .wc-block-components-checkbox__input[type="checkbox"] {
border-color: var(--wp--preset--color--theme-6);
border-radius: 0;
}
-.wp-block-woocommerce-cart .wc-block-components-text-input:not(.has-error) input:focus,
+.wp-block-woocommerce-cart
+ .wc-block-components-text-input:not(.has-error)
+ input:focus,
.wp-block-woocommerce-cart .wc-block-components-textarea:not(.has-error):focus,
-.wp-block-woocommerce-cart .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select:focus,
-.wp-block-woocommerce-checkout .wc-block-components-text-input:not(.has-error) input:focus,
-.wp-block-woocommerce-checkout .wc-block-components-textarea:not(.has-error):focus,
-.wp-block-woocommerce-checkout .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select:focus {
+.wp-block-woocommerce-cart
+ .wc-blocks-components-select:not(.has-error)
+ .wc-blocks-components-select__select:focus,
+.wp-block-woocommerce-checkout
+ .wc-block-components-text-input:not(.has-error)
+ input:focus,
+.wp-block-woocommerce-checkout
+ .wc-block-components-textarea:not(.has-error):focus,
+.wp-block-woocommerce-checkout
+ .wc-blocks-components-select:not(.has-error)
+ .wc-blocks-components-select__select:focus {
border-color: var(--wp--preset--color--theme-6);
box-shadow: 0 0 0 0.5px var(--wp--preset--color--theme-6);
}
@@ -112,8 +149,12 @@ body {
* later, keeping their rounded corners. The doubled component class wins
* the tie; the cart block and extension fields that reuse the text-input
* component (e.g. Gift Cards) get the same treatment. */
-.wp-block-woocommerce-cart .wc-block-components-text-input.wc-block-components-text-input input,
-.wp-block-woocommerce-checkout .wc-block-components-text-input.wc-block-components-text-input input {
+.wp-block-woocommerce-cart
+ .wc-block-components-text-input.wc-block-components-text-input
+ input,
+.wp-block-woocommerce-checkout
+ .wc-block-components-text-input.wc-block-components-text-input
+ input {
border-radius: 0;
}
@@ -127,7 +168,9 @@ body {
/* WooCommerce Payments hardcodes a 5px radius and gray border on the
* WooPay save-details phone input; match the other checkout fields. */
-.woopay-save-new-user-container .save-details-form.form-row .phone-input.phone-input {
+.woopay-save-new-user-container
+ .save-details-form.form-row
+ .phone-input.phone-input {
border-color: var(--wp--preset--color--theme-6);
border-radius: 0;
}
@@ -139,14 +182,21 @@ body {
* express payment box outline is drawn in three pieces: two title-row
* pseudo-elements hold its top corners and the content box its bottom
* ones; the branded express buttons keep their own rounding. */
-.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::before,
-.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::after,
-.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content.wc-block-components-express-payment__content,
-.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option:first-child::after,
-.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option:last-child::after,
+.wc-block-components-express-payment--checkout
+ .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::before,
+.wc-block-components-express-payment--checkout
+ .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::after,
+.wc-block-components-express-payment--checkout
+ .wc-block-components-express-payment__content.wc-block-components-express-payment__content,
+.wc-block-checkout__payment-method
+ .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option:first-child::after,
+.wc-block-checkout__payment-method
+ .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option:last-child::after,
.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked::after,
-.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
-.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted.wc-block-components-radio-control__option--checked-option-highlighted,
+.wc-block-components-radio-control--highlight-checked
+ .wc-block-components-radio-control-accordion-option--checked-option-highlighted.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
+.wc-block-components-radio-control--highlight-checked
+ label.wc-block-components-radio-control__option--checked-option-highlighted.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-address-card.wc-block-components-address-card,
.wc-block-components-local-pickup-select--multiple.wc-block-components-local-pickup-select--multiple,
.wc-block-components-address-autocomplete-suggestions.wc-block-components-address-autocomplete-suggestions {
@@ -158,8 +208,10 @@ body {
* painted with it composites over the group's own border (same color)
* and darkens the shared pixels. Drop the ring; the group border is the
* outline and the filled radio dot carries the selected state. */
-.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
-.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted.wc-block-components-radio-control__option--checked-option-highlighted {
+.wc-block-components-radio-control--highlight-checked
+ .wc-block-components-radio-control-accordion-option--checked-option-highlighted.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
+.wc-block-components-radio-control--highlight-checked
+ label.wc-block-components-radio-control__option--checked-option-highlighted.wc-block-components-radio-control__option--checked-option-highlighted {
box-shadow: none;
}
@@ -181,9 +233,12 @@ body {
* component borders drawn at 20% ink (or a hardcoded gray), a shade
* darker than the theme-6 field borders beside them; align them all. */
.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked::after,
-.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::before,
-.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::after,
-.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content.wc-block-components-express-payment__content,
+.wc-block-components-express-payment--checkout
+ .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::before,
+.wc-block-components-express-payment--checkout
+ .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::after,
+.wc-block-components-express-payment--checkout
+ .wc-block-components-express-payment__content.wc-block-components-express-payment__content,
.wc-block-components-address-card.wc-block-components-address-card,
.wc-block-components-local-pickup-select--multiple.wc-block-components-local-pickup-select--multiple,
.wc-block-components-address-autocomplete-suggestions.wc-block-components-address-autocomplete-suggestions {
@@ -192,8 +247,10 @@ body {
/* The separator lines between unselected options are 1px ::after
* overlays painted with a 20% ink background, not a border. */
-.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option.wc-block-components-radio-control__option::after,
-.wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option::after {
+.wc-block-components-radio-control--highlight-checked
+ .wc-block-components-radio-control__option.wc-block-components-radio-control__option::after,
+.wc-block-components-radio-control--highlight-checked
+ div.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option::after {
background: var(--wp--preset--color--theme-6);
}
@@ -272,7 +329,6 @@ body {
font-style: normal;
}
-
/* Closed accordion panels are server-rendered without [hidden] (the
* Interactivity API only applies it after hydration), so they flash open
* on load. Collapse them from first paint via the server-rendered
diff --git a/themes/purple/styles/block/button-contrast.json b/themes/purple/styles/block/button-contrast.json
index 4f01e1614ff..3b4ca9a1243 100644
--- a/themes/purple/styles/block/button-contrast.json
+++ b/themes/purple/styles/block/button-contrast.json
@@ -3,9 +3,7 @@
"version": 3,
"slug": "button-contrast",
"title": "Contrast",
- "blockTypes": [
- "core/button"
- ],
+ "blockTypes": [ "core/button" ],
"styles": {
"color": {
"background": "var(--wp--preset--color--theme-1)",
diff --git a/themes/purple/styles/block/post-terms-badge.json b/themes/purple/styles/block/post-terms-badge.json
index 0513ed66219..3f7157a55fa 100644
--- a/themes/purple/styles/block/post-terms-badge.json
+++ b/themes/purple/styles/block/post-terms-badge.json
@@ -3,9 +3,7 @@
"version": 3,
"slug": "post-terms-badge",
"title": "Badge",
- "blockTypes": [
- "core/post-terms"
- ],
+ "blockTypes": [ "core/post-terms" ],
"styles": {
"css": "display: flex; flex-wrap: wrap; gap: 2px; justify-content: center;",
"typography": {
diff --git a/themes/purple/styles/block/section-1.json b/themes/purple/styles/block/section-1.json
index 2e6f6626fdb..c54f473187c 100644
--- a/themes/purple/styles/block/section-1.json
+++ b/themes/purple/styles/block/section-1.json
@@ -3,11 +3,7 @@
"version": 3,
"slug": "section-1",
"title": "Style 1",
- "blockTypes": [
- "core/group",
- "core/columns",
- "core/column"
- ],
+ "blockTypes": [ "core/group", "core/columns", "core/column" ],
"styles": {
"color": {
"background": "var(--wp--preset--color--theme-2)",
diff --git a/themes/purple/styles/block/section-2.json b/themes/purple/styles/block/section-2.json
index 86256f871ee..70bad0a66e3 100644
--- a/themes/purple/styles/block/section-2.json
+++ b/themes/purple/styles/block/section-2.json
@@ -3,11 +3,7 @@
"version": 3,
"slug": "section-2",
"title": "Style 2",
- "blockTypes": [
- "core/group",
- "core/columns",
- "core/column"
- ],
+ "blockTypes": [ "core/group", "core/columns", "core/column" ],
"styles": {
"color": {
"background": "var(--wp--preset--color--theme-3)",
diff --git a/themes/purple/styles/block/section-3.json b/themes/purple/styles/block/section-3.json
index a36be6b624c..17acda880d5 100644
--- a/themes/purple/styles/block/section-3.json
+++ b/themes/purple/styles/block/section-3.json
@@ -3,11 +3,7 @@
"version": 3,
"slug": "section-3",
"title": "Style 3",
- "blockTypes": [
- "core/group",
- "core/columns",
- "core/column"
- ],
+ "blockTypes": [ "core/group", "core/columns", "core/column" ],
"styles": {
"color": {
"background": "var(--wp--preset--color--theme-4)",
diff --git a/themes/purple/styles/colors/autumn.json b/themes/purple/styles/colors/autumn.json
index 1c7cc1edc4a..d78fb8ea421 100644
--- a/themes/purple/styles/colors/autumn.json
+++ b/themes/purple/styles/colors/autumn.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#e5e5e5",
- "#301f12"
- ],
+ "colors": [ "#e5e5e5", "#301f12" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#e5e5e5",
- "#281a0f"
- ],
+ "colors": [ "#e5e5e5", "#281a0f" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/cobalt.json b/themes/purple/styles/colors/cobalt.json
index de771332772..958abc37f24 100644
--- a/themes/purple/styles/colors/cobalt.json
+++ b/themes/purple/styles/colors/cobalt.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#111111",
- "#FFFFFF"
- ],
+ "colors": [ "#111111", "#FFFFFF" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#111111",
- "#F7F7F7"
- ],
+ "colors": [ "#111111", "#F7F7F7" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/electric-kiwi.json b/themes/purple/styles/colors/electric-kiwi.json
index 43c5977fcdf..a41f47dfce8 100644
--- a/themes/purple/styles/colors/electric-kiwi.json
+++ b/themes/purple/styles/colors/electric-kiwi.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#f8f9f7",
- "#262623"
- ],
+ "colors": [ "#f8f9f7", "#262623" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#f8f9f7",
- "#314a0d"
- ],
+ "colors": [ "#f8f9f7", "#314a0d" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/matcha.json b/themes/purple/styles/colors/matcha.json
index 199d06dec24..9191dc6c8ce 100644
--- a/themes/purple/styles/colors/matcha.json
+++ b/themes/purple/styles/colors/matcha.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#000000",
- "#f0efed"
- ],
+ "colors": [ "#000000", "#f0efed" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#000000",
- "#f4eecc"
- ],
+ "colors": [ "#000000", "#f4eecc" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/pale-pumpkin.json b/themes/purple/styles/colors/pale-pumpkin.json
index 92626d8e023..d49cfcd4bfc 100644
--- a/themes/purple/styles/colors/pale-pumpkin.json
+++ b/themes/purple/styles/colors/pale-pumpkin.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#111111",
- "#e6e7ec"
- ],
+ "colors": [ "#111111", "#e6e7ec" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#111111",
- "#fafafa"
- ],
+ "colors": [ "#111111", "#fafafa" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/parchment.json b/themes/purple/styles/colors/parchment.json
index 691608bf01c..2f8c4c337b6 100644
--- a/themes/purple/styles/colors/parchment.json
+++ b/themes/purple/styles/colors/parchment.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#111111",
- "#f1ede2"
- ],
+ "colors": [ "#111111", "#f1ede2" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#111111",
- "#fffbf0"
- ],
+ "colors": [ "#111111", "#fffbf0" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/poppy.json b/themes/purple/styles/colors/poppy.json
index 8619846b752..fdeacd141ed 100644
--- a/themes/purple/styles/colors/poppy.json
+++ b/themes/purple/styles/colors/poppy.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#111111",
- "#FFFFFF"
- ],
+ "colors": [ "#111111", "#FFFFFF" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#111111",
- "#fafafa"
- ],
+ "colors": [ "#111111", "#fafafa" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/powder.json b/themes/purple/styles/colors/powder.json
index 73bd230a915..b663a324fc5 100644
--- a/themes/purple/styles/colors/powder.json
+++ b/themes/purple/styles/colors/powder.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#111111",
- "#d6d8c7"
- ],
+ "colors": [ "#111111", "#d6d8c7" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#111111",
- "#f1ead8"
- ],
+ "colors": [ "#111111", "#f1ead8" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/styles/colors/vibrant-ice.json b/themes/purple/styles/colors/vibrant-ice.json
index de831196628..9492439ac30 100644
--- a/themes/purple/styles/colors/vibrant-ice.json
+++ b/themes/purple/styles/colors/vibrant-ice.json
@@ -40,18 +40,12 @@
],
"duotone": [
{
- "colors": [
- "#e5e5e5",
- "#232121"
- ],
+ "colors": [ "#e5e5e5", "#232121" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#e5e5e5",
- "#2e2e2e"
- ],
+ "colors": [ "#e5e5e5", "#2e2e2e" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
diff --git a/themes/purple/templates/archive-product.html b/themes/purple/templates/archive-product.html
index 183cec79e86..b8d146616e7 100644
--- a/themes/purple/templates/archive-product.html
+++ b/themes/purple/templates/archive-product.html
@@ -1,23 +1,27 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|90"},"margin":{"top":"0","bottom":"0"}},"@tablet":{"spacing":{"padding":{"top":"0"}}},"@mobile":{"spacing":{"padding":{"top":"0"}}}},"layout":{"type":"default"}} -->
-<main class="wp-block-group alignwide"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--90)">
+<main
+ class="wp-block-group alignwide"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--90)"
+>
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
- <div class="wp-block-group alignwide"><!-- wp:woocommerce/store-notices /-->
+ <div class="wp-block-group alignwide">
+ <!-- wp:woocommerce/store-notices /-->
<!-- wp:woocommerce/breadcrumbs /-->
<!-- wp:query-title {"type":"archive","showPrefix":false,"align":"wide"} /-->
<!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} -->
- <div class="wp-block-group alignwide"><!-- wp:term-description /--></div>
+ <div class="wp-block-group alignwide">
+ <!-- wp:term-description /-->
+ </div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:pattern {"slug":"purple/product-grid-with-filters"} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/archive.html b/themes/purple/templates/archive.html
index 3dcda8df051..e1144bc9fe0 100644
--- a/themes/purple/templates/archive.html
+++ b/themes/purple/templates/archive.html
@@ -1,7 +1,10 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","metadata":{"name":"Archive"},"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50","top":"var:preset|spacing|90"},"margin":{"top":"0","bottom":"0"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"constrained"}} -->
-<main class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)">
+<main
+ class="wp-block-group alignfull"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)"
+>
<!-- wp:query-title {"type":"archive","align":"wide"} /-->
<!-- wp:term-description {"align":"wide"} /-->
<!-- wp:pattern {"slug":"purple/posts-three-columns"} /-->
diff --git a/themes/purple/templates/coming-soon.html b/themes/purple/templates/coming-soon.html
index 8af1b29a9fe..7a221b14539 100644
--- a/themes/purple/templates/coming-soon.html
+++ b/themes/purple/templates/coming-soon.html
@@ -1,7 +1,5 @@
<!-- wp:group {"tagName":"main","metadata":{"name":"Main"},"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0">
-
<!-- wp:pattern {"slug":"purple/coming-soon"} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/front-page.html b/themes/purple/templates/front-page.html
index 33888862710..254894737d1 100644
--- a/themes/purple/templates/front-page.html
+++ b/themes/purple/templates/front-page.html
@@ -2,9 +2,7 @@
<!-- wp:group {"tagName":"main","metadata":{"name":"Storefront"},"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0">
-
<!-- wp:pattern {"slug":"purple/storefront"} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/home.html b/themes/purple/templates/home.html
index 0493ebd2689..c8676189c16 100644
--- a/themes/purple/templates/home.html
+++ b/themes/purple/templates/home.html
@@ -1,8 +1,10 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","metadata":{"name":"Blog"},"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50","top":"var:preset|spacing|90"},"margin":{"top":"0","bottom":"0"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"constrained"}} -->
-<main class="wp-block-group alignfull"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)">
+<main
+ class="wp-block-group alignfull"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)"
+>
<!-- wp:pattern {"slug":"purple/hidden-blog-heading"} /-->
<!-- wp:pattern {"slug":"purple/posts-three-columns"} /-->
</main>
diff --git a/themes/purple/templates/index.html b/themes/purple/templates/index.html
index bb081cf6acb..98568820cb2 100644
--- a/themes/purple/templates/index.html
+++ b/themes/purple/templates/index.html
@@ -1,8 +1,10 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","metadata":{"name":"Index"},"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50","top":"var:preset|spacing|90"},"margin":{"top":"0","bottom":"0"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"constrained"}} -->
-<main class="wp-block-group alignfull"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)">
+<main
+ class="wp-block-group alignfull"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)"
+>
<!-- wp:pattern {"slug":"purple/hidden-blog-heading"} /-->
<!-- wp:pattern {"slug":"purple/posts-three-columns"} /-->
</main>
diff --git a/themes/purple/templates/page-cart.html b/themes/purple/templates/page-cart.html
index 0b6be4a1da0..cd847a9ba6e 100644
--- a/themes/purple/templates/page-cart.html
+++ b/themes/purple/templates/page-cart.html
@@ -2,15 +2,15 @@
<!-- wp:woocommerce/page-content-wrapper {"page":"cart"} -->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|30"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"constrained","contentSize":"1060px"}} -->
-<main class="wp-block-group"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--30)">
-
+<main
+ class="wp-block-group"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--30)"
+>
<!-- wp:pattern {"slug":"purple/hidden-cart-page-title"} /-->
<!-- wp:woocommerce/store-notices /-->
<!-- wp:post-content {"style":{"spacing":{"margin":{"top":"0"}}},"layout":{"type":"constrained"}} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/page-checkout.html b/themes/purple/templates/page-checkout.html
index e0621b84a70..06b148a12f4 100644
--- a/themes/purple/templates/page-checkout.html
+++ b/themes/purple/templates/page-checkout.html
@@ -6,7 +6,6 @@
<!-- wp:woocommerce/store-notices /-->
<!-- wp:post-content {"align":"wide","layout":{"type":"default"}} /-->
-
</main>
<!-- /wp:group -->
<!-- /wp:woocommerce/page-content-wrapper -->
diff --git a/themes/purple/templates/page.html b/themes/purple/templates/page.html
index d14c6d57feb..69cccad78fe 100644
--- a/themes/purple/templates/page.html
+++ b/themes/purple/templates/page.html
@@ -1,8 +1,10 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","metadata":{"name":"Main"},"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"default"}} -->
-<main class="wp-block-group"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
+<main
+ class="wp-block-group"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"
+>
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-featured-image /-->
diff --git a/themes/purple/templates/product-search-results.html b/themes/purple/templates/product-search-results.html
index 209ecc8be4e..1e762a91fa7 100644
--- a/themes/purple/templates/product-search-results.html
+++ b/themes/purple/templates/product-search-results.html
@@ -1,10 +1,13 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|90"},"margin":{"top":"0","bottom":"0"}},"@tablet":{"spacing":{"padding":{"top":"0"}}},"@mobile":{"spacing":{"padding":{"top":"0"}}}},"layout":{"type":"default"}} -->
-<main class="wp-block-group alignwide"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--90)">
+<main
+ class="wp-block-group alignwide"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--90)"
+>
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
- <div class="wp-block-group alignwide"><!-- wp:woocommerce/store-notices /-->
+ <div class="wp-block-group alignwide">
+ <!-- wp:woocommerce/store-notices /-->
<!-- wp:woocommerce/breadcrumbs /-->
@@ -19,7 +22,6 @@
<!-- /wp:group -->
<!-- wp:pattern {"slug":"purple/product-grid-with-filters"} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/search.html b/themes/purple/templates/search.html
index 91d243fcf6d..6658518784e 100644
--- a/themes/purple/templates/search.html
+++ b/themes/purple/templates/search.html
@@ -1,8 +1,10 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","metadata":{"name":"Archive"},"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50","top":"var:preset|spacing|90"},"margin":{"top":"0","bottom":"0"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"constrained"}} -->
-<main class="wp-block-group alignfull"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)">
+<main
+ class="wp-block-group alignfull"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--90);padding-bottom:var(--wp--preset--spacing--50)"
+>
<!-- wp:query-title {"type":"search","align":"wide"} /-->
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide">
diff --git a/themes/purple/templates/single-product.html b/themes/purple/templates/single-product.html
index c95c050732c..da761a14ec7 100644
--- a/themes/purple/templates/single-product.html
+++ b/themes/purple/templates/single-product.html
@@ -1,11 +1,11 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","metadata":{"name":"Main"},"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|90"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"constrained"}} -->
-<main class="wp-block-group"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--90)">
-
+<main
+ class="wp-block-group"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--90)"
+>
<!-- wp:pattern {"slug":"purple/hidden-single-product"} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/single.html b/themes/purple/templates/single.html
index c46ebd2dbd8..e2aa486ada7 100644
--- a/themes/purple/templates/single.html
+++ b/themes/purple/templates/single.html
@@ -1,8 +1,10 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","metadata":{"name":"Main"},"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"@tablet":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}},"@mobile":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}},"layout":{"type":"default"}} -->
-<main class="wp-block-group"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
+<main
+ class="wp-block-group"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"
+>
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"align":"wide","layout":{"type":"constrained","contentSize":"960px"}} -->
@@ -20,7 +22,10 @@
<!-- wp:post-featured-image {"aspectRatio":"4/3","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"0"}}}} /-->
<!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
- <div class="wp-block-group alignfull" style="margin-top:var(--wp--preset--spacing--70)">
+ <div
+ class="wp-block-group alignfull"
+ style="margin-top:var(--wp--preset--spacing--70)"
+ >
<!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"full","layout":{"type":"constrained"}} /-->
</div>
<!-- /wp:group -->
@@ -30,8 +35,10 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:separator {"style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"0"}}},"backgroundColor":"theme-6"} -->
- <hr class="wp-block-separator has-text-color has-theme-6-color has-alpha-channel-opacity has-theme-6-background-color has-background"
- style="margin-top:var(--wp--preset--spacing--50);margin-bottom:0" />
+ <hr
+ class="wp-block-separator has-text-color has-theme-6-color has-alpha-channel-opacity has-theme-6-background-color has-background"
+ style="margin-top:var(--wp--preset--spacing--50);margin-bottom:0"
+ />
<!-- /wp:separator -->
<!-- wp:comments {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
@@ -40,8 +47,10 @@
<!-- wp:comment-template -->
<!-- wp:columns {"isStackedOnMobile":false,"style":{"spacing":{"blockGap":{"top":"0","left":"16px"},"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
- <div class="wp-block-columns is-not-stacked-on-mobile"
- style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)">
+ <div
+ class="wp-block-columns is-not-stacked-on-mobile"
+ style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"
+ >
<!-- wp:column {"width":"34px"} -->
<div class="wp-block-column" style="flex-basis:34px">
<!-- wp:avatar {"size":34,"isLink":true,"style":{"border":{"radius":"100px"},"spacing":{"margin":{"top":"4px"}}}} /-->
@@ -51,17 +60,20 @@
<!-- wp:column {"style":{"spacing":{"blockGap":"8px"}}} -->
<div class="wp-block-column">
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
- <div class="wp-block-group"><!-- wp:comment-author-name {"isLink":false} /-->
+ <div class="wp-block-group">
+ <!-- wp:comment-author-name {"isLink":false} /-->
<!-- wp:comment-date {"isLink":false,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /-->
<!-- wp:comment-content /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|20"}}},"layout":{"type":"flex"}} -->
- <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--20)">
+ <div
+ class="wp-block-group"
+ style="margin-top:var(--wp--preset--spacing--20)"
+ >
<!-- wp:comment-edit-link /-->
<!-- wp:comment-reply-link /-->
-
</div>
<!-- /wp:group -->
</div>
diff --git a/themes/purple/templates/taxonomy-product_attribute.html b/themes/purple/templates/taxonomy-product_attribute.html
index b70a00b5dae..aab6123b3ab 100644
--- a/themes/purple/templates/taxonomy-product_attribute.html
+++ b/themes/purple/templates/taxonomy-product_attribute.html
@@ -1,23 +1,27 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main","align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|90"},"margin":{"top":"0","bottom":"0"}},"@tablet":{"spacing":{"padding":{"top":"0"}}},"@mobile":{"spacing":{"padding":{"top":"0"}}}},"layout":{"type":"default"}} -->
-<main class="wp-block-group alignwide"
- style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--90)">
+<main
+ class="wp-block-group alignwide"
+ style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--90)"
+>
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
- <div class="wp-block-group alignwide"><!-- wp:woocommerce/store-notices /-->
+ <div class="wp-block-group alignwide">
+ <!-- wp:woocommerce/store-notices /-->
<!-- wp:woocommerce/breadcrumbs /-->
<!-- wp:query-title {"type":"archive","level":1,"showPrefix":false,"align":"wide"} /-->
<!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} -->
- <div class="wp-block-group alignwide"><!-- wp:term-description /--></div>
+ <div class="wp-block-group alignwide">
+ <!-- wp:term-description /-->
+ </div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:pattern {"slug":"purple/product-grid-with-filters"} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/template-page-no-title.html b/themes/purple/templates/template-page-no-title.html
index dfcecc9eec7..bdddfeada48 100644
--- a/themes/purple/templates/template-page-no-title.html
+++ b/themes/purple/templates/template-page-no-title.html
@@ -2,9 +2,7 @@
<!-- wp:group {"tagName":"main","metadata":{"name":"Main"},"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0">
-
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
-
</main>
<!-- /wp:group -->
diff --git a/themes/purple/templates/template-page-w-cover.html b/themes/purple/templates/template-page-w-cover.html
index 5b042c94c72..2b3a8f13ac4 100644
--- a/themes/purple/templates/template-page-w-cover.html
+++ b/themes/purple/templates/template-page-w-cover.html
@@ -5,7 +5,11 @@
<!-- wp:group {"metadata":{"name":"Page Title"},"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<div class="wp-block-group">
<!-- wp:cover {"useFeaturedImage":true,"dimRatio":20,"isUserOverlayColor":true,"isDark":false,"layout":{"type":"constrained"}} -->
- <div class="wp-block-cover is-light"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-20 has-background-dim"></span>
+ <div class="wp-block-cover is-light">
+ <span
+ aria-hidden="true"
+ class="wp-block-cover__background has-background-dim-20 has-background-dim"
+ ></span>
<div class="wp-block-cover__inner-container">
<!-- wp:post-title {"level":1,"style":{"typography":{"textAlign":"center"}},"fontSize":"xx-large"} /-->
</div>
@@ -15,7 +19,10 @@
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
- <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
+ <div
+ class="wp-block-group"
+ style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"
+ >
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
</div>
<!-- /wp:group -->
diff --git a/themes/purple/theme.json b/themes/purple/theme.json
index 0ab8a013a12..49b7ff1d87e 100644
--- a/themes/purple/theme.json
+++ b/themes/purple/theme.json
@@ -58,18 +58,12 @@
],
"duotone": [
{
- "colors": [
- "#111111",
- "#FFFFFF"
- ],
+ "colors": [ "#111111", "#FFFFFF" ],
"name": "Duotone 1",
"slug": "duotone-1"
},
{
- "colors": [
- "#111111",
- "#f2edff"
- ],
+ "colors": [ "#111111", "#f2edff" ],
"name": "Duotone 2",
"slug": "duotone-2"
}
@@ -583,8 +577,8 @@
},
"spacing": {
"padding": {
- "left": "0",
- "right": "var(--wp--preset--spacing--10)"
+ "left": "0",
+ "right": "var(--wp--preset--spacing--10)"
}
}
}