easyorders 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +93 -93
  2. package/dist/bin/cli.js +12 -5
  3. package/dist/template/theme/config.json +95 -95
  4. package/dist/template/theme/home-sections/category-mosaic/config.json +40 -40
  5. package/dist/template/theme/home-sections/category-mosaic/template.liquid +155 -155
  6. package/dist/template/theme/home-sections/editorial-feature/config.json +67 -67
  7. package/dist/template/theme/home-sections/editorial-feature/template.liquid +153 -153
  8. package/dist/template/theme/home-sections/newsletter-luxe/config.json +60 -60
  9. package/dist/template/theme/home-sections/newsletter-luxe/template.liquid +144 -144
  10. package/dist/template/theme/home-sections/runway-hero/config.json +91 -91
  11. package/dist/template/theme/home-sections/runway-hero/template.liquid +159 -159
  12. package/dist/template/theme/home-sections/shop-the-look/config.json +75 -75
  13. package/dist/template/theme/home-sections/shop-the-look/template.liquid +304 -304
  14. package/dist/template/theme/home-sections/trust-promise/config.json +47 -47
  15. package/dist/template/theme/home-sections/trust-promise/template.liquid +96 -96
  16. package/dist/template/theme/schema.json +151 -151
  17. package/dist/template/theme/script.js +586 -586
  18. package/dist/template/theme/sections/breadcrumbs.liquid +17 -17
  19. package/dist/template/theme/sections/categories.liquid +9 -9
  20. package/dist/template/theme/sections/fake-counter.liquid +27 -27
  21. package/dist/template/theme/sections/fake-stock.liquid +6 -6
  22. package/dist/template/theme/sections/fake-visitor.liquid +6 -6
  23. package/dist/template/theme/sections/featured-products.liquid +110 -110
  24. package/dist/template/theme/sections/fixed-buy-button.liquid +46 -46
  25. package/dist/template/theme/sections/footer.liquid +128 -128
  26. package/dist/template/theme/sections/gallery.liquid +61 -61
  27. package/dist/template/theme/sections/header.liquid +152 -152
  28. package/dist/template/theme/sections/home-products-grid.liquid +109 -109
  29. package/dist/template/theme/sections/list-products.liquid +93 -93
  30. package/dist/template/theme/sections/order-invoice.liquid +154 -154
  31. package/dist/template/theme/sections/product-description.liquid +30 -30
  32. package/dist/template/theme/sections/product-details.liquid +63 -63
  33. package/dist/template/theme/sections/products-grid.liquid +86 -86
  34. package/dist/template/theme/sections/related-products.liquid +88 -88
  35. package/dist/template/theme/sections/reviews.liquid +55 -55
  36. package/dist/template/theme/sections/slider.liquid +43 -43
  37. package/dist/template/theme/sections/thanks.liquid +33 -33
  38. package/dist/template/theme/style.css +3923 -3923
  39. package/dist/template/theme/theme-data.json +9 -9
  40. package/package.json +40 -40
@@ -1,159 +1,159 @@
1
- <section
2
- class="runway-hero runway-hero--{{ section_data.alignment | default: 'center' }}"
3
- style="
4
- --runway-text: {{ section_data.text_color | default: '#FAF7F2' }};
5
- --runway-accent: {{ section_data.accent_color | default: '#C9A962' }};
6
- --runway-overlay: {{ section_data.overlay_strength | default: 42 | divided_by: 100.0 }};
7
- --runway-min-h: {% if section_data.min_height == 'compact' %}52vh{% elsif section_data.min_height == 'screen' %}92vh{% else %}72vh{% endif %};
8
- {% if section_data.image != blank %}background-image: url('{{ section_data.image }}');{% endif %}
9
- "
10
- >
11
- <div class="runway-hero__overlay" aria-hidden="true"></div>
12
- <div class="runway-hero__inner">
13
- {% if section_data.kicker != blank %}
14
- <p class="runway-hero__kicker">{{ section_data.kicker }}</p>
15
- {% endif %}
16
- {% if section_data.headline != blank %}
17
- <h1 class="runway-hero__title">{{ section_data.headline }}</h1>
18
- {% endif %}
19
- {% if section_data.subheadline != blank %}
20
- <p class="runway-hero__lede">{{ section_data.subheadline }}</p>
21
- {% endif %}
22
- <div class="runway-hero__actions">
23
- {% if section_data.primary_label != blank %}
24
- <a
25
- class="runway-hero__btn runway-hero__btn--primary"
26
- href="{% if section_data.primary_category_id != blank %}#{% else %}/products{% endif %}"
27
- {% if section_data.primary_category_id != blank %}
28
- data-eo-hs-cta="1"
29
- data-eo-hs-cta-entity="categories"
30
- data-eo-hs-cta-id="{{ section_data.primary_category_id }}"
31
- {% endif %}
32
- >
33
- {{ section_data.primary_label }}
34
- </a>
35
- {% endif %}
36
- {% if section_data.secondary_label != blank %}
37
- <a
38
- class="runway-hero__btn runway-hero__btn--ghost"
39
- href="#"
40
- {% if section_data.secondary_page_id != blank %}
41
- data-eo-hs-cta="1"
42
- data-eo-hs-cta-entity="pages"
43
- data-eo-hs-cta-id="{{ section_data.secondary_page_id }}"
44
- {% endif %}
45
- >
46
- {{ section_data.secondary_label }}
47
- </a>
48
- {% endif %}
49
- </div>
50
- </div>
51
- </section>
52
-
53
- <style>
54
- .runway-hero {
55
- position: relative;
56
- isolation: isolate;
57
- min-height: var(--runway-min-h, 72vh);
58
- display: flex;
59
- align-items: center;
60
- justify-content: center;
61
- padding: clamp(2rem, 6vw, 5rem) 1.5rem;
62
- background-color: #141218;
63
- background-size: cover;
64
- background-position: center;
65
- color: var(--runway-text, #faf7f2);
66
- text-align: center;
67
- }
68
- .runway-hero--left {
69
- text-align: left;
70
- justify-content: flex-start;
71
- }
72
- .runway-hero__overlay {
73
- position: absolute;
74
- inset: 0;
75
- z-index: 0;
76
- background: linear-gradient(
77
- 105deg,
78
- rgba(8, 6, 10, calc(var(--runway-overlay, 0.45) + 0.12)) 0%,
79
- rgba(8, 6, 10, var(--runway-overlay, 0.45)) 45%,
80
- rgba(8, 6, 10, calc(var(--runway-overlay, 0.45) * 0.55)) 100%
81
- );
82
- }
83
- .runway-hero__inner {
84
- position: relative;
85
- z-index: 1;
86
- max-width: 40rem;
87
- display: flex;
88
- flex-direction: column;
89
- gap: 1rem;
90
- }
91
- .runway-hero--left .runway-hero__inner {
92
- margin-right: auto;
93
- }
94
- .runway-hero__kicker {
95
- margin: 0;
96
- font-size: 0.75rem;
97
- letter-spacing: 0.35em;
98
- text-transform: uppercase;
99
- color: var(--runway-accent, #c9a962);
100
- font-weight: 600;
101
- }
102
- .runway-hero__title {
103
- margin: 0;
104
- font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
105
- font-weight: 500;
106
- font-size: clamp(2.25rem, 6vw, 3.75rem);
107
- line-height: 1.05;
108
- }
109
- .runway-hero__lede {
110
- margin: 0;
111
- font-size: clamp(1rem, 2.2vw, 1.2rem);
112
- line-height: 1.65;
113
- opacity: 0.92;
114
- max-width: 36rem;
115
- }
116
- .runway-hero--left .runway-hero__lede {
117
- margin-left: 0;
118
- }
119
- .runway-hero__actions {
120
- display: flex;
121
- flex-wrap: wrap;
122
- gap: 0.75rem;
123
- margin-top: 0.5rem;
124
- justify-content: center;
125
- }
126
- .runway-hero--left .runway-hero__actions {
127
- justify-content: flex-start;
128
- }
129
- .runway-hero__btn {
130
- display: inline-flex;
131
- align-items: center;
132
- justify-content: center;
133
- padding: 0.85rem 1.75rem;
134
- font-size: 0.8rem;
135
- font-weight: 600;
136
- letter-spacing: 0.12em;
137
- text-transform: uppercase;
138
- text-decoration: none;
139
- border-radius: 999px;
140
- transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
141
- }
142
- .runway-hero__btn--primary {
143
- background: var(--runway-accent, #c9a962);
144
- color: #141218;
145
- box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
146
- }
147
- .runway-hero__btn--primary:hover {
148
- transform: translateY(-1px);
149
- box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
150
- }
151
- .runway-hero__btn--ghost {
152
- border: 1px solid rgba(255, 255, 255, 0.45);
153
- color: inherit;
154
- background: rgba(255, 255, 255, 0.04);
155
- }
156
- .runway-hero__btn--ghost:hover {
157
- background: rgba(255, 255, 255, 0.1);
158
- }
159
- </style>
1
+ <section
2
+ class="runway-hero runway-hero--{{ section_data.alignment | default: 'center' }}"
3
+ style="
4
+ --runway-text: {{ section_data.text_color | default: '#FAF7F2' }};
5
+ --runway-accent: {{ section_data.accent_color | default: '#C9A962' }};
6
+ --runway-overlay: {{ section_data.overlay_strength | default: 42 | divided_by: 100.0 }};
7
+ --runway-min-h: {% if section_data.min_height == 'compact' %}52vh{% elsif section_data.min_height == 'screen' %}92vh{% else %}72vh{% endif %};
8
+ {% if section_data.image != blank %}background-image: url('{{ section_data.image }}');{% endif %}
9
+ "
10
+ >
11
+ <div class="runway-hero__overlay" aria-hidden="true"></div>
12
+ <div class="runway-hero__inner">
13
+ {% if section_data.kicker != blank %}
14
+ <p class="runway-hero__kicker">{{ section_data.kicker }}</p>
15
+ {% endif %}
16
+ {% if section_data.headline != blank %}
17
+ <h1 class="runway-hero__title">{{ section_data.headline }}</h1>
18
+ {% endif %}
19
+ {% if section_data.subheadline != blank %}
20
+ <p class="runway-hero__lede">{{ section_data.subheadline }}</p>
21
+ {% endif %}
22
+ <div class="runway-hero__actions">
23
+ {% if section_data.primary_label != blank %}
24
+ <a
25
+ class="runway-hero__btn runway-hero__btn--primary"
26
+ href="{% if section_data.primary_category_id != blank %}#{% else %}/products{% endif %}"
27
+ {% if section_data.primary_category_id != blank %}
28
+ data-eo-hs-cta="1"
29
+ data-eo-hs-cta-entity="categories"
30
+ data-eo-hs-cta-id="{{ section_data.primary_category_id }}"
31
+ {% endif %}
32
+ >
33
+ {{ section_data.primary_label }}
34
+ </a>
35
+ {% endif %}
36
+ {% if section_data.secondary_label != blank %}
37
+ <a
38
+ class="runway-hero__btn runway-hero__btn--ghost"
39
+ href="#"
40
+ {% if section_data.secondary_page_id != blank %}
41
+ data-eo-hs-cta="1"
42
+ data-eo-hs-cta-entity="pages"
43
+ data-eo-hs-cta-id="{{ section_data.secondary_page_id }}"
44
+ {% endif %}
45
+ >
46
+ {{ section_data.secondary_label }}
47
+ </a>
48
+ {% endif %}
49
+ </div>
50
+ </div>
51
+ </section>
52
+
53
+ <style>
54
+ .runway-hero {
55
+ position: relative;
56
+ isolation: isolate;
57
+ min-height: var(--runway-min-h, 72vh);
58
+ display: flex;
59
+ align-items: center;
60
+ justify-content: center;
61
+ padding: clamp(2rem, 6vw, 5rem) 1.5rem;
62
+ background-color: #141218;
63
+ background-size: cover;
64
+ background-position: center;
65
+ color: var(--runway-text, #faf7f2);
66
+ text-align: center;
67
+ }
68
+ .runway-hero--left {
69
+ text-align: left;
70
+ justify-content: flex-start;
71
+ }
72
+ .runway-hero__overlay {
73
+ position: absolute;
74
+ inset: 0;
75
+ z-index: 0;
76
+ background: linear-gradient(
77
+ 105deg,
78
+ rgba(8, 6, 10, calc(var(--runway-overlay, 0.45) + 0.12)) 0%,
79
+ rgba(8, 6, 10, var(--runway-overlay, 0.45)) 45%,
80
+ rgba(8, 6, 10, calc(var(--runway-overlay, 0.45) * 0.55)) 100%
81
+ );
82
+ }
83
+ .runway-hero__inner {
84
+ position: relative;
85
+ z-index: 1;
86
+ max-width: 40rem;
87
+ display: flex;
88
+ flex-direction: column;
89
+ gap: 1rem;
90
+ }
91
+ .runway-hero--left .runway-hero__inner {
92
+ margin-right: auto;
93
+ }
94
+ .runway-hero__kicker {
95
+ margin: 0;
96
+ font-size: 0.75rem;
97
+ letter-spacing: 0.35em;
98
+ text-transform: uppercase;
99
+ color: var(--runway-accent, #c9a962);
100
+ font-weight: 600;
101
+ }
102
+ .runway-hero__title {
103
+ margin: 0;
104
+ font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
105
+ font-weight: 500;
106
+ font-size: clamp(2.25rem, 6vw, 3.75rem);
107
+ line-height: 1.05;
108
+ }
109
+ .runway-hero__lede {
110
+ margin: 0;
111
+ font-size: clamp(1rem, 2.2vw, 1.2rem);
112
+ line-height: 1.65;
113
+ opacity: 0.92;
114
+ max-width: 36rem;
115
+ }
116
+ .runway-hero--left .runway-hero__lede {
117
+ margin-left: 0;
118
+ }
119
+ .runway-hero__actions {
120
+ display: flex;
121
+ flex-wrap: wrap;
122
+ gap: 0.75rem;
123
+ margin-top: 0.5rem;
124
+ justify-content: center;
125
+ }
126
+ .runway-hero--left .runway-hero__actions {
127
+ justify-content: flex-start;
128
+ }
129
+ .runway-hero__btn {
130
+ display: inline-flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ padding: 0.85rem 1.75rem;
134
+ font-size: 0.8rem;
135
+ font-weight: 600;
136
+ letter-spacing: 0.12em;
137
+ text-transform: uppercase;
138
+ text-decoration: none;
139
+ border-radius: 999px;
140
+ transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
141
+ }
142
+ .runway-hero__btn--primary {
143
+ background: var(--runway-accent, #c9a962);
144
+ color: #141218;
145
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
146
+ }
147
+ .runway-hero__btn--primary:hover {
148
+ transform: translateY(-1px);
149
+ box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
150
+ }
151
+ .runway-hero__btn--ghost {
152
+ border: 1px solid rgba(255, 255, 255, 0.45);
153
+ color: inherit;
154
+ background: rgba(255, 255, 255, 0.04);
155
+ }
156
+ .runway-hero__btn--ghost:hover {
157
+ background: rgba(255, 255, 255, 0.1);
158
+ }
159
+ </style>
@@ -1,75 +1,75 @@
1
- {
2
- "icon": "https://api.iconify.design/lucide:shirt.svg",
3
- "label": "Shop the look",
4
- "section_schema": [
5
- {
6
- "name": "eyebrow",
7
- "type": "string",
8
- "default": "Styling room",
9
- "description": "Label above the section title"
10
- },
11
- {
12
- "name": "title",
13
- "type": "string",
14
- "default": "Shop the look",
15
- "description": "Section heading"
16
- },
17
- {
18
- "name": "subtitle",
19
- "type": "string",
20
- "default": "One outfit, every piece linked—build yours in a single pass.",
21
- "description": "Intro line beside the hero look"
22
- },
23
- {
24
- "name": "look_image",
25
- "type": "image",
26
- "default": "",
27
- "description": "Main outfit or editorial image"
28
- },
29
- {
30
- "name": "look_title",
31
- "type": "string",
32
- "default": "City nights",
33
- "description": "Title on the hero card"
34
- },
35
- {
36
- "name": "look_caption",
37
- "type": "string",
38
- "default": "Layered wool, soft leather, and a hint of shine.",
39
- "description": "Short caption under the title"
40
- },
41
- {
42
- "name": "look_url",
43
- "type": "string",
44
- "default": "/products",
45
- "description": "Link for the full look CTA"
46
- },
47
- {
48
- "name": "look_cta_label",
49
- "type": "string",
50
- "default": "Shop full look",
51
- "description": "Hero card button label"
52
- },
53
- {
54
- "name": "accent_color",
55
- "type": "color",
56
- "default": "#C9A962",
57
- "description": "Accent for labels and buttons"
58
- },
59
- {
60
- "name": "surface",
61
- "type": "select",
62
- "default": "cream",
63
- "description": "Background style",
64
- "options": [
65
- { "label": "Warm cream", "value": "cream" },
66
- { "label": "Soft charcoal", "value": "charcoal" }
67
- ]
68
- },
69
- {
70
- "name": "pick_product_ids",
71
- "type": "product_multi_select",
72
- "description": "Products to show beside the hero (search and reorder in the picker)"
73
- }
74
- ]
75
- }
1
+ {
2
+ "icon": "https://api.iconify.design/lucide:shirt.svg",
3
+ "label": "Shop the look",
4
+ "section_schema": [
5
+ {
6
+ "name": "eyebrow",
7
+ "type": "string",
8
+ "default": "Styling room",
9
+ "description": "Label above the section title"
10
+ },
11
+ {
12
+ "name": "title",
13
+ "type": "string",
14
+ "default": "Shop the look",
15
+ "description": "Section heading"
16
+ },
17
+ {
18
+ "name": "subtitle",
19
+ "type": "string",
20
+ "default": "One outfit, every piece linked—build yours in a single pass.",
21
+ "description": "Intro line beside the hero look"
22
+ },
23
+ {
24
+ "name": "look_image",
25
+ "type": "image",
26
+ "default": "",
27
+ "description": "Main outfit or editorial image"
28
+ },
29
+ {
30
+ "name": "look_title",
31
+ "type": "string",
32
+ "default": "City nights",
33
+ "description": "Title on the hero card"
34
+ },
35
+ {
36
+ "name": "look_caption",
37
+ "type": "string",
38
+ "default": "Layered wool, soft leather, and a hint of shine.",
39
+ "description": "Short caption under the title"
40
+ },
41
+ {
42
+ "name": "look_url",
43
+ "type": "string",
44
+ "default": "/products",
45
+ "description": "Link for the full look CTA"
46
+ },
47
+ {
48
+ "name": "look_cta_label",
49
+ "type": "string",
50
+ "default": "Shop full look",
51
+ "description": "Hero card button label"
52
+ },
53
+ {
54
+ "name": "accent_color",
55
+ "type": "color",
56
+ "default": "#C9A962",
57
+ "description": "Accent for labels and buttons"
58
+ },
59
+ {
60
+ "name": "surface",
61
+ "type": "select",
62
+ "default": "cream",
63
+ "description": "Background style",
64
+ "options": [
65
+ { "label": "Warm cream", "value": "cream" },
66
+ { "label": "Soft charcoal", "value": "charcoal" }
67
+ ]
68
+ },
69
+ {
70
+ "name": "pick_product_ids",
71
+ "type": "product_multi_select",
72
+ "description": "Products to show beside the hero (search and reorder in the picker)"
73
+ }
74
+ ]
75
+ }