@o2vend/theme-cli 1.0.32
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.
- package/README.md +425 -0
- package/assets/Logo_o2vend.png +0 -0
- package/assets/favicon.png +0 -0
- package/assets/logo-white.png +0 -0
- package/bin/o2vend +42 -0
- package/config/widget-map.json +50 -0
- package/lib/commands/check.js +201 -0
- package/lib/commands/generate.js +33 -0
- package/lib/commands/init.js +214 -0
- package/lib/commands/optimize.js +216 -0
- package/lib/commands/package.js +208 -0
- package/lib/commands/serve.js +105 -0
- package/lib/commands/validate.js +191 -0
- package/lib/lib/api-client.js +357 -0
- package/lib/lib/dev-server.js +2618 -0
- package/lib/lib/file-watcher.js +80 -0
- package/lib/lib/hot-reload.js +106 -0
- package/lib/lib/liquid-engine.js +822 -0
- package/lib/lib/liquid-filters.js +671 -0
- package/lib/lib/mock-api-server.js +989 -0
- package/lib/lib/mock-data.js +1468 -0
- package/lib/lib/widget-service.js +321 -0
- package/package.json +70 -0
- package/test-theme/README.md +27 -0
- package/test-theme/assets/async-sections.js +446 -0
- package/test-theme/assets/cart-drawer.js +463 -0
- package/test-theme/assets/cart-manager.js +223 -0
- package/test-theme/assets/checkout-price-handler.js +368 -0
- package/test-theme/assets/components.css +4629 -0
- package/test-theme/assets/delivery-zone.css +299 -0
- package/test-theme/assets/delivery-zone.js +396 -0
- package/test-theme/assets/logo.png +0 -0
- package/test-theme/assets/sections.css +48 -0
- package/test-theme/assets/theme.css +3500 -0
- package/test-theme/assets/theme.js +3745 -0
- package/test-theme/config/settings_data.json +292 -0
- package/test-theme/config/settings_schema.json +1050 -0
- package/test-theme/layout/theme.liquid +195 -0
- package/test-theme/locales/en.default.json +260 -0
- package/test-theme/sections/content-fallback.liquid +53 -0
- package/test-theme/sections/content.liquid +57 -0
- package/test-theme/sections/footer-fallback.liquid +328 -0
- package/test-theme/sections/footer.liquid +278 -0
- package/test-theme/sections/header-fallback.liquid +1805 -0
- package/test-theme/sections/header.liquid +1145 -0
- package/test-theme/sections/hero-fallback.liquid +212 -0
- package/test-theme/sections/hero.liquid +136 -0
- package/test-theme/snippets/account-sidebar.liquid +200 -0
- package/test-theme/snippets/add-to-cart-modal.liquid +484 -0
- package/test-theme/snippets/breadcrumbs.liquid +134 -0
- package/test-theme/snippets/cart-drawer.liquid +467 -0
- package/test-theme/snippets/delivery-zone-city-selector.liquid +79 -0
- package/test-theme/snippets/delivery-zone-modal.liquid +337 -0
- package/test-theme/snippets/delivery-zone-search.liquid +78 -0
- package/test-theme/snippets/icon.liquid +105 -0
- package/test-theme/snippets/login-modal.liquid +346 -0
- package/test-theme/snippets/mega-menu.liquid +812 -0
- package/test-theme/snippets/news-thumbnail.liquid +187 -0
- package/test-theme/snippets/pagination.liquid +120 -0
- package/test-theme/snippets/price.liquid +92 -0
- package/test-theme/snippets/product-card-related.liquid +78 -0
- package/test-theme/snippets/product-card-simple.liquid +41 -0
- package/test-theme/snippets/product-card.liquid +697 -0
- package/test-theme/snippets/rating.liquid +85 -0
- package/test-theme/snippets/skeleton-collection-grid.liquid +114 -0
- package/test-theme/snippets/skeleton-product-card.liquid +124 -0
- package/test-theme/snippets/skeleton-product-grid.liquid +34 -0
- package/test-theme/snippets/social-sharing.liquid +185 -0
- package/test-theme/templates/account/dashboard.liquid +401 -0
- package/test-theme/templates/account/loyalty-redemption.liquid +405 -0
- package/test-theme/templates/account/loyalty.liquid +588 -0
- package/test-theme/templates/account/order-detail.liquid +230 -0
- package/test-theme/templates/account/orders.liquid +349 -0
- package/test-theme/templates/account/profile.liquid +758 -0
- package/test-theme/templates/account/register.liquid +232 -0
- package/test-theme/templates/account/return-orders.liquid +348 -0
- package/test-theme/templates/account/store-credit.liquid +464 -0
- package/test-theme/templates/account/subscriptions.liquid +601 -0
- package/test-theme/templates/account/wishlist.liquid +419 -0
- package/test-theme/templates/address-book.liquid +1092 -0
- package/test-theme/templates/categories.liquid +452 -0
- package/test-theme/templates/checkout.liquid +4511 -0
- package/test-theme/templates/error.liquid +384 -0
- package/test-theme/templates/index.liquid +11 -0
- package/test-theme/templates/login.liquid +185 -0
- package/test-theme/templates/order-confirmation.liquid +720 -0
- package/test-theme/templates/page.liquid +297 -0
- package/test-theme/templates/product-detail.liquid +4363 -0
- package/test-theme/templates/products.liquid +518 -0
- package/test-theme/templates/search.liquid +922 -0
- package/test-theme/theme.json.example +19 -0
- package/test-theme/widgets/brand-carousel.liquid +676 -0
- package/test-theme/widgets/brand.liquid +245 -0
- package/test-theme/widgets/carousel.liquid +843 -0
- package/test-theme/widgets/category-list-carousel.liquid +656 -0
- package/test-theme/widgets/category-list.liquid +340 -0
- package/test-theme/widgets/category.liquid +475 -0
- package/test-theme/widgets/discount-time.liquid +176 -0
- package/test-theme/widgets/footer-menu.liquid +695 -0
- package/test-theme/widgets/footer.liquid +179 -0
- package/test-theme/widgets/gallery.liquid +271 -0
- package/test-theme/widgets/header-menu.liquid +932 -0
- package/test-theme/widgets/header.liquid +159 -0
- package/test-theme/widgets/html.liquid +214 -0
- package/test-theme/widgets/news.liquid +217 -0
- package/test-theme/widgets/product-canvas.liquid +235 -0
- package/test-theme/widgets/product-carousel.liquid +502 -0
- package/test-theme/widgets/product.liquid +45 -0
- package/test-theme/widgets/recently-viewed.liquid +26 -0
- package/test-theme/widgets/shared/product-grid.liquid +339 -0
- package/test-theme/widgets/simple-product.liquid +42 -0
- package/test-theme/widgets/single-product.liquid +610 -0
- package/test-theme/widgets/spacebar-carousel.liquid +663 -0
- package/test-theme/widgets/spacebar.liquid +279 -0
- package/test-theme/widgets/splash.liquid +378 -0
- package/test-theme/widgets/testimonial-carousel.liquid +709 -0
|
@@ -0,0 +1,1050 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "theme_info",
|
|
4
|
+
"theme_name": "O2VEND ",
|
|
5
|
+
"theme_version": "2.0.0",
|
|
6
|
+
"theme_author": "O2VEND",
|
|
7
|
+
"theme_documentation_url": "https://docs.o2vend.com/themes/",
|
|
8
|
+
"theme_support_url": "https://support.o2vend.com"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Color Scheme",
|
|
12
|
+
"settings": [
|
|
13
|
+
{
|
|
14
|
+
"type": "header",
|
|
15
|
+
"content": "Primary Colors"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "color",
|
|
19
|
+
"id": "color_primary",
|
|
20
|
+
"label": "Primary Color",
|
|
21
|
+
"default": "#1a1a1a",
|
|
22
|
+
"info": "Main brand color for buttons, links, and primary elements"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "color",
|
|
26
|
+
"id": "color_primary_light",
|
|
27
|
+
"label": "Primary Light",
|
|
28
|
+
"default": "#2d2d2d",
|
|
29
|
+
"info": "Lighter variant of primary color"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "color",
|
|
33
|
+
"id": "color_primary_dark",
|
|
34
|
+
"label": "Primary Dark",
|
|
35
|
+
"default": "#0f0f0f",
|
|
36
|
+
"info": "Darker variant of primary color"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "color",
|
|
40
|
+
"id": "color_secondary",
|
|
41
|
+
"label": "Secondary Color",
|
|
42
|
+
"default": "#6b7280",
|
|
43
|
+
"info": "Secondary brand color for accents and highlights"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "color",
|
|
47
|
+
"id": "color_accent",
|
|
48
|
+
"label": "Accent Color",
|
|
49
|
+
"default": "#8b5cf6",
|
|
50
|
+
"info": "Accent color for highlights and call-to-action elements"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "color",
|
|
54
|
+
"id": "color_accent_light",
|
|
55
|
+
"label": "Accent Light",
|
|
56
|
+
"default": "#a78bfa",
|
|
57
|
+
"info": "Light accent color"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "color",
|
|
61
|
+
"id": "color_accent_dark",
|
|
62
|
+
"label": "Accent Dark",
|
|
63
|
+
"default": "#7c3aed",
|
|
64
|
+
"info": "Dark accent color"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "header",
|
|
68
|
+
"content": "Background Colors"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "color",
|
|
72
|
+
"id": "color_background",
|
|
73
|
+
"label": "Background Color",
|
|
74
|
+
"default": "#ffffff",
|
|
75
|
+
"info": "Main background color"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "color",
|
|
79
|
+
"id": "color_surface",
|
|
80
|
+
"label": "Surface Color",
|
|
81
|
+
"default": "#f8fafc",
|
|
82
|
+
"info": "Surface color for cards and elevated elements"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "color",
|
|
86
|
+
"id": "color_border",
|
|
87
|
+
"label": "Border Color",
|
|
88
|
+
"default": "#e2e8f0",
|
|
89
|
+
"info": "Color for borders and dividers"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "header",
|
|
93
|
+
"content": "Text Colors"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "color",
|
|
97
|
+
"id": "color_text",
|
|
98
|
+
"label": "Text Color",
|
|
99
|
+
"default": "#0f172a",
|
|
100
|
+
"info": "Main text color"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"type": "color",
|
|
104
|
+
"id": "color_text_muted",
|
|
105
|
+
"label": "Muted Text Color",
|
|
106
|
+
"default": "#64748b",
|
|
107
|
+
"info": "Secondary text color for captions and metadata"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "color",
|
|
111
|
+
"id": "color_text_light",
|
|
112
|
+
"label": "Light Text Color",
|
|
113
|
+
"default": "#6b7280",
|
|
114
|
+
"info": "Light text color for secondary information"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "header",
|
|
118
|
+
"content": "Semantic Colors"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "color",
|
|
122
|
+
"id": "color_success",
|
|
123
|
+
"label": "Success Color",
|
|
124
|
+
"default": "#059669",
|
|
125
|
+
"info": "Color for success states and positive feedback"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "color",
|
|
129
|
+
"id": "color_error",
|
|
130
|
+
"label": "Error Color",
|
|
131
|
+
"default": "#dc2626",
|
|
132
|
+
"info": "Color for error states and negative feedback"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"type": "color",
|
|
136
|
+
"id": "color_warning",
|
|
137
|
+
"label": "Warning Color",
|
|
138
|
+
"default": "#d97706",
|
|
139
|
+
"info": "Color for warning states and caution"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "color",
|
|
143
|
+
"id": "color_info",
|
|
144
|
+
"label": "Info Color",
|
|
145
|
+
"default": "#0284c7",
|
|
146
|
+
"info": "Color for informational states"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "Typography",
|
|
152
|
+
"settings": [
|
|
153
|
+
{
|
|
154
|
+
"type": "header",
|
|
155
|
+
"content": "Font Families"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "font_picker",
|
|
159
|
+
"id": "font_primary",
|
|
160
|
+
"label": "Primary Font",
|
|
161
|
+
"default": "Inter",
|
|
162
|
+
"info": "Main font for body text and UI elements"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "font_picker",
|
|
166
|
+
"id": "font_display",
|
|
167
|
+
"label": "Display Font",
|
|
168
|
+
"default": "Playfair Display",
|
|
169
|
+
"info": "Font for headings and display text"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "font_picker",
|
|
173
|
+
"id": "font_mono",
|
|
174
|
+
"label": "Monospace Font",
|
|
175
|
+
"default": "SF Mono",
|
|
176
|
+
"info": "Font for code and technical content"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"type": "header",
|
|
180
|
+
"content": "Font Sizes"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "range",
|
|
184
|
+
"id": "font_size_base",
|
|
185
|
+
"label": "Base Font Size",
|
|
186
|
+
"min": 14,
|
|
187
|
+
"max": 20,
|
|
188
|
+
"step": 1,
|
|
189
|
+
"unit": "px",
|
|
190
|
+
"default": 14,
|
|
191
|
+
"info": "Base font size for body text"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"type": "range",
|
|
195
|
+
"id": "font_size_heading",
|
|
196
|
+
"label": "Heading Font Size",
|
|
197
|
+
"min": 24,
|
|
198
|
+
"max": 48,
|
|
199
|
+
"step": 2,
|
|
200
|
+
"unit": "px",
|
|
201
|
+
"default": 32,
|
|
202
|
+
"info": "Base font size for headings"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"type": "range",
|
|
206
|
+
"id": "font_size_heading_scale",
|
|
207
|
+
"label": "Heading Scale",
|
|
208
|
+
"min": 1.1,
|
|
209
|
+
"max": 1.5,
|
|
210
|
+
"step": 0.1,
|
|
211
|
+
"default": 1.25,
|
|
212
|
+
"info": "Scale factor for heading sizes"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "header",
|
|
216
|
+
"content": "Font Weights"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "select",
|
|
220
|
+
"id": "font_weight_normal",
|
|
221
|
+
"label": "Normal Weight",
|
|
222
|
+
"options": [
|
|
223
|
+
{
|
|
224
|
+
"value": "300",
|
|
225
|
+
"label": "Light (300)"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"value": "400",
|
|
229
|
+
"label": "Regular (400)"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"value": "500",
|
|
233
|
+
"label": "Medium (500)"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"default": "400"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"type": "select",
|
|
240
|
+
"id": "font_weight_medium",
|
|
241
|
+
"label": "Medium Weight",
|
|
242
|
+
"options": [
|
|
243
|
+
{
|
|
244
|
+
"value": "400",
|
|
245
|
+
"label": "Regular (400)"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"value": "500",
|
|
249
|
+
"label": "Medium (500)"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"value": "600",
|
|
253
|
+
"label": "Semi Bold (600)"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"default": "500",
|
|
257
|
+
"info": "Medium font weight for labels and UI elements"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"type": "select",
|
|
261
|
+
"id": "font_weight_bold",
|
|
262
|
+
"label": "Bold Weight",
|
|
263
|
+
"options": [
|
|
264
|
+
{
|
|
265
|
+
"value": "600",
|
|
266
|
+
"label": "Semi Bold (600)"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"value": "700",
|
|
270
|
+
"label": "Bold (700)"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"value": "800",
|
|
274
|
+
"label": "Extra Bold (800)"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"default": "700"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"type": "header",
|
|
281
|
+
"content": "Line Heights"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "range",
|
|
285
|
+
"id": "line_height_base",
|
|
286
|
+
"label": "Base Line Height",
|
|
287
|
+
"min": 1.4,
|
|
288
|
+
"max": 1.8,
|
|
289
|
+
"step": 0.1,
|
|
290
|
+
"default": 1.6,
|
|
291
|
+
"info": "Line height for body text"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"type": "range",
|
|
295
|
+
"id": "line_height_heading",
|
|
296
|
+
"label": "Heading Line Height",
|
|
297
|
+
"min": 1.1,
|
|
298
|
+
"max": 1.4,
|
|
299
|
+
"step": 0.1,
|
|
300
|
+
"default": 1.2,
|
|
301
|
+
"info": "Line height for headings"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "header",
|
|
305
|
+
"content": "Letter Spacing"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "range",
|
|
309
|
+
"id": "letter_spacing_heading",
|
|
310
|
+
"label": "Heading Letter Spacing",
|
|
311
|
+
"min": -0.05,
|
|
312
|
+
"max": 0.1,
|
|
313
|
+
"step": 0.01,
|
|
314
|
+
"unit": "em",
|
|
315
|
+
"default": -0.02,
|
|
316
|
+
"info": "Letter spacing for headings"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"type": "range",
|
|
320
|
+
"id": "letter_spacing_uppercase",
|
|
321
|
+
"label": "Uppercase Letter Spacing",
|
|
322
|
+
"min": 0.01,
|
|
323
|
+
"max": 0.1,
|
|
324
|
+
"step": 0.01,
|
|
325
|
+
"unit": "em",
|
|
326
|
+
"default": 0.05,
|
|
327
|
+
"info": "Letter spacing for uppercase text"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "Layout & Spacing",
|
|
333
|
+
"settings": [
|
|
334
|
+
{
|
|
335
|
+
"type": "header",
|
|
336
|
+
"content": "Container Settings"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"type": "range",
|
|
340
|
+
"id": "container_width",
|
|
341
|
+
"label": "Container Width",
|
|
342
|
+
"min": 1200,
|
|
343
|
+
"max": 1600,
|
|
344
|
+
"step": 50,
|
|
345
|
+
"unit": "px",
|
|
346
|
+
"default": 1400,
|
|
347
|
+
"info": "Maximum width of the main container"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"type": "range",
|
|
351
|
+
"id": "container_padding",
|
|
352
|
+
"label": "Container Padding",
|
|
353
|
+
"min": 16,
|
|
354
|
+
"max": 48,
|
|
355
|
+
"step": 4,
|
|
356
|
+
"unit": "px",
|
|
357
|
+
"default": 24,
|
|
358
|
+
"info": "tal padding for container"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"type": "header",
|
|
362
|
+
"content": "Spacing System"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "range",
|
|
366
|
+
"id": "spacing_section",
|
|
367
|
+
"label": "Section Spacing",
|
|
368
|
+
"min": 40,
|
|
369
|
+
"max": 120,
|
|
370
|
+
"step": 10,
|
|
371
|
+
"unit": "px",
|
|
372
|
+
"default": 80,
|
|
373
|
+
"info": "Vertical spacing between major sections"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"type": "range",
|
|
377
|
+
"id": "spacing_component",
|
|
378
|
+
"label": "Component Spacing",
|
|
379
|
+
"min": 16,
|
|
380
|
+
"max": 48,
|
|
381
|
+
"step": 4,
|
|
382
|
+
"unit": "px",
|
|
383
|
+
"default": 24,
|
|
384
|
+
"info": "Spacing between components"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"type": "range",
|
|
388
|
+
"id": "spacing_element",
|
|
389
|
+
"label": "Element Spacing",
|
|
390
|
+
"min": 8,
|
|
391
|
+
"max": 24,
|
|
392
|
+
"step": 2,
|
|
393
|
+
"unit": "px",
|
|
394
|
+
"default": 16,
|
|
395
|
+
"info": "Spacing between related elements"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"type": "range",
|
|
399
|
+
"id": "spacing_large",
|
|
400
|
+
"label": "Large Spacing",
|
|
401
|
+
"min": 24,
|
|
402
|
+
"max": 48,
|
|
403
|
+
"step": 4,
|
|
404
|
+
"unit": "px",
|
|
405
|
+
"default": 32,
|
|
406
|
+
"info": "Large spacing for major gaps and padding"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"type": "range",
|
|
410
|
+
"id": "spacing_small",
|
|
411
|
+
"label": "Small Spacing",
|
|
412
|
+
"min": 4,
|
|
413
|
+
"max": 12,
|
|
414
|
+
"step": 2,
|
|
415
|
+
"unit": "px",
|
|
416
|
+
"default": 8,
|
|
417
|
+
"info": "Small spacing for tight gaps"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"type": "range",
|
|
421
|
+
"id": "spacing_xsmall",
|
|
422
|
+
"label": "Extra Small Spacing",
|
|
423
|
+
"min": 2,
|
|
424
|
+
"max": 8,
|
|
425
|
+
"step": 2,
|
|
426
|
+
"unit": "px",
|
|
427
|
+
"default": 4,
|
|
428
|
+
"info": "Extra small spacing for minimal gaps"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"type": "header",
|
|
432
|
+
"content": "Layout Style"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"type": "select",
|
|
436
|
+
"id": "layout_style",
|
|
437
|
+
"label": "Layout Style",
|
|
438
|
+
"options": [
|
|
439
|
+
{
|
|
440
|
+
"value": "boxed",
|
|
441
|
+
"label": "Boxed"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"value": "full_width",
|
|
445
|
+
"label": "Full Width"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"value": "fluid",
|
|
449
|
+
"label": "Fluid"
|
|
450
|
+
}
|
|
451
|
+
],
|
|
452
|
+
"default": "boxed"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"type": "checkbox",
|
|
456
|
+
"id": "enable_asymmetric_grid",
|
|
457
|
+
"label": "Enable Asymmetric Grid",
|
|
458
|
+
"default": true,
|
|
459
|
+
"info": "Use asymmetric grid layouts for visual interest"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"type": "header",
|
|
463
|
+
"content": "Border Radius"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"type": "range",
|
|
467
|
+
"id": "border_radius_small",
|
|
468
|
+
"label": "Small Border Radius",
|
|
469
|
+
"min": 2,
|
|
470
|
+
"max": 8,
|
|
471
|
+
"step": 1,
|
|
472
|
+
"unit": "px",
|
|
473
|
+
"default": 6,
|
|
474
|
+
"info": "Border radius for small elements"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"type": "range",
|
|
478
|
+
"id": "border_radius_medium",
|
|
479
|
+
"label": "Medium Border Radius",
|
|
480
|
+
"min": 6,
|
|
481
|
+
"max": 16,
|
|
482
|
+
"step": 2,
|
|
483
|
+
"unit": "px",
|
|
484
|
+
"default": 10,
|
|
485
|
+
"info": "Border radius for medium elements"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"type": "range",
|
|
489
|
+
"id": "border_radius_large",
|
|
490
|
+
"label": "Large Border Radius",
|
|
491
|
+
"min": 12,
|
|
492
|
+
"max": 32,
|
|
493
|
+
"step": 4,
|
|
494
|
+
"unit": "px",
|
|
495
|
+
"default": 16,
|
|
496
|
+
"info": "Border radius for large elements"
|
|
497
|
+
}
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "Header",
|
|
502
|
+
"settings": [
|
|
503
|
+
{
|
|
504
|
+
"type": "header",
|
|
505
|
+
"content": "Header Settings"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "image_picker",
|
|
509
|
+
"id": "logo",
|
|
510
|
+
"label": "Logo",
|
|
511
|
+
"info": "Upload your store logo"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"type": "range",
|
|
515
|
+
"id": "logo_width",
|
|
516
|
+
"label": "Logo Width",
|
|
517
|
+
"min": 100,
|
|
518
|
+
"max": 300,
|
|
519
|
+
"step": 10,
|
|
520
|
+
"unit": "px",
|
|
521
|
+
"default": 150
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"type": "checkbox",
|
|
525
|
+
"id": "show_search",
|
|
526
|
+
"label": "Show Search",
|
|
527
|
+
"default": true
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"type": "checkbox",
|
|
531
|
+
"id": "show_cart_icon",
|
|
532
|
+
"label": "Show Cart Icon",
|
|
533
|
+
"default": true
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"type": "link_list",
|
|
537
|
+
"id": "menu",
|
|
538
|
+
"label": "Main Menu",
|
|
539
|
+
"default": "main-menu"
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "Footer",
|
|
545
|
+
"settings": [
|
|
546
|
+
{
|
|
547
|
+
"type": "header",
|
|
548
|
+
"content": "Footer Settings"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"type": "text",
|
|
552
|
+
"id": "footer_text",
|
|
553
|
+
"label": "Footer Text",
|
|
554
|
+
"default": "© 2024 Your Store Name. All rights reserved."
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"type": "link_list",
|
|
558
|
+
"id": "footer_menu",
|
|
559
|
+
"label": "Footer Menu"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"type": "checkbox",
|
|
563
|
+
"id": "show_newsletter",
|
|
564
|
+
"label": "Show Newsletter Signup",
|
|
565
|
+
"default": true
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"type": "checkbox",
|
|
569
|
+
"id": "show_social_links",
|
|
570
|
+
"label": "Show Social Links",
|
|
571
|
+
"default": true
|
|
572
|
+
}
|
|
573
|
+
]
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "Product Display",
|
|
577
|
+
"settings": [
|
|
578
|
+
{
|
|
579
|
+
"type": "header",
|
|
580
|
+
"content": "Product Settings"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"type": "range",
|
|
584
|
+
"id": "products_per_page",
|
|
585
|
+
"label": "Products Per Page",
|
|
586
|
+
"min": 8,
|
|
587
|
+
"max": 48,
|
|
588
|
+
"step": 4,
|
|
589
|
+
"default": 24
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"type": "select",
|
|
593
|
+
"id": "product_image_ratio",
|
|
594
|
+
"label": "Product Image Ratio",
|
|
595
|
+
"options": [
|
|
596
|
+
{
|
|
597
|
+
"value": "square",
|
|
598
|
+
"label": "Square (1:1)"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"value": "portrait",
|
|
602
|
+
"label": "Portrait (3:4)"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"value": "landscape",
|
|
606
|
+
"label": "Landscape (4:3)"
|
|
607
|
+
}
|
|
608
|
+
],
|
|
609
|
+
"default": "square"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"type": "checkbox",
|
|
613
|
+
"id": "show_vendor",
|
|
614
|
+
"label": "Show Product Vendor",
|
|
615
|
+
"default": true
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"type": "checkbox",
|
|
619
|
+
"id": "show_sku",
|
|
620
|
+
"label": "Show Product SKU",
|
|
621
|
+
"default": false
|
|
622
|
+
}
|
|
623
|
+
]
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "Cart",
|
|
627
|
+
"settings": [
|
|
628
|
+
{
|
|
629
|
+
"type": "header",
|
|
630
|
+
"content": "Cart Settings"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "select",
|
|
634
|
+
"id": "cart_type",
|
|
635
|
+
"label": "Cart Type",
|
|
636
|
+
"options": [
|
|
637
|
+
{
|
|
638
|
+
"value": "drawer",
|
|
639
|
+
"label": "Drawer"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"value": "page",
|
|
643
|
+
"label": "Page"
|
|
644
|
+
}
|
|
645
|
+
],
|
|
646
|
+
"default": "drawer"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"type": "checkbox",
|
|
650
|
+
"id": "show_continue_shopping",
|
|
651
|
+
"label": "Show Continue Shopping Link",
|
|
652
|
+
"default": true
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"type": "checkbox",
|
|
656
|
+
"id": "show_notes",
|
|
657
|
+
"label": "Show Order Notes",
|
|
658
|
+
"default": true
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "Social Media",
|
|
664
|
+
"settings": [
|
|
665
|
+
{
|
|
666
|
+
"type": "header",
|
|
667
|
+
"content": "Social Media Links"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"type": "url",
|
|
671
|
+
"id": "social_facebook",
|
|
672
|
+
"label": "Facebook URL"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"type": "url",
|
|
676
|
+
"id": "social_instagram",
|
|
677
|
+
"label": "Instagram URL"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"type": "url",
|
|
681
|
+
"id": "social_twitter",
|
|
682
|
+
"label": "Twitter URL"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"type": "url",
|
|
686
|
+
"id": "social_youtube",
|
|
687
|
+
"label": "YouTube URL"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"type": "url",
|
|
691
|
+
"id": "social_pinterest",
|
|
692
|
+
"label": "Pinterest URL"
|
|
693
|
+
}
|
|
694
|
+
]
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "Animations & Effects",
|
|
698
|
+
"settings": [
|
|
699
|
+
{
|
|
700
|
+
"type": "header",
|
|
701
|
+
"content": "Animation Settings"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"type": "checkbox",
|
|
705
|
+
"id": "enable_animations",
|
|
706
|
+
"label": "Enable Animations",
|
|
707
|
+
"default": true,
|
|
708
|
+
"info": "Enable smooth animations and transitions"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"type": "select",
|
|
712
|
+
"id": "animation_speed",
|
|
713
|
+
"label": "Animation Speed",
|
|
714
|
+
"options": [
|
|
715
|
+
{
|
|
716
|
+
"value": "slow",
|
|
717
|
+
"label": "Slow (400ms)"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"value": "normal",
|
|
721
|
+
"label": "Normal (300ms)"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"value": "fast",
|
|
725
|
+
"label": "Fast (200ms)"
|
|
726
|
+
}
|
|
727
|
+
],
|
|
728
|
+
"default": "normal"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"type": "checkbox",
|
|
732
|
+
"id": "enable_parallax",
|
|
733
|
+
"label": "Enable Parallax Effects",
|
|
734
|
+
"default": false,
|
|
735
|
+
"info": "Enable subtle parallax scrolling effects"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"type": "checkbox",
|
|
739
|
+
"id": "enable_hover_effects",
|
|
740
|
+
"label": "Enable Hover Effects",
|
|
741
|
+
"default": true,
|
|
742
|
+
"info": "Enable hover animations and effects"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"type": "header",
|
|
746
|
+
"content": "Scroll Effects"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"type": "checkbox",
|
|
750
|
+
"id": "enable_fade_in",
|
|
751
|
+
"label": "Enable Fade In on Scroll",
|
|
752
|
+
"default": true,
|
|
753
|
+
"info": "Elements fade in as they come into view"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"type": "checkbox",
|
|
757
|
+
"id": "enable_stagger_animation",
|
|
758
|
+
"label": "Enable Staggered Animations",
|
|
759
|
+
"default": true,
|
|
760
|
+
"info": "Animate elements in sequence for visual flow"
|
|
761
|
+
}
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "Shadows & Depth",
|
|
766
|
+
"settings": [
|
|
767
|
+
{
|
|
768
|
+
"type": "header",
|
|
769
|
+
"content": "Shadow System"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"type": "range",
|
|
773
|
+
"id": "shadow_opacity",
|
|
774
|
+
"label": "Shadow Opacity",
|
|
775
|
+
"min": 0.05,
|
|
776
|
+
"max": 0.3,
|
|
777
|
+
"step": 0.05,
|
|
778
|
+
"default": 0.1,
|
|
779
|
+
"info": "Overall shadow opacity"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"type": "range",
|
|
783
|
+
"id": "shadow_blur",
|
|
784
|
+
"label": "Shadow Blur",
|
|
785
|
+
"min": 4,
|
|
786
|
+
"max": 24,
|
|
787
|
+
"step": 2,
|
|
788
|
+
"unit": "px",
|
|
789
|
+
"default": 8,
|
|
790
|
+
"info": "Shadow blur radius"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"type": "range",
|
|
794
|
+
"id": "shadow_spread",
|
|
795
|
+
"label": "Shadow Spread",
|
|
796
|
+
"min": 0,
|
|
797
|
+
"max": 8,
|
|
798
|
+
"step": 1,
|
|
799
|
+
"unit": "px",
|
|
800
|
+
"default": 0,
|
|
801
|
+
"info": "Shadow spread radius"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"type": "header",
|
|
805
|
+
"content": "Depth Levels"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"type": "range",
|
|
809
|
+
"id": "depth_level_1",
|
|
810
|
+
"label": "Level 1 Depth",
|
|
811
|
+
"min": 0,
|
|
812
|
+
"max": 4,
|
|
813
|
+
"step": 1,
|
|
814
|
+
"unit": "px",
|
|
815
|
+
"default": 1,
|
|
816
|
+
"info": "Depth for subtle elevation"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"type": "range",
|
|
820
|
+
"id": "depth_level_2",
|
|
821
|
+
"label": "Level 2 Depth",
|
|
822
|
+
"min": 2,
|
|
823
|
+
"max": 8,
|
|
824
|
+
"step": 1,
|
|
825
|
+
"unit": "px",
|
|
826
|
+
"default": 4,
|
|
827
|
+
"info": "Depth for cards and panels"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"type": "range",
|
|
831
|
+
"id": "depth_level_3",
|
|
832
|
+
"label": "Level 3 Depth",
|
|
833
|
+
"min": 4,
|
|
834
|
+
"max": 16,
|
|
835
|
+
"step": 2,
|
|
836
|
+
"unit": "px",
|
|
837
|
+
"default": 8,
|
|
838
|
+
"info": "Depth for modals and overlays"
|
|
839
|
+
}
|
|
840
|
+
]
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "Button Styles",
|
|
844
|
+
"settings": [
|
|
845
|
+
{
|
|
846
|
+
"type": "header",
|
|
847
|
+
"content": "Button Appearance"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"type": "select",
|
|
851
|
+
"id": "button_style",
|
|
852
|
+
"label": "Button Style",
|
|
853
|
+
"options": [
|
|
854
|
+
{
|
|
855
|
+
"value": "modern",
|
|
856
|
+
"label": "Modern"
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"value": "minimal",
|
|
860
|
+
"label": "Minimal"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"value": "classic",
|
|
864
|
+
"label": "Classic"
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
"default": "modern"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"type": "range",
|
|
871
|
+
"id": "button_padding_vertical",
|
|
872
|
+
"label": "Button Vertical Padding",
|
|
873
|
+
"min": 8,
|
|
874
|
+
"max": 20,
|
|
875
|
+
"step": 2,
|
|
876
|
+
"unit": "px",
|
|
877
|
+
"default": 12,
|
|
878
|
+
"info": "Vertical padding for buttons"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"type": "range",
|
|
882
|
+
"id": "button_padding_tal",
|
|
883
|
+
"label": "Button tal Padding",
|
|
884
|
+
"min": 16,
|
|
885
|
+
"max": 32,
|
|
886
|
+
"step": 2,
|
|
887
|
+
"unit": "px",
|
|
888
|
+
"default": 24,
|
|
889
|
+
"info": "tal padding for buttons"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"type": "header",
|
|
893
|
+
"content": "Button Effects"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"type": "checkbox",
|
|
897
|
+
"id": "button_hover_lift",
|
|
898
|
+
"label": "Hover Lift Effect",
|
|
899
|
+
"default": true,
|
|
900
|
+
"info": "Buttons lift slightly on hover"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"type": "checkbox",
|
|
904
|
+
"id": "button_ripple_effect",
|
|
905
|
+
"label": "Ripple Effect",
|
|
906
|
+
"default": false,
|
|
907
|
+
"info": "Add ripple effect on click"
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"type": "range",
|
|
911
|
+
"id": "button_transition_speed",
|
|
912
|
+
"label": "Transition Speed",
|
|
913
|
+
"min": 150,
|
|
914
|
+
"max": 400,
|
|
915
|
+
"step": 50,
|
|
916
|
+
"unit": "ms",
|
|
917
|
+
"default": 200,
|
|
918
|
+
"info": "Button transition speed"
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "Performance",
|
|
924
|
+
"settings": [
|
|
925
|
+
{
|
|
926
|
+
"type": "header",
|
|
927
|
+
"content": "Performance Settings"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"type": "checkbox",
|
|
931
|
+
"id": "lazy_load_images",
|
|
932
|
+
"label": "Lazy Load Images",
|
|
933
|
+
"default": true,
|
|
934
|
+
"info": "Load images only when they come into view"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"type": "checkbox",
|
|
938
|
+
"id": "preload_critical_css",
|
|
939
|
+
"label": "Preload Critical CSS",
|
|
940
|
+
"default": true,
|
|
941
|
+
"info": "Preload critical CSS for faster rendering"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"type": "checkbox",
|
|
945
|
+
"id": "optimize_animations",
|
|
946
|
+
"label": "Optimize Animations",
|
|
947
|
+
"default": true,
|
|
948
|
+
"info": "Use GPU-accelerated animations for better performance"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"type": "header",
|
|
952
|
+
"content": "Loading States"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"type": "checkbox",
|
|
956
|
+
"id": "show_loading_skeletons",
|
|
957
|
+
"label": "Show Loading Skeletons",
|
|
958
|
+
"default": true,
|
|
959
|
+
"info": "Show skeleton loading states for better UX"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"type": "select",
|
|
963
|
+
"id": "loading_animation",
|
|
964
|
+
"label": "Loading Animation",
|
|
965
|
+
"options": [
|
|
966
|
+
{
|
|
967
|
+
"value": "spinner",
|
|
968
|
+
"label": "Spinner"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"value": "pulse",
|
|
972
|
+
"label": "Pulse"
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"value": "wave",
|
|
976
|
+
"label": "Wave"
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"default": "spinner"
|
|
980
|
+
}
|
|
981
|
+
]
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "Widgets & Sections",
|
|
985
|
+
"settings": [
|
|
986
|
+
{
|
|
987
|
+
"type": "header",
|
|
988
|
+
"content": "Widget Integration"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"type": "checkbox",
|
|
992
|
+
"id": "enable_widgets",
|
|
993
|
+
"label": "Enable Widget System",
|
|
994
|
+
"default": true,
|
|
995
|
+
"info": "Enable API-driven widgets for dynamic content"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"type": "checkbox",
|
|
999
|
+
"id": "widget_fallback_enabled",
|
|
1000
|
+
"label": "Enable Widget Fallbacks",
|
|
1001
|
+
"default": true,
|
|
1002
|
+
"info": "Show fallback content when widgets are unavailable"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"type": "range",
|
|
1006
|
+
"id": "widget_cache_ttl",
|
|
1007
|
+
"label": "Widget Cache TTL",
|
|
1008
|
+
"min": 60,
|
|
1009
|
+
"max": 3600,
|
|
1010
|
+
"step": 60,
|
|
1011
|
+
"unit": "seconds",
|
|
1012
|
+
"default": 300,
|
|
1013
|
+
"info": "Time to cache widget data (5 minutes default)"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"type": "header",
|
|
1017
|
+
"content": "Section Defaults"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"type": "checkbox",
|
|
1021
|
+
"id": "sections_use_widgets_by_default",
|
|
1022
|
+
"label": "Sections Use Widgets by Default",
|
|
1023
|
+
"default": false,
|
|
1024
|
+
"info": "When enabled, new sections will use widgets by default"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"type": "select",
|
|
1028
|
+
"id": "default_widget_section",
|
|
1029
|
+
"label": "Default Widget Section",
|
|
1030
|
+
"options": [
|
|
1031
|
+
{
|
|
1032
|
+
"value": "content",
|
|
1033
|
+
"label": "Content"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"value": "hero",
|
|
1037
|
+
"label": "Hero"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"value": "sidebar",
|
|
1041
|
+
"label": "Sidebar"
|
|
1042
|
+
}
|
|
1043
|
+
],
|
|
1044
|
+
"default": "content",
|
|
1045
|
+
"info": "Default section name for widgets when not specified"
|
|
1046
|
+
}
|
|
1047
|
+
]
|
|
1048
|
+
}
|
|
1049
|
+
]
|
|
1050
|
+
|