From 8f3c0e8bc02b21add4cc8b88320efab69f591164 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 10 Apr 2025 10:09:56 +0500 Subject: [PATCH] import changes from editor --- parts/checkout-header.html | 10 + parts/coming-soon-social-links.html | 7 + ...rnal-product-add-to-cart-with-options.html | 3 + ...uped-product-add-to-cart-with-options.html | 20 + parts/header.html | 2 +- parts/mini-cart.html | 49 ++ ...mple-product-add-to-cart-with-options.html | 6 + ...able-product-add-to-cart-with-options.html | 7 + templates/archive-product.html | 46 ++ templates/coming-soon.html | 1 + templates/order-confirmation.html | 53 ++ templates/page-cart.html | 11 + templates/page-checkout.html | 9 + templates/product-search-results.html | 41 ++ templates/single-product.html | 53 ++ templates/taxonomy-product_attribute.html | 48 ++ templates/taxonomy-product_brand.html | 42 ++ templates/taxonomy-product_cat.html | 48 ++ templates/taxonomy-product_tag.html | 48 ++ theme.json | 601 ++++++++++-------- 20 files changed, 838 insertions(+), 267 deletions(-) create mode 100644 parts/checkout-header.html create mode 100644 parts/coming-soon-social-links.html create mode 100644 parts/external-product-add-to-cart-with-options.html create mode 100644 parts/grouped-product-add-to-cart-with-options.html create mode 100644 parts/mini-cart.html create mode 100644 parts/simple-product-add-to-cart-with-options.html create mode 100644 parts/variable-product-add-to-cart-with-options.html create mode 100644 templates/archive-product.html create mode 100644 templates/coming-soon.html create mode 100644 templates/order-confirmation.html create mode 100644 templates/page-cart.html create mode 100644 templates/page-checkout.html create mode 100644 templates/product-search-results.html create mode 100644 templates/single-product.html create mode 100644 templates/taxonomy-product_attribute.html create mode 100644 templates/taxonomy-product_brand.html create mode 100644 templates/taxonomy-product_cat.html create mode 100644 templates/taxonomy-product_tag.html diff --git a/parts/checkout-header.html b/parts/checkout-header.html new file mode 100644 index 0000000..62ad175 --- /dev/null +++ b/parts/checkout-header.html @@ -0,0 +1,10 @@ + +
+ +
+ +
+ +
+ \ No newline at end of file diff --git a/parts/coming-soon-social-links.html b/parts/coming-soon-social-links.html new file mode 100644 index 0000000..966ab05 --- /dev/null +++ b/parts/coming-soon-social-links.html @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/parts/external-product-add-to-cart-with-options.html b/parts/external-product-add-to-cart-with-options.html new file mode 100644 index 0000000..c34b6d0 --- /dev/null +++ b/parts/external-product-add-to-cart-with-options.html @@ -0,0 +1,3 @@ + +
+ \ No newline at end of file diff --git a/parts/grouped-product-add-to-cart-with-options.html b/parts/grouped-product-add-to-cart-with-options.html new file mode 100644 index 0000000..734952e --- /dev/null +++ b/parts/grouped-product-add-to-cart-with-options.html @@ -0,0 +1,20 @@ + +
+ +
+ +
+ + + + + +
+ +
+ +
+ + +
+ \ No newline at end of file diff --git a/parts/header.html b/parts/header.html index 02f2cd3..fd326b0 100644 --- a/parts/header.html +++ b/parts/header.html @@ -1,6 +1,6 @@
- + diff --git a/parts/mini-cart.html b/parts/mini-cart.html new file mode 100644 index 0000000..dc0b84e --- /dev/null +++ b/parts/mini-cart.html @@ -0,0 +1,49 @@ + +
+ +
+ +
+ +
+
+ + + +
+
+ +
+ + +
+ +
+
+ +
+ + + + +
+ + + +
+ + + +
+ +
+ +
+ \ No newline at end of file diff --git a/parts/simple-product-add-to-cart-with-options.html b/parts/simple-product-add-to-cart-with-options.html new file mode 100644 index 0000000..efbadb3 --- /dev/null +++ b/parts/simple-product-add-to-cart-with-options.html @@ -0,0 +1,6 @@ + +
+ + +
+ \ No newline at end of file diff --git a/parts/variable-product-add-to-cart-with-options.html b/parts/variable-product-add-to-cart-with-options.html new file mode 100644 index 0000000..25b8c47 --- /dev/null +++ b/parts/variable-product-add-to-cart-with-options.html @@ -0,0 +1,7 @@ + + +
+ + +
+ \ No newline at end of file diff --git a/templates/archive-product.html b/templates/archive-product.html new file mode 100644 index 0000000..db87636 --- /dev/null +++ b/templates/archive-product.html @@ -0,0 +1,46 @@ + + + +
+ + + + + + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ + + \ No newline at end of file diff --git a/templates/coming-soon.html b/templates/coming-soon.html new file mode 100644 index 0000000..7f96aa6 --- /dev/null +++ b/templates/coming-soon.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/order-confirmation.html b/templates/order-confirmation.html new file mode 100644 index 0000000..3e7fd3a --- /dev/null +++ b/templates/order-confirmation.html @@ -0,0 +1,53 @@ + + + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ + + +
+ + + + + +
+ +
+ + + + + + + + +
+ + + \ No newline at end of file diff --git a/templates/page-cart.html b/templates/page-cart.html new file mode 100644 index 0000000..198212b --- /dev/null +++ b/templates/page-cart.html @@ -0,0 +1,11 @@ + + + +
+ + + +
+ + + \ No newline at end of file diff --git a/templates/page-checkout.html b/templates/page-checkout.html new file mode 100644 index 0000000..d570f98 --- /dev/null +++ b/templates/page-checkout.html @@ -0,0 +1,9 @@ + + + +
+ + +
+ + \ No newline at end of file diff --git a/templates/product-search-results.html b/templates/product-search-results.html new file mode 100644 index 0000000..7cb2fd9 --- /dev/null +++ b/templates/product-search-results.html @@ -0,0 +1,41 @@ + + + +
+ + + + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + + + +
+ +
+ + + \ No newline at end of file diff --git a/templates/single-product.html b/templates/single-product.html new file mode 100644 index 0000000..627d3f4 --- /dev/null +++ b/templates/single-product.html @@ -0,0 +1,53 @@ + + + +
+ + + + +
+ +
+ +
+ + + +
+ + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ +
+ +
+ + + + + +
+ + + \ No newline at end of file diff --git a/templates/taxonomy-product_attribute.html b/templates/taxonomy-product_attribute.html new file mode 100644 index 0000000..3a0eb26 --- /dev/null +++ b/templates/taxonomy-product_attribute.html @@ -0,0 +1,48 @@ + + + +
+ + + + + + + + + +
+ + + +
+ + + +
+ + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ + + \ No newline at end of file diff --git a/templates/taxonomy-product_brand.html b/templates/taxonomy-product_brand.html new file mode 100644 index 0000000..8dbcc86 --- /dev/null +++ b/templates/taxonomy-product_brand.html @@ -0,0 +1,42 @@ + + + +
+ + + + + + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + \ No newline at end of file diff --git a/templates/taxonomy-product_cat.html b/templates/taxonomy-product_cat.html new file mode 100644 index 0000000..3a0eb26 --- /dev/null +++ b/templates/taxonomy-product_cat.html @@ -0,0 +1,48 @@ + + + +
+ + + + + + + + + +
+ + + +
+ + + +
+ + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ + + \ No newline at end of file diff --git a/templates/taxonomy-product_tag.html b/templates/taxonomy-product_tag.html new file mode 100644 index 0000000..13e6e3e --- /dev/null +++ b/templates/taxonomy-product_tag.html @@ -0,0 +1,48 @@ + + + +
+ + + + + + + + + +
+ + + +
+ + + +
+ + + + + + + + + + + + + + + +
+ +
+ + +
+ +
+ + + \ No newline at end of file diff --git a/theme.json b/theme.json index 01a9929..09c2515 100644 --- a/theme.json +++ b/theme.json @@ -1,199 +1,242 @@ { - "version": 3, - "$schema": "https://schemas.wp.org/trunk/theme.json", - "settings": { - "useRootPaddingAwareAlignments": true, - "appearanceTools": true, - "color": { - "defaultDuotone": false, - "defaultGradients": false, - "defaultPalette": false, - "palette": [ - { - "color": "#040810", - "name": "Background", - "slug": "background" - }, - { - "color": "#FAF7EF", - "name": "Foreground", - "slug": "foreground" - }, - { - "color": "#8E9AEC", - "name": "Accent", - "slug": "accent" - } - ] - }, - "layout": { - "contentSize": "968px", - "wideSize": "1440px" - }, - "typography": { - "fontFamilies": [ - { - "fontFamily": "EB Garamond", - "slug": "eb-garamond", - "name": "EB Garamond", - "fontFace": [ - { - "fontFamily": "EB Garamond", - "fontWeight": "400", - "fontStyle": "normal", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "400", - "fontStyle": "italic", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-italic.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "500", - "fontStyle": "normal", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-medium.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "500", - "fontStyle": "italic", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-medium-italic.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "600", - "fontStyle": "normal", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-semibold.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "600", - "fontStyle": "italic", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-semibold-italic.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "700", - "fontStyle": "normal", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-bold.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "700", - "fontStyle": "italic", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-bold-italic.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "800", - "fontStyle": "normal", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-extrabold.woff2"] - }, - { - "fontFamily": "EB Garamond", - "fontWeight": "800", - "fontStyle": "italic", - "src": ["file:./assets/fonts/eb-garamond/eb-garamond-extrabold-italic.woff2"] - } - ] - }, - { - "fontFamily": "Jura", - "slug": "jura", - "name": "Jura", - "fontFace": [ - { - "fontFamily": "Jura", - "fontWeight": "300", - "fontStyle": "normal", - "src": ["file:./assets/fonts/jura/jura-light.woff2"] - }, - { - "fontFamily": "Jura", - "fontWeight": "400", - "fontStyle": "normal", - "src": ["file:./assets/fonts/jura/jura.woff2"] - }, - { - "fontFamily": "Jura", - "fontWeight": "500", - "fontStyle": "normal", - "src": ["file:./assets/fonts/jura/jura-medium.woff2"] - }, - { - "fontFamily": "Jura", - "fontWeight": "600", - "fontStyle": "normal", - "src": ["file:./assets/fonts/jura/jura-semibold.woff2"] - }, - { - "fontFamily": "Jura", - "fontWeight": "700", - "fontStyle": "normal", - "src": ["file:./assets/fonts/jura/jura-bold.woff2"] - } - ] - }, - { - "fontFamily": "sora", - "slug": "sora", - "name": "sora", - "fontFace": [ - { - "fontFamily": "Sora", - "fontWeight": "100", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora-thin.woff2"] - }, - { - "fontFamily": "Sora", - "fontWeight": "200", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora-extralight.woff2"] - }, - { - "fontFamily": "Sora", - "fontWeight": "300", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora-light.woff2"] - }, - { - "fontFamily": "Sora", - "fontWeight": "400", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora.woff2"] - }, - { - "fontFamily": "Sora", - "fontWeight": "500", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora-medium.woff2"] - }, - { - "fontFamily": "Sora", - "fontWeight": "600", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora-semibold.woff2"] - }, - { - "fontFamily": "Sora", - "fontWeight": "700", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora-bold.woff2"] - }, - { - "fontFamily": "Sora", - "fontWeight": "800", - "fontStyle": "normal", - "src": ["file:./assets/fonts/sora/sora-extrabold.woff2"] - } - ] - } - ], - "fontSizes": [ - { + "settings": { + "appearanceTools": true, + "color": { + "defaultDuotone": false, + "defaultGradients": false, + "defaultPalette": false, + "palette": [ + { + "color": "#040810", + "name": "Background", + "slug": "background" + }, + { + "color": "#FAF7EF", + "name": "Foreground", + "slug": "foreground" + }, + { + "color": "#8E9AEC", + "name": "Accent", + "slug": "accent" + } + ] + }, + "layout": { + "contentSize": "968px", + "wideSize": "1440px" + }, + "typography": { + "fontFamilies": [ + { + "fontFace": [ + { + "fontFamily": "EB Garamond", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "italic", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-italic.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-medium.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "italic", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-medium-italic.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-semibold.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "italic", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-semibold-italic.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-bold.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "italic", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-bold-italic.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "normal", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-extrabold.woff2" + ] + }, + { + "fontFamily": "EB Garamond", + "fontStyle": "italic", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/eb-garamond/eb-garamond-extrabold-italic.woff2" + ] + } + ], + "fontFamily": "EB Garamond", + "name": "EB Garamond", + "slug": "eb-garamond" + }, + { + "fontFace": [ + { + "fontFamily": "Jura", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/jura/jura-light.woff2" + ] + }, + { + "fontFamily": "Jura", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/jura/jura.woff2" + ] + }, + { + "fontFamily": "Jura", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/jura/jura-medium.woff2" + ] + }, + { + "fontFamily": "Jura", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/jura/jura-semibold.woff2" + ] + }, + { + "fontFamily": "Jura", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/jura/jura-bold.woff2" + ] + } + ], + "fontFamily": "Jura", + "name": "Jura", + "slug": "jura" + }, + { + "fontFace": [ + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "100", + "src": [ + "file:./assets/fonts/sora/sora-thin.woff2" + ] + }, + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "200", + "src": [ + "file:./assets/fonts/sora/sora-extralight.woff2" + ] + }, + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "300", + "src": [ + "file:./assets/fonts/sora/sora-light.woff2" + ] + }, + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "400", + "src": [ + "file:./assets/fonts/sora/sora.woff2" + ] + }, + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "500", + "src": [ + "file:./assets/fonts/sora/sora-medium.woff2" + ] + }, + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "600", + "src": [ + "file:./assets/fonts/sora/sora-semibold.woff2" + ] + }, + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "700", + "src": [ + "file:./assets/fonts/sora/sora-bold.woff2" + ] + }, + { + "fontFamily": "Sora", + "fontStyle": "normal", + "fontWeight": "800", + "src": [ + "file:./assets/fonts/sora/sora-extrabold.woff2" + ] + } + ], + "fontFamily": "sora", + "name": "sora", + "slug": "sora" + } + ], + "fontSizes": [ + { "fluid": false, "name": "Small", "size": "14px", @@ -216,79 +259,103 @@ "size": "38px", "slug": "x-large" } - ] - } - }, - "styles": { - "spacing": { - "padding": { - "top": "0", + ] + }, + "useRootPaddingAwareAlignments": true + }, + "styles": { + "blocks": { + "core/button": { + "border": { + "radius": "0.85em", + "style": "solid", + "width": "1px" + }, + "color": { + "background": "transparent", + "text": "var(--wp--preset--color--foreground)" + }, + "spacing": { + "padding": { + "bottom": ".5em", + "left": ".75em", + "right": ".75em", + "top": ".5em" + } + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--jura)", + "fontSize": "var(--wp--preset--font-size--small)", + "fontWeight": "700", + "textTransform": "uppercase" + } + }, + "core/heading": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--eb-garamond)", + "fontSize": "var(--wp--preset--font-size--x-large)", + "fontStyle": "normal", + "fontWeight": "700", + "lineHeight": "1.0" + } + }, + "core/image": { + "border": { + "color": "#FFF", + "radius": "12px", + "style": "solid", + "width": "1px" + } + }, + "core/paragraph": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--sora)", + "fontSize": "var(--wp--preset--font-size--standard)", + "fontWeight": "300" + } + } + }, + "color": { + "background": "var(--wp--preset--color--background)", + "text": "var(--wp--preset--color--foreground)" + }, + "elements": { + "caption": { + "color": { + "text": "var(--wp--preset--color--foreground)" + } + }, + "heading": { + "color": { + "text": "var(--wp--preset--color--foreground)" + } + }, + "link": { + ":hover": { + "color": { + "text": "var(--wp--preset--color--foreground)" + } + }, + "color": { + "text": "var(--wp--preset--color--foreground)" + } + } + }, + "spacing": { + "padding": { "bottom": "0", "left": "0", - "right": "0" + "right": "0", + "top": "0" } - }, - "color": { - "background": "var(--wp--preset--color--background)", - "text": "var(--wp--preset--color--foreground)" - }, - "typography": { - "fontFamily": "var(--wp--preset--font-family--sora)", - "fontWeight": "300", - "fontSize": "var(--wp--preset--font-size--standard)" - }, - "blocks": { - "core/image": { - "border": { - "color": "#FFF", - "width": "1px", - "style": "solid", - "radius": "12px" - } - }, - "core/heading": { - "typography": { - "fontFamily": "var(--wp--preset--font-family--eb-garamond)", - "fontSize": "var(--wp--preset--font-size--x-large)", - "fontWeight": "700", - "lineHeight": "1.0" - } - }, - "core/paragraph": { - "typography": { - "fontFamily": "var(--wp--preset--font-family--sora)", - "fontWeight": "300", - "fontSize": "var(--wp--preset--font-size--standard)" - } - }, - "core/button": { - "color": { - "background": "transparent", - "text": "var(--wp--preset--color--foreground)" - }, - "typography": { - "textTransform": "uppercase", - "fontFamily": "var(--wp--preset--font-family--jura)", - "fontSize": "var(--wp--preset--font-size--small)", - "fontWeight": "700" - }, - "border": { - "width": "1px", - "style": "solid", - "radius": "0.85em" - }, - "spacing": { - "padding": { - "bottom": ".5em", - "top": ".5em", - "left": ".75em", - "right": ".75em" - } - } - } - } - }, - "templateParts": [ + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--sora)", + "fontSize": "var(--wp--preset--font-size--standard)", + "fontWeight": "300" + } + }, + "templateParts": [ { "area": "header", "name": "header", @@ -299,5 +366,7 @@ "name": "footer", "title": "Footer" } - ] + ], + "version": 3, + "$schema": "https://schemas.wp.org/wp/6.7/theme.json" } \ No newline at end of file