-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.php
160 lines (121 loc) · 9.2 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?php
$config = array();
$config['name'] = "New World";
$config['author'] = "Microweber";
$config['version'] = '6.3';
$config['url'] = "http://microweber.com";
$config['standalone_module_skins'] = true;
$config['framework'] = "bootstrap5";
$config['settings']['service_provider'] = [
\MicroweberPackages\Template\NewWorld\TemplateServiceProvider::class
];
$config['settings']['autoload_namespace'] = [
[
'path' => __DIR__ . '/src/',
'namespace' => 'MicroweberPackages\\Template\\NewWorld'
],
];
$config['is_default'] = 0; //if you set this parameter the template will be selected on the install screen
//Stylesheet Settings / accept type="color" and type="text" and type="title" and type="delimiter"
$config['stylesheet_compiler']['source_file'] = 'assets/css/main.scss';
$config['stylesheet_compiler']['css_file'] = 'assets/css/main.css';
$config['stylesheet_compiler']['settings'][] = array('type' => 'title', 'label' => 'Default colors');
$config['stylesheet_compiler']['settings']['background'] = array('type' => 'color', 'default' => '#fff', 'label' => 'Background color');
$config['stylesheet_compiler']['settings'][] = array('type' => 'delimiter');
$config['stylesheet_compiler']['settings']['primary'] = array('type' => 'color', 'default' => '#0044de', 'label' => 'Primary color');
$config['stylesheet_compiler']['settings']['dark'] = array('type' => 'color', 'default' => '#3f4043', 'label' => 'Dark color');
$config['stylesheet_compiler']['settings']['light'] = array('type' => 'color', 'default' => '#fff', 'label' => 'Light color');
$config['stylesheet_compiler']['settings'][] = array('type' => 'delimiter');
$config['stylesheet_compiler']['settings'][] = array('type' => 'title', 'label' => 'Texts colors');
$config['stylesheet_compiler']['settings']['textDark'] = array('type' => 'color', 'default' => '#212121', 'label' => 'Text Dark');
$config['stylesheet_compiler']['settings']['textLight'] = array('type' => 'color', 'default' => '#f4f4f4', 'label' => 'Text Light');
//$config['stylesheet_compiler']['settings'][] = array('type' => 'delimiter');
//$config['stylesheet_compiler']['settings']['textOnWhite'] = array('type' => 'color', 'default' => '#212121', 'label' => 'Text on White');
//$config['stylesheet_compiler']['settings']['textOnBackground'] = array('type' => 'color', 'default' => '#fff', 'label' => 'Text on Background');
$config['stylesheet_compiler']['settings'][] = array('type' => 'delimiter');
$config['stylesheet_compiler']['settings'][] = array('type' => 'title', 'label' => 'Font Settings');
$config['stylesheet_compiler']['settings']['fontFamily'] = array('type' => 'font_selector', 'default' => 'lato', 'label' => 'Choose font for your site');
$config['stylesheet_compiler']['settings']['fontFamily']['options'] = array('lato' => 'Lato');
$config['stylesheet_compiler']['settings']['bodyFontSize'] = array('type' => 'text', 'default' => '16px', 'label' => 'Body Font Size');
$config['stylesheet_compiler']['settings']['hr'] = array('type' => 'dropdown_background_image_x', 'default' => "'../img/hr.svg'", 'label' => 'Choose your prefered delimeter');
$config['stylesheet_compiler']['settings']['hr']['options'] = array("'../img/hr.svg'" => 'Wave', "'../img/hr-zigzag.svg'" => 'Zig Zag', "'../img/hr-line.svg'" => 'Line', "'../img/hr-none.svg'" => 'None');
$config['template_settings'][] = array('type' => 'delimiter');
//Stylesheet Settings / accept type="dropdown" and type="text" and type="title" and type="delimiter"
//Header settings
$config['template_settings'][] = array('type' => 'title', 'label' => 'Header Options');
$config['template_settings']['header_style'] = array('type' => 'dropdown_image', 'default' => 'header_style_2', 'label' => 'Navigation Style');
$config['template_settings']['header_style']['options'] = array(
'header_style_1' => 'Header 1: One row - Left logo & Right navigation',
'header_style_2' => 'Header 2: One row - Left logo & Center navigation',
'header_style_3' => 'Header 3: One row - Left navigation & Center logo',
'header_style_4' => 'Header 4: One row - Center logo & Right navigation',
'header_style_5' => 'Header 5: Two rows - Center logo & Center navigation & Socials',
'header_style_6' => 'Header 6: Two rows - Center logo & Center navigation & Contacts',
'header_style_7' => 'Header 7: One row - Left logo & Left navigation & Primary Background',
'header_style_8' => 'Header 8: Two rows - Left logo & Center navigation',
'header_style_9' => 'Header 9: One row - Sidebar with Burger');
$config['template_settings']['sticky_navigation'] = array('type' => 'dropdown', 'default' => 'sticky-nav', 'label' => 'Sticky Navigation');
$config['template_settings']['sticky_navigation']['options'] = array('sticky-nav' => 'Yes', 'sticky-nav-disabled' => 'No');
$config['template_settings']['profile_link'] = array('type' => 'dropdown', 'default' => 'true', 'label' => 'Show Profile link', 'help' => 'You can hide the profile button from your website header');
$config['template_settings']['profile_link']['options'] = array('true' => 'Yes', 'false' => 'No');
$config['template_settings']['search_bar'] = array('type' => 'dropdown', 'default' => 'true', 'label' => 'Show Search bar', 'help' => 'You can hide the search bar button from your website header');
$config['template_settings']['search_bar']['options'] = array('true' => 'Yes', 'false' => 'No');
$config['template_settings']['shopping_cart'] = array('type' => 'dropdown', 'default' => 'true', 'label' => 'Show Shopping cart', 'help' => 'You can hide the shopping cart button from your website header');
$config['template_settings']['shopping_cart']['options'] = array('true' => 'Yes', 'false' => 'No');
$config['template_settings']['header_posts'] = array('type' => 'dropdown', 'default' => 'false', 'label' => 'Show Posts button');
$config['template_settings']['header_posts']['options'] = array('true' => 'Yes', 'false' => 'No');
$config['template_settings'][] = array('type' => 'delimiter');
$config['template_settings'][] = array('type' => 'title', 'label' => 'Shop Options');
$config['template_settings']['shop_sidebar'] = array('type' => 'dropdown', 'default' => 'true', 'label' => 'Show sidebar in shop');
$config['template_settings']['shop_sidebar']['options'] = array('true' => 'Yes', 'false' => 'No');
$config['template_settings'][] = array('type' => 'delimiter');
$config['template_settings'][] = array('type' => 'title', 'label' => 'Footer Options');
$config['template_settings']['footer'] = array('type' => 'dropdown', 'default' => 'true', 'label' => 'Turn on Footer for the website', 'help' => 'You can hide the footer from your website');
$config['template_settings']['footer']['options'] = array('true' => 'Yes', 'false' => 'No');
$config['template_settings'][] = array('type' => 'delimiter');
$config['template_settings'][] = array('type' => 'title', 'label' => 'Other Options');
$config['template_settings']['preloader'] = array('type' => 'dropdown', 'default' => 'false', 'label' => 'Turn on preloader');
$config['template_settings']['preloader']['options'] = array('true' => 'Yes', 'false' => 'No');
//Layouts Padding Top & Bottom classes definiton
$config['layouts_css_classes'] = [];
$config['layouts_css_classes']['padding-top']['none'] = 'p-t-0';
$config['layouts_css_classes']['padding-top'][1] = 'p-t-10';
$config['layouts_css_classes']['padding-top'][2] = 'p-t-20';
$config['layouts_css_classes']['padding-top'][3] = 'p-t-30';
$config['layouts_css_classes']['padding-top'][4] = 'p-t-40';
$config['layouts_css_classes']['padding-top'][5] = 'p-t-50';
$config['layouts_css_classes']['padding-top'][6] = 'p-t-60';
$config['layouts_css_classes']['padding-top'][7] = 'p-t-70';
$config['layouts_css_classes']['padding-top'][8] = 'p-t-80';
$config['layouts_css_classes']['padding-top'][9] = 'p-t-90';
$config['layouts_css_classes']['padding-top'][10] = 'p-t-100';
$config['layouts_css_classes']['padding-top'][15] = 'p-t-150';
$config['layouts_css_classes']['padding-top'][20] = 'p-t-200';
$config['layouts_css_classes']['padding-top'][25] = 'p-t-250';
$config['layouts_css_classes']['padding-top'][30] = 'p-t-300';
$config['layouts_css_classes']['padding-bottom']['none'] = 'p-b-0';
$config['layouts_css_classes']['padding-bottom'][1] = 'p-b-10';
$config['layouts_css_classes']['padding-bottom'][2] = 'p-b-20';
$config['layouts_css_classes']['padding-bottom'][3] = 'p-b-30';
$config['layouts_css_classes']['padding-bottom'][4] = 'p-b-40';
$config['layouts_css_classes']['padding-bottom'][5] = 'p-b-50';
$config['layouts_css_classes']['padding-bottom'][6] = 'p-b-60';
$config['layouts_css_classes']['padding-bottom'][7] = 'p-b-70';
$config['layouts_css_classes']['padding-bottom'][8] = 'p-b-80';
$config['layouts_css_classes']['padding-bottom'][9] = 'p-b-90';
$config['layouts_css_classes']['padding-bottom'][10] = 'p-b-100';
$config['layouts_css_classes']['padding-bottom'][15] = 'p-b-150';
$config['layouts_css_classes']['padding-bottom'][20] = 'p-b-200';
$config['layouts_css_classes']['padding-bottom'][25] = 'p-b-250';
$config['layouts_css_classes']['padding-bottom'][30] = 'p-b-300';
$config['data-fields-product'] = array();
$config['data-fields-product'][] = array(
'title' => 'Label',
'name' => 'label',
'type' => 'text'
);
$config['data-fields-product'][] = array(
'title' => 'Label Color',
'name' => 'label-color',
'type' => 'color'
);