Diff: STRATO-apps/wordpress_03/app/wp-content/themes/blocksy/inc/options/woocommerce/general/messages.php

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + <?php
2 + /**
3 + * Messages options
4 + *
5 + * @copyright 2019-present Creative Themes
6 + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
7 + * @package Blocksy
8 + */
9 +
10 + $options = [
11 +
12 + blocksy_rand_md5() => [
13 + 'label' => __('Messages', 'blocksy'),
14 + 'type' => 'ct-panel',
15 + 'setting' => ['transport' => 'postMessage'],
16 + 'inner-options' => [
17 +
18 + blocksy_rand_md5() => [
19 + 'type' => 'ct-title',
20 + 'label' => __( 'Info Messages', 'blocksy' ),
21 + ],
22 +
23 + 'info_message_text_color' => [
24 + 'label' => __( 'Text Color', 'blocksy' ),
25 + 'type' => 'ct-color-picker',
26 + 'design' => 'inline',
27 + 'setting' => [ 'transport' => 'postMessage' ],
28 +
29 + 'value' => [
30 + 'default' => [
31 + 'color' => 'var(--theme-text-color)',
32 + ],
33 +
34 + 'hover' => [
35 + 'color' => 'var(--theme-link-hover-color)',
36 + ],
37 + ],
38 +
39 + 'pickers' => [
40 + [
41 + 'title' => __( 'Initial', 'blocksy' ),
42 + 'id' => 'default',
43 + ],
44 +
45 + [
46 + 'title' => __( 'Hover', 'blocksy' ),
47 + 'id' => 'hover',
48 + ],
49 + ],
50 + ],
51 +
52 + 'info_message_background_color' => [
53 + 'label' => __( 'Background Color', 'blocksy' ),
54 + 'type' => 'ct-color-picker',
55 + 'design' => 'inline',
56 + 'setting' => [ 'transport' => 'postMessage' ],
57 +
58 + 'value' => [
59 + 'default' => [
60 + 'color' => '#F0F1F3',
61 + ],
62 + ],
63 +
64 + 'pickers' => [
65 + [
66 + 'title' => __( 'Initial', 'blocksy' ),
67 + 'id' => 'default',
68 + ],
69 + ],
70 + ],
71 +
72 + 'info_message_button_text_color' => [
73 + 'label' => __( 'Button Font Color', 'blocksy' ),
74 + 'type' => 'ct-color-picker',
75 + 'design' => 'inline',
76 + 'sync' => 'live',
77 + 'value' => [
78 + 'default' => [
79 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
80 + ],
81 +
82 + 'hover' => [
83 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
84 + ],
85 + ],
86 +
87 + 'pickers' => [
88 + [
89 + 'title' => __( 'Initial', 'blocksy' ),
90 + 'id' => 'default',
91 + 'inherit' => 'var(--theme-button-text-initial-color)',
92 + ],
93 +
94 + [
95 + 'title' => __( 'Hover', 'blocksy' ),
96 + 'id' => 'hover',
97 + 'inherit' => 'var(--theme-button-text-hover-color)',
98 + ],
99 + ],
100 + ],
101 +
102 + 'info_message_button_background' => [
103 + 'label' => __( 'Button Background Color', 'blocksy' ),
104 + 'type' => 'ct-color-picker',
105 + 'design' => 'inline',
106 + 'sync' => 'live',
107 + 'value' => [
108 + 'default' => [
109 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
110 + ],
111 +
112 + 'hover' => [
113 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
114 + ],
115 + ],
116 +
117 + 'pickers' => [
118 + [
119 + 'title' => __( 'Initial', 'blocksy' ),
120 + 'id' => 'default',
121 + 'inherit' => 'var(--theme-button-background-initial-color)'
122 + ],
123 +
124 + [
125 + 'title' => __( 'Hover', 'blocksy' ),
126 + 'id' => 'hover',
127 + 'inherit' => 'var(--theme-button-background-hover-color)'
128 + ],
129 + ],
130 + ],
131 +
132 + blocksy_rand_md5() => [
133 + 'type' => 'ct-title',
134 + 'label' => __( 'Success Messages', 'blocksy' ),
135 + ],
136 +
137 + 'success_message_text_color' => [
138 + 'label' => __( 'Text Color', 'blocksy' ),
139 + 'type' => 'ct-color-picker',
140 + 'design' => 'inline',
141 + 'setting' => [ 'transport' => 'postMessage' ],
142 +
143 + 'value' => [
144 + 'default' => [
145 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
146 + ],
147 +
148 + 'hover' => [
149 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
150 + ],
151 + ],
152 +
153 + 'pickers' => [
154 + [
155 + 'title' => __( 'Initial', 'blocksy' ),
156 + 'id' => 'default',
157 + 'inherit' => 'var(--theme-text-color)'
158 + ],
159 +
160 + [
161 + 'title' => __( 'Hover', 'blocksy' ),
162 + 'id' => 'hover',
163 + 'inherit' => 'var(--theme-link-hover-color)'
164 + ],
165 + ],
166 + ],
167 +
168 + 'success_message_background_color' => [
169 + 'label' => __( 'Background Color', 'blocksy' ),
170 + 'type' => 'ct-color-picker',
171 + 'design' => 'inline',
172 + 'setting' => [ 'transport' => 'postMessage' ],
173 +
174 + 'value' => [
175 + 'default' => [
176 + 'color' => '#F0F1F3',
177 + ],
178 + ],
179 +
180 + 'pickers' => [
181 + [
182 + 'title' => __( 'Initial', 'blocksy' ),
183 + 'id' => 'default',
184 + ],
185 + ],
186 + ],
187 +
188 + 'success_message_button_text_color' => [
189 + 'label' => __( 'Button Font Color', 'blocksy' ),
190 + 'type' => 'ct-color-picker',
191 + 'design' => 'inline',
192 + 'sync' => 'live',
193 + 'value' => [
194 + 'default' => [
195 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
196 + ],
197 +
198 + 'hover' => [
199 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
200 + ],
201 + ],
202 +
203 + 'pickers' => [
204 + [
205 + 'title' => __( 'Initial', 'blocksy' ),
206 + 'id' => 'default',
207 + 'inherit' => 'var(--theme-button-text-initial-color)',
208 + ],
209 +
210 + [
211 + 'title' => __( 'Hover', 'blocksy' ),
212 + 'id' => 'hover',
213 + 'inherit' => 'var(--theme-button-text-hover-color)',
214 + ],
215 + ],
216 + ],
217 +
218 + 'success_message_button_background' => [
219 + 'label' => __( 'Button Background Color', 'blocksy' ),
220 + 'type' => 'ct-color-picker',
221 + 'design' => 'inline',
222 + 'sync' => 'live',
223 + 'value' => [
224 + 'default' => [
225 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
226 + ],
227 +
228 + 'hover' => [
229 + 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
230 + ],
231 + ],
232 +
233 + 'pickers' => [
234 + [
235 + 'title' => __( 'Initial', 'blocksy' ),
236 + 'id' => 'default',
237 + 'inherit' => 'var(--theme-button-background-initial-color)'
238 + ],
239 +
240 + [
241 + 'title' => __( 'Hover', 'blocksy' ),
242 + 'id' => 'hover',
243 + 'inherit' => 'var(--theme-button-background-hover-color)'
244 + ],
245 + ],
246 + ],
247 +
248 + blocksy_rand_md5() => [
249 + 'type' => 'ct-title',
250 + 'label' => __( 'Error Messages', 'blocksy' ),
251 + ],
252 +
253 + 'error_message_text_color' => [
254 + 'label' => __( 'Text Color', 'blocksy' ),
255 + 'type' => 'ct-color-picker',
256 + 'design' => 'inline',
257 + 'setting' => [ 'transport' => 'postMessage' ],
258 +
259 + 'value' => [
260 + 'default' => [
261 + 'color' => '#ffffff',
262 + ],
263 +
264 + 'hover' => [
265 + 'color' => '#ffffff',
266 + ],
267 + ],
268 +
269 + 'pickers' => [
270 + [
271 + 'title' => __( 'Initial', 'blocksy' ),
272 + 'id' => 'default',
273 + ],
274 +
275 + [
276 + 'title' => __( 'Hover', 'blocksy' ),
277 + 'id' => 'hover',
278 + ],
279 + ],
280 + ],
281 +
282 + 'error_message_background_color' => [
283 + 'label' => __( 'Background Color', 'blocksy' ),
284 + 'type' => 'ct-color-picker',
285 + 'design' => 'inline',
286 + 'setting' => [ 'transport' => 'postMessage' ],
287 +
288 + 'value' => [
289 + 'default' => [
290 + 'color' => 'rgba(218, 0, 28, 0.7)',
291 + ],
292 + ],
293 +
294 + 'pickers' => [
295 + [
296 + 'title' => __( 'Initial', 'blocksy' ),
297 + 'id' => 'default',
298 + ],
299 + ],
300 + ],
301 +
302 + 'error_message_button_text_color' => [
303 + 'label' => __( 'Button Font Color', 'blocksy' ),
304 + 'type' => 'ct-color-picker',
305 + 'design' => 'inline',
306 + 'sync' => 'live',
307 + 'value' => [
308 + 'default' => [
309 + 'color' => '#ffffff',
310 + ],
311 +
312 + 'hover' => [
313 + 'color' => '#ffffff',
314 + ],
315 + ],
316 +
317 + 'pickers' => [
318 + [
319 + 'title' => __( 'Initial', 'blocksy' ),
320 + 'id' => 'default',
321 + ],
322 +
323 + [
324 + 'title' => __( 'Hover', 'blocksy' ),
325 + 'id' => 'hover',
326 + ],
327 + ],
328 + ],
329 +
330 + 'error_message_button_background' => [
331 + 'label' => __( 'Button Background Color', 'blocksy' ),
332 + 'type' => 'ct-color-picker',
333 + 'design' => 'inline',
334 + 'sync' => 'live',
335 + 'value' => [
336 + 'default' => [
337 + 'color' => '#b92c3e',
338 + ],
339 +
340 + 'hover' => [
341 + 'color' => '#9c2131',
342 + ],
343 + ],
344 +
345 + 'pickers' => [
346 + [
347 + 'title' => __( 'Initial', 'blocksy' ),
348 + 'id' => 'default',
349 + ],
350 +
351 + [
352 + 'title' => __( 'Hover', 'blocksy' ),
353 + 'id' => 'hover',
354 + ],
355 + ],
356 + ],
357 +
358 + ],
359 + ],
360 +
361 + ];