From 46fda097a2f6027d15eae1e4ae05fb8298594c56 Mon Sep 17 00:00:00 2001 From: The Nguyen <6950941+treoden@users.noreply.github.com> Date: Fri, 14 Jun 2024 17:26:37 +0700 Subject: [PATCH 1/7] Revert "Reset tailwind configuration. Use the default options #322" This reverts commit 89393a867a1996ff212965bc8adc14c27e5a2da2. --- .prettierignore | 4 +- .../categoryView/filter/AttributeFilter.jsx | 4 +- .../categoryView/filter/CategoryFilter.jsx | 2 +- .../frontStore/catalog/product/list/List.jsx | 8 +- .../catalog/product/list/Pagination.jsx | 2 +- .../catalog/product/list/Sorting.jsx | 4 +- .../catalog/product/list/item/Name.jsx | 2 +- .../frontStore/checkout/cart/Empty.jsx | 6 +- .../checkout/cart/items/ItemOptions.jsx | 2 +- .../cart/items/ItemVariantOptions.jsx | 2 +- .../frontStore/checkout/cart/items/Items.jsx | 6 +- .../payment/paymentStep/StepContent.jsx | 12 +- .../checkout/checkout/summary/Items.jsx | 2 +- .../checkout/checkout/summary/Items.scss | 1 + .../frontStore/customer/checkout/Edit.jsx | 6 +- .../stripe/checkout/CheckoutForm.jsx | 6 +- .../frontStore/stripe/checkout/TestCards.jsx | 4 +- .../graphql/types/Category/Category.graphql | 2 +- .../types/Collection/Collection.graphql | 2 +- .../frontStore/categoryView/CategoryView.jsx | 2 +- .../homepage/FeaturedCategories.jsx | 16 +-- .../frontStore/homepage/FeaturedProducts.jsx | 4 +- .../pages/frontStore/productView/Form.jsx | 6 +- .../frontStore/productView/GeneralInfo.jsx | 2 +- .../pages/frontStore/productView/Images.jsx | 2 +- .../pages/frontStore/productView/Layout.jsx | 2 +- .../pages/frontStore/productView/Variants.jsx | 19 ++- .../pages/frontStore/cart/ShoppingCart.jsx | 2 +- .../pages/frontStore/cart/Summary.jsx | 8 +- .../pages/frontStore/checkout/Checkout.jsx | 10 +- .../frontStore/checkout/ShippingMethods.jsx | 8 +- .../checkoutSuccess/CheckoutSuccess.jsx | 2 +- .../checkoutSuccess/CustomerInfo.jsx | 20 ++-- .../cms/pages/frontStore/all/Breadcrumb.jsx | 2 +- .../cms/pages/frontStore/all/Layout.jsx | 2 +- .../modules/cms/pages/frontStore/all/Menu.jsx | 2 +- .../services/tailwind.frontStore.config.js | 112 +++++++++++++++++- .../frontStore/checkout/CashOnDelivery.jsx | 2 +- .../frontStore/account/AccountDetails.jsx | 6 +- .../pages/frontStore/account/Layout.jsx | 10 +- .../pages/frontStore/account/OrderHistory.jsx | 2 +- .../pages/frontStore/checkout/Paypal.jsx | 7 +- .../pages/frontStore/cart/Coupon.jsx | 4 +- .../pages/frontStore/checkout/Stripe.jsx | 4 +- 44 files changed, 220 insertions(+), 113 deletions(-) diff --git a/.prettierignore b/.prettierignore index 58ad2bacf..b6d6f4433 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,6 +2,4 @@ /* # Except packages: -!/packages -!/themes -!/extensions \ No newline at end of file +!/packages \ No newline at end of file diff --git a/packages/evershop/src/components/frontStore/catalog/categoryView/filter/AttributeFilter.jsx b/packages/evershop/src/components/frontStore/catalog/categoryView/filter/AttributeFilter.jsx index 7b79084ee..233f3c1cf 100644 --- a/packages/evershop/src/components/frontStore/catalog/categoryView/filter/AttributeFilter.jsx +++ b/packages/evershop/src/components/frontStore/catalog/categoryView/filter/AttributeFilter.jsx @@ -66,7 +66,7 @@ export function AttributeFilter({ return ( <> {availableAttributes.map((a) => ( -