PluginProbe
Customify / 1.7.4
Customify v1.7.4
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
customify / includes / customify_theme_root.php

customify_theme_root.php in Customify 1.7.4, at includes/customify_theme_root.php

808 lines 24.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This is the PHP file that allows you to play with the Customify config that would normally come from Pixelgrade Cloud.
4 *
5 * This is file is automatically detected by Customify and loaded when the CUSTOMIFY_SM_LOAD_THEME_ROOT_CONFIG constant is true.
6 *
7 * Keep the name of this file like you've received it from Pixelgrade Cloud.
8 */
9
10 // This is where the final config should reside.
11 // Start with some sane default. We expect to have a sections entry.
12 $config = [
13 'sections' => [],
14 ];
15
16 $config['sections'] = [
17
18 /**
19 * COLORS - This section will handle all elements colors (eg. links, headings)
20 */
21 'colors_section' => [
22 'title' => __( 'Colors', 'customify' ),
23 'priority' => 2, // This will put this section right after Style Manager that has a priority of 1.
24 'options' => [
25 /**
26 * Header Section
27 */
28 'header_section' => [
29 'type' => 'html',
30 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Header', 'storefront' ) . '</span>',
31 ],
32 'header_navigation_text_color' => [
33 'type' => 'color',
34 'label' => __( 'Header Text Color', 'customify' ),
35 'live' => true,
36 'default' => '#404040',
37 'css' => [
38 [
39 'property' => 'color',
40 'selector' => 'p.site-description,
41 .site-header,
42 .storefront-handheld-footer-bar',
43 ],
44 [
45 'media' => 'screen and ( min-width: 768px )',
46 'property' => 'color',
47 'selector' => '.secondary-navigation ul.menu a:hover',
48 'filter_value_cb' => [
49 'callback' => 'pixcloud_adjust_color_brightness',
50 'args' => [
51 - 25,
52 ],
53 ],
54 ],
55 [
56 'media' => 'screen and ( min-width: 768px )',
57 'property' => 'color',
58 'selector' => '.secondary-navigation ul.menu a,
59 .site-header-cart .widget_shopping_cart,
60 .site-header .product_list_widget li .quantity',
61 ],
62 ],
63 ],
64 'header_navigation_links_color' => [
65 'type' => 'color',
66 'label' => __( 'Navigation Links Color', 'customify' ),
67 'live' => true,
68 'default' => '#333333',
69 'css' => [
70 [
71 'property' => 'color',
72 'selector' => '.main-navigation ul li a,
73 .site-title a,
74 ul.menu li a,
75 .site-branding h1 a,
76 .site-footer .storefront-handheld-footer-bar a:not(.button],
77 button.menu-toggle,
78 button.menu-toggle:hover,
79
80 .storefront-sticky-add-to-cart a:not(.button],
81 a.cart-contents,
82 .site-header-cart .widget_shopping_cart a',
83 ],
84 [
85 'property' => 'border-color',
86 'selector' => 'button.menu-toggle,
87 button.menu-toggle:hover',
88 ],
89 [
90 'property' => 'background-color',
91 'selector' => '.storefront-handheld-footer-bar ul li.cart .count,
92 button.menu-toggle:after,
93 button.menu-toggle:before,
94 button.menu-toggle span:before',
95 ],
96 ],
97 ],
98 'header_navigation_links_active_color' => [
99 'type' => 'color',
100 'label' => __( 'Links Active Color', 'customify' ),
101 'live' => true,
102 'default' => '#282828',
103 'css' => [
104 [
105 'property' => 'color',
106 'selector' => '.main-navigation ul li a:hover,
107 .main-navigation ul li:hover > a,
108 .site-title a:hover,
109 a.cart-contents:hover,
110 .site-header-cart .widget_shopping_cart a:hover,
111 .site-header-cart:hover > li > a,
112 .site-header ul.menu li.current-menu-item > a',
113 ],
114 ],
115 ],
116 'header_background_color' => [
117 'type' => 'color',
118 'label' => __( 'Header Background', 'customify' ),
119 'live' => true,
120 'default' => '#ffffff',
121 'css' => [
122 [
123 'property' => 'background-color',
124 'selector' => '.site-header,
125 .secondary-navigation ul ul,
126 .main-navigation ul.menu > li.menu-item-has-children:after,
127 .secondary-navigation ul.menu ul,
128 .storefront-handheld-footer-bar,
129 .storefront-handheld-footer-bar ul li > a,
130 .storefront-handheld-footer-bar ul li.search .site-search,
131 button.menu-toggle,
132 button.menu-toggle:hover',
133 ],
134 [
135 'property' => 'color',
136 'selector' => '.storefront-handheld-footer-bar ul li.cart .count',
137 ],
138 [
139 'property' => 'border-color',
140 'selector' => '.storefront-handheld-footer-bar ul li.cart .count',
141 ],
142 [
143 'media' => 'screen and ( min-width: 768px )',
144 'property' => 'background-color',
145 'selector' => '.site-header-cart .widget_shopping_cart,
146 .main-navigation ul.menu ul.sub-menu,
147 .main-navigation ul.nav-menu ul.children',
148 'filter_value_cb' => [
149 'callback' => 'pixcloud_adjust_color_brightness',
150 'args' => [
151 - 15,
152 ],
153 ],
154 ],
155 [
156 'media' => 'screen and ( min-width: 768px )',
157 'property' => 'background-color',
158 'selector' => '.site-header-cart .widget_shopping_cart .buttons,
159 .site-header-cart .widget_shopping_cart .total',
160 'filter_value_cb' => [
161 'callback' => 'pixcloud_adjust_color_brightness',
162 'args' => [
163 - 10,
164 ],
165 ],
166 ],
167 [
168 'media' => 'screen and ( min-width: 768px )',
169 'property' => 'border-bottom-color',
170 'selector' => '.site-header',
171 'filter_value_cb' => [
172 'callback' => 'pixcloud_adjust_color_brightness',
173 'args' => [
174 - 15,
175 ],
176 ],
177 ],
178 ],
179 ],
180
181
182 /**
183 * Main Content
184 */
185 'main_content_section' => [
186 'type' => 'html',
187 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Main Content', 'storefront' ) . '</span>',
188 ],
189 'page_title_color' => [
190 'type' => 'color',
191 'label' => __( 'Page Title Color', 'customify' ),
192 'live' => true,
193 'default' => '#282828',
194 'css' => [
195 [
196 'property' => 'color',
197 'selector' => '.entry-title,
198 .page-template-template-homepage.has-post-thumbnail .type-page.has-post-thumbnail .entry-title',
199 ],
200 ],
201 ],
202 'body_text_color' => [
203 'type' => 'color',
204 'label' => __( 'Body Text Color', 'customify' ),
205 'live' => true,
206 'default' => '#6d6d6d',
207 'css' => [
208 [
209 'property' => 'color',
210 'selector' => 'button,input,textarea,
211 .input-text,input[type=email],input[type=password],input[type=search],input[type=text],input[type=url],textarea,
212 .pagination .page-numbers li .page-numbers,.woocommerce-pagination .page-numbers li .page-numbers,
213 ul.menu li.current-menu-item>a,
214
215 body,
216 .secondary-navigation a,
217 .onsale,
218 .pagination .page-numbers li .page-numbers:not(.current], .woocommerce-pagination .page-numbers li .page-numbers:not(.current)
219
220 .page-template-template-homepage.has-post-thumbnail .type-page.has-post-thumbnail .entry-content,
221
222 p.stars a:before,
223 p.stars a:hover~a:before,
224 p.stars.selected a.active~a:before,
225
226 .storefront-product-pagination a,
227 .storefront-sticky-add-to-cart,
228
229 .woocommerce-tabs ul.tabs li.active a,
230 ul.products li.product .price,
231 .onsale,
232 .widget_search form:before,
233 .widget_product_search form:before,
234
235 mark',
236 ],
237 [
238 'property' => 'color',
239 'selector' => '.widget-area .widget a,
240 .hentry .entry-header .posted-on a,
241 .hentry .entry-header .byline a,
242
243 .woocommerce-breadcrumb a,
244 a.woocommerce-review-link,
245 .product_meta a',
246 'filter_value_cb' => [
247 'callback' => 'pixcloud_adjust_color_brightness',
248 'args' => [
249 5,
250 ],
251 ],
252 ],
253 [
254 'property' => 'color',
255 'selector' => '.pagination .page-numbers li .page-numbers.current, .woocommerce-pagination .page-numbers li .page-numbers.current',
256 'filter_value_cb' => [
257 'callback' => 'pixcloud_adjust_color_brightness',
258 'args' => [
259 10,
260 ],
261 ],
262 ],
263 [
264 'property' => 'border-color',
265 'selector' => '.onsale',
266 ],
267 ],
268 ],
269 'body_link_color' => [
270 'type' => 'color',
271 'label' => __( 'Body Link Color', 'customify' ),
272 'live' => true,
273 'default' => '#96588A',
274 'css' => [
275 [
276 'property' => 'color',
277 'selector' => 'a,
278 .star-rating span:before,
279 .quantity .plus, .quantity .minus,
280 p.stars a:hover:after,
281 p.stars a:after,
282 .star-rating span:before,
283 #payment .payment_methods li input[type=radio]:first-child:checked+label:before,
284
285 p.stars.selected a.active:before,
286 p.stars:hover a:before,
287 p.stars.selected a:not(.active):before,
288 p.stars.selected a.active:before',
289 ],
290 [
291 'property' => 'outline-color',
292 'selector' => 'a:focus,
293 .button:focus,
294 .button.alt:focus,
295 .button.added_to_cart:focus,
296 .button.wc-forward:focus,
297 button:focus,
298 input[type="button"]:focus,
299 input[type="reset"]:focus,
300 input[type="submit"]:focus',
301 ],
302 [
303 'property' => 'background-color',
304 'selector' => '.widget_price_filter .ui-slider .ui-slider-range,
305 .widget_price_filter .ui-slider .ui-slider-handle',
306 ],
307 ],
308 ],
309 'body_link_active_color' => [
310 'type' => 'color',
311 'label' => __( 'Body Link Active Color', 'customify' ),
312 'live' => true,
313 'default' => '#282828',
314 'css' => [
315 [
316 'property' => 'color',
317 'selector' => 'a:hover',
318 ],
319 ],
320 ],
321
322 // [Sub Section] Headings Colors
323 'main_content_title_headings_color_section' => [
324 'type' => 'html',
325 'html' => '<span class="separator sub-section label">' . esc_html__( 'Headings Color', 'patch' ) . '</span>',
326 ],
327 'main_content_heading_1_color' => [
328 'type' => 'color',
329 'label' => esc_html__( 'Heading 1', 'patch' ),
330 'live' => true,
331 'default' => '#131315',
332 'css' => [
333 [
334 'property' => 'color',
335 'selector' => 'h1, .site-title a',
336 ],
337 ],
338 ],
339 'main_content_heading_2_color' => [
340 'type' => 'color',
341 'label' => esc_html__( 'Heading 2', 'patch' ),
342 'live' => true,
343 'default' => '#131315',
344 'css' => [
345 [
346 'property' => 'color',
347 'selector' => 'h2, blockquote',
348 ],
349 ],
350 ],
351 'main_content_heading_3_color' => [
352 'type' => 'color',
353 'label' => esc_html__( 'Heading 3', 'patch' ),
354 'live' => true,
355 'default' => '#131315',
356 'css' => [
357 [
358 'property' => 'color',
359 'selector' => 'h3',
360 ],
361 ],
362 ],
363 'main_content_heading_4_color' => [
364 'type' => 'color',
365 'label' => esc_html__( 'Heading 4', 'patch' ),
366 'live' => true,
367 'default' => '#131315',
368 'css' => [
369 [
370 'property' => 'color',
371 'selector' => 'h4',
372 ],
373 ],
374 ],
375 'main_content_heading_5_color' => [
376 'type' => 'color',
377 'label' => esc_html__( 'Heading 5', 'patch' ),
378 'live' => true,
379 'default' => '#131315',
380 'css' => [
381 [
382 'property' => 'color',
383 'selector' => 'h5',
384 ],
385 ],
386 ],
387 'main_content_heading_6_color' => [
388 'type' => 'color',
389 'label' => esc_html__( 'Heading 6', 'patch' ),
390 'live' => true,
391 'default' => '#131315',
392 'css' => [
393 [
394 'property' => 'color',
395 'selector' => 'h6',
396 ],
397 ],
398 ],
399
400 // [Sub Section] Backgrounds
401 'main_content_title_backgrounds_color_section' => [
402 'type' => 'html',
403 'html' => '<span class="separator sub-section label">' . esc_html__( 'Backgrounds', 'patch' ) . '</span>',
404 ],
405
406 'main_content_content_background_color' => [
407 'type' => 'color',
408 'label' => esc_html__( 'Content Background Color', 'patch' ),
409 'live' => true,
410 'default' => '#ffffff',
411 'css' => [
412 [
413 'property' => 'background-color',
414 'selector' => 'body,
415 #order_review,
416 .storefront-product-pagination a,
417 .storefront-sticky-add-to-cart',
418 ],
419 [
420 'property' => 'background-color',
421 'selector' => 'table th,
422 #comments .comment-list .comment-content .comment-text,
423 .order_details',
424 'filter_value_cb' => [
425 'callback' => 'pixcloud_adjust_color_brightness',
426 'args' => [
427 - 7,
428 ],
429 ],
430 ],
431 [
432 'property' => 'background-color',
433 'selector' => 'table tbody td ',
434 'filter_value_cb' => [
435 'callback' => 'pixcloud_adjust_color_brightness',
436 'args' => [
437 - 2,
438 ],
439 ],
440 ],
441 [
442 'property' => 'background-color',
443 'selector' => 'table tbody tr:nth-child(2n) td,
444 fieldset,
445 fieldset legend',
446 'filter_value_cb' => [
447 'callback' => 'pixcloud_adjust_color_brightness',
448 'args' => [
449 - 4,
450 ],
451 ],
452 ],
453 [
454 'property' => 'background-color',
455 'selector' => '#payment .payment_methods > li .payment_box,
456 #payment .place-order,
457
458 .input-text, input[type=email], input[type=password], input[type=search], input[type=text], input[type=url], textarea',
459 'filter_value_cb' => [
460 'callback' => 'pixcloud_adjust_color_brightness',
461 'args' => [
462 - 5,
463 ],
464 ],
465 ],
466 [
467 'property' => 'background-color',
468 'selector' => '#payment .payment_methods > li:not(.woocommerce-notice)',
469 'filter_value_cb' => [
470 'callback' => 'pixcloud_adjust_color_brightness',
471 'args' => [
472 - 10,
473 ],
474 ],
475 ],
476 [
477 'property' => 'background-color',
478 'selector' => '#payment .payment_methods > li:not(.woocommerce-notice):hover',
479 'filter_value_cb' => [
480 'callback' => 'pixcloud_adjust_color_brightness',
481 'args' => [
482 - 15,
483 ],
484 ],
485 ],
486 [
487 'property' => 'background-color',
488 'selector' => '.pagination .page-numbers li .page-numbers.current, .woocommerce-pagination .page-numbers li .page-numbers.current',
489 'filter_value_cb' => [
490 'callback' => 'pixcloud_adjust_color_brightness',
491 'args' => [
492 - 25,
493 ],
494 ],
495 ],
496 [
497 'property' => 'border-bottom-color',
498 'selector' => '.order_details > li',
499 'filter_value_cb' => [
500 'callback' => 'pixcloud_adjust_color_brightness',
501 'args' => [
502 - 28,
503 ],
504 ],
505 ],
506 [
507 'property' => 'border-top-color',
508 'selector' => 'table.cart td.product-remove,
509 table.cart td.actions',
510 ],
511 [
512 'property' => 'background',
513 'selector' => '.order_details:before,
514 .order_details:after',
515 // 'callback_filter' => 'gradient()'
516 ],
517 [
518 'property' => 'color',
519 'selector' => '.woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments,
520
521 .woocommerce-info a ,.woocommerce-message a, .woocommerce-noreviews a, p.no-comments a,
522 .woocommerce-info a:hover, .woocommerce-message a:hover, .woocommerce-noreviews a:hover, p.no-comments a:hover',
523 ],
524 ],
525 ],
526
527
528 /**
529 * Buttons
530 */
531 'buttons_section' => [
532 'type' => 'html',
533 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Buttons', 'storefront' ) . '</span>',
534 ],
535 'buttons_text_color' => [
536 'type' => 'color',
537 'label' => __( 'Text Color', 'customify' ),
538 'live' => true,
539 'default' => '#333333',
540 'css' => [
541 [
542 'property' => 'color',
543 'selector' => 'button, input[type="button"], input[type="reset"], input[type="submit"], .button, .added_to_cart, .widget a.button, .site-header-cart .widget_shopping_cart a.button,
544
545 button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .added_to_cart:hover, .widget a.button:hover, .site-header-cart .widget_shopping_cart a.button:hover,
546
547 .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger,
548
549 .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover,
550
551 .button.loading:after ',
552 ],
553 ],
554 ],
555 'buttons_background_color' => [
556 'type' => 'color',
557 'label' => __( 'Background Color', 'customify' ),
558 'live' => true,
559 'default' => '#eeeeee',
560 'css' => [
561 [
562 'property' => 'background-color',
563 'selector' => 'button, input[type="button"], input[type="reset"], input[type="submit"], .button, .added_to_cart, .widget a.button, .site-header-cart .widget_shopping_cart a.button,
564
565 .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger',
566 ],
567 [
568 'property' => 'border-color',
569 'selector' => 'button, input[type="button"], input[type="reset"], input[type="submit"], .button, .added_to_cart, .widget a.button, .site-header-cart .widget_shopping_cart a.button',
570 ],
571 // Hover
572 [
573 'property' => 'background-color',
574 'selector' => 'button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .added_to_cart:hover, .widget a.button:hover, .site-header-cart .widget_shopping_cart a.button:hover,
575
576 .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover',
577 'filter_value_cb' => [
578 'callback' => 'pixcloud_adjust_color_brightness',
579 'args' => [
580 - 25,
581 ],
582 ],
583 ],
584 [
585 'property' => 'border-color',
586 'selector' => 'button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .added_to_cart:hover, .widget a.button:hover, .site-header-cart .widget_shopping_cart a.button:hover,
587
588 .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover',
589 'filter_value_cb' => [
590 'callback' => 'pixcloud_adjust_color_brightness',
591 'args' => [
592 - 25,
593 ],
594 ],
595 ],
596 ],
597 ],
598 'buttons_alt_text_color' => [
599 'type' => 'color',
600 'label' => __( 'Alternate Text Color', 'customify' ),
601 'live' => true,
602 'default' => '#ffffff',
603 'css' => [
604 [
605 'property' => 'color',
606 'selector' => 'button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .added_to_cart.alt, .widget-area .widget a.button.alt, .added_to_cart, .widget a.button.checkout',
607 ],
608 ],
609 ],
610 'buttons_alt_background_color' => [
611 'type' => 'color',
612 'label' => __( 'Alternate Background Color', 'customify' ),
613 'live' => true,
614 'default' => '#333333',
615 'css' => [
616 [
617 'property' => 'background-color',
618 'selector' => 'button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .added_to_cart.alt, .widget-area .widget a.button.alt, .added_to_cart, .widget a.button.checkout',
619 ],
620 [
621 'property' => 'border-color',
622 'selector' => 'button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .added_to_cart.alt, .widget-area .widget a.button.alt, .added_to_cart, .widget a.button.checkout',
623 ],
624 // Hover
625 [
626 'property' => 'background-color',
627 'selector' => 'button.alt:hover, input[type="button"].alt:hover, input[type="reset"].alt:hover, input[type="submit"].alt:hover, .button.alt:hover, .added_to_cart.alt:hover, .widget-area .widget a.button.alt:hover, .added_to_cart:hover, .widget a.button.checkout:hover',
628 'filter_value_cb' => [
629 'callback' => 'pixcloud_adjust_color_brightness',
630 'args' => [
631 - 25,
632 ],
633 ],
634 ],
635 [
636 'property' => 'border-color',
637 'selector' => 'button.alt:hover, input[type="button"].alt:hover, input[type="reset"].alt:hover, input[type="submit"].alt:hover, .button.alt:hover, .added_to_cart.alt:hover, .widget-area .widget a.button.alt:hover, .added_to_cart:hover, .widget a.button.checkout:hover',
638 'filter_value_cb' => [
639 'callback' => 'pixcloud_adjust_color_brightness',
640 'args' => [
641 - 25,
642 ],
643 ],
644 ],
645 ],
646 ],
647
648
649 /**
650 * Footer
651 */
652 'footer_section' => [
653 'type' => 'html',
654 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Footer', 'storefront' ) . '</span>',
655 ],
656 'footer_text_color' => [
657 'type' => 'color',
658 'label' => __( 'Footer Text Color', 'customify' ),
659 'live' => true,
660 'default' => '#6d6d6d',
661 'css' => [
662 [
663 'property' => 'color',
664 'selector' => '.site-footer',
665 ],
666 ],
667 ],
668 'footer_links_color' => [
669 'type' => 'color',
670 'label' => __( 'Footer Links Color', 'customify' ),
671 'live' => true,
672 'default' => '#333333',
673 'css' => [
674 [
675 'property' => 'color',
676 'selector' => '.site-footer a:not(.button)',
677 ],
678 ],
679 ],
680 'footer_heading_color' => [
681 'type' => 'color',
682 'label' => __( 'Footer Headings Color', 'customify' ),
683 'live' => true,
684 'default' => '#333333',
685 'css' => [
686 [
687 'property' => 'color',
688 'selector' => '.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6',
689 ],
690 ],
691 ],
692 'footer_background_color' => [
693 'type' => 'color',
694 'label' => __( 'Footer Background', 'customify' ),
695 'live' => true,
696 'default' => '#f0f0f0',
697 'css' => [
698 [
699 'property' => 'background-color',
700 'selector' => '.site-footer',
701 ],
702 ],
703 ],
704
705 /**
706 * Miscellaneous
707 */
708 'misc_section' => [
709 'type' => 'html',
710 'html' => '<span id="section-title-blog-fonts" class="separator section label large">' . esc_html__( 'Miscellaneous', 'storefront' ) . '</span>',
711 ],
712
713 'woocommerce_info_background_color' => [
714 'type' => 'background-color',
715 'label' => __( 'WooCommerce Info', 'customify' ),
716 'live' => true,
717 'default' => '#3d9cd2',
718 'css' => [
719 [
720 'property' => 'background-color',
721 'selector' => '.woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments',
722 ],
723 ],
724 ],
725 ],
726 ],
727 ];
728
729 /**
730 * Add the Style Manager cross-theme Customizer section.
731 */
732 $config['sections']['style_manager_section'] = [
733 'options' => [
734 'sm_color_primary' => [
735 'connected_fields' => [
736 'body_link_color',
737 'main_content_heading_4_color',
738 'main_content_heading_5_color',
739 'header_navigation_links_active_color',
740 'woocommerce_info_background_color',
741 ],
742 ],
743 'sm_color_secondary' => [
744 'connected_fields' => [
745 'main_content_heading_6_color',
746 'buttons_alt_background_color',
747 ],
748 ],
749
750 'sm_dark_primary' => [
751 'connected_fields' => [
752 'body_link_active_color',
753 'page_title_color',
754 'main_content_page_title_color',
755 'main_content_heading_1_color',
756 'main_content_heading_2_color',
757 'main_content_heading_3_color',
758 'header_navigation_links_color',
759 'footer_links_color',
760 'footer_heading_color',
761
762 'buttons_text_color',
763 ],
764 ],
765 'sm_dark_secondary' => [
766 'connected_fields' => [
767 'body_text_color',
768 'header_navigation_text_color',
769 'footer_text_color',
770 ],
771 ],
772 'sm_light_primary' => [
773 'connected_fields' => [
774 'main_content_content_background_color',
775 'buttons_alt_text_color',
776 ],
777 ],
778 'sm_light_secondary' => [
779 'connected_fields' => [
780 'header_background_color',
781 'buttons_background_color',
782 'footer_background_color',
783 ],
784 ],
785 'sm_light_tertiary' => [
786 'connected_fields' => [],
787 ],
788 ],
789 ];
790
791 /**
792 * Add "instructions" to remove panels, sections, controls and/or settings.
793 */
794
795 $config['remove_sections'] = [
796 'storefront_footer',
797 'storefront_typography',
798 'storefront_buttons',
799 ];
800
801 $config['remove_controls'] = [
802 'storefront_header_background_color',
803 'storefront_header_text_color',
804 'storefront_header_link_color',
805 'background_color',
806 ];
807
808 // You don't need to return anything.