Passed
Push — imgbot ( 14b5e4 )
by
unknown
08:51 queued 03:14
created
classes/class-lsx-customizer-colour-footer-cta.php 1 patch
Indentation   +102 added lines, -102 removed lines patch added patch discarded remove patch
@@ -1,103 +1,103 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 if ( ! class_exists( 'LSX_Customizer_Colour_Footer_CTA' ) ) {
3 3
 
4
-	/**
5
-	 * LSX Customizer Colour Footer CTA Class
6
-	 *
7
-	 * @package   LSX Customizer
8
-	 * @author    LightSpeed
9
-	 * @license   GPL3
10
-	 * @link
11
-	 * @copyright 2016 LightSpeed
12
-	 */
13
-	class LSX_Customizer_Colour_Footer_CTA extends LSX_Customizer_Colour {
14
-
15
-		/**
16
-		 * Constructor.
17
-		 *
18
-		 * @since 1.0.0
19
-		 */
20
-		public function __construct() {
21
-			add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
-			add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
-
24
-			add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
-		}
26
-
27
-		/**
28
-		 * Assign CSS to theme mod.
29
-		 *
30
-		 * @since 1.0.0
31
-		 */
32
-		public function set_theme_mod() {
33
-			$theme_mods = $this->get_theme_mods();
34
-			$styles     = $this->get_css( $theme_mods );
35
-
36
-			set_theme_mod( 'lsx_customizer_colour__footer_cta_theme_mod', $styles );
37
-		}
38
-
39
-		/**
40
-		 * Enqueues front-end CSS.
41
-		 *
42
-		 * @since 1.0.0
43
-		 */
44
-		public function enqueue_css() {
45
-			$styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__footer_cta_theme_mod' );
46
-
47
-			if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
-				$theme_mods = $this->get_theme_mods();
49
-				$styles     = $this->get_css( $theme_mods );
50
-
51
-				if ( false === $styles_from_theme_mod ) {
52
-					set_theme_mod( 'lsx_customizer_colour__footer_cta_theme_mod', $styles );
53
-				}
54
-			} else {
55
-				$styles = $styles_from_theme_mod;
56
-			}
57
-
58
-			wp_add_inline_style( 'lsx-customizer', $styles );
59
-		}
60
-
61
-		/**
62
-		 * Get CSS theme mods.
63
-		 *
64
-		 * @since 1.0.0
65
-		 */
66
-		public function get_theme_mods() {
67
-			$colors = parent::get_color_scheme();
68
-
69
-			return apply_filters( 'lsx_customizer_colours_footer_cta', array(
70
-				'footer_cta_background_color' => get_theme_mod( 'footer_cta_background_color', $colors['footer_cta_background_color'] ),
71
-				'footer_cta_text_color'       => get_theme_mod( 'footer_cta_text_color',       $colors['footer_cta_text_color'] ),
72
-				'footer_cta_link_color'       => get_theme_mod( 'footer_cta_link_color',       $colors['footer_cta_link_color'] ),
73
-				'footer_cta_link_hover_color' => get_theme_mod( 'footer_cta_link_hover_color', $colors['footer_cta_link_hover_color'] ),
74
-			) );
75
-		}
76
-
77
-		/**
78
-		 * Returns CSS.
79
-		 *
80
-		 * @since 1.0.0
81
-		 */
82
-		function get_css( $colors ) {
83
-			global $customizer_colour_names;
84
-
85
-			$colors_template = array();
86
-
87
-			foreach ( $customizer_colour_names as $key => $value ) {
88
-				$colors_template[ $key ] = '';
89
-			}
90
-
91
-			$colors = wp_parse_args( $colors, $colors_template );
92
-
93
-			if ( empty( $colors['footer_cta_background_color'] )
94
-				|| empty( $colors['footer_cta_text_color'] )
95
-				|| empty( $colors['footer_cta_link_color'] )
96
-				|| empty( $colors['footer_cta_link_hover_color'] ) ) {
97
-				return '';
98
-			}
99
-
100
-			$css = '
4
+     /**
5
+      * LSX Customizer Colour Footer CTA Class
6
+      *
7
+      * @package   LSX Customizer
8
+      * @author    LightSpeed
9
+      * @license   GPL3
10
+      * @link
11
+      * @copyright 2016 LightSpeed
12
+      */
13
+     class LSX_Customizer_Colour_Footer_CTA extends LSX_Customizer_Colour {
14
+
15
+          /**
16
+           * Constructor.
17
+           *
18
+           * @since 1.0.0
19
+           */
20
+          public function __construct() {
21
+               add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
+               add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
+
24
+               add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
+          }
26
+
27
+          /**
28
+           * Assign CSS to theme mod.
29
+           *
30
+           * @since 1.0.0
31
+           */
32
+          public function set_theme_mod() {
33
+               $theme_mods = $this->get_theme_mods();
34
+               $styles     = $this->get_css( $theme_mods );
35
+
36
+               set_theme_mod( 'lsx_customizer_colour__footer_cta_theme_mod', $styles );
37
+          }
38
+
39
+          /**
40
+           * Enqueues front-end CSS.
41
+           *
42
+           * @since 1.0.0
43
+           */
44
+          public function enqueue_css() {
45
+               $styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__footer_cta_theme_mod' );
46
+
47
+               if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
+                    $theme_mods = $this->get_theme_mods();
49
+                    $styles     = $this->get_css( $theme_mods );
50
+
51
+                    if ( false === $styles_from_theme_mod ) {
52
+                         set_theme_mod( 'lsx_customizer_colour__footer_cta_theme_mod', $styles );
53
+                    }
54
+               } else {
55
+                    $styles = $styles_from_theme_mod;
56
+               }
57
+
58
+               wp_add_inline_style( 'lsx-customizer', $styles );
59
+          }
60
+
61
+          /**
62
+           * Get CSS theme mods.
63
+           *
64
+           * @since 1.0.0
65
+           */
66
+          public function get_theme_mods() {
67
+               $colors = parent::get_color_scheme();
68
+
69
+               return apply_filters( 'lsx_customizer_colours_footer_cta', array(
70
+                    'footer_cta_background_color' => get_theme_mod( 'footer_cta_background_color', $colors['footer_cta_background_color'] ),
71
+                    'footer_cta_text_color'       => get_theme_mod( 'footer_cta_text_color',       $colors['footer_cta_text_color'] ),
72
+                    'footer_cta_link_color'       => get_theme_mod( 'footer_cta_link_color',       $colors['footer_cta_link_color'] ),
73
+                    'footer_cta_link_hover_color' => get_theme_mod( 'footer_cta_link_hover_color', $colors['footer_cta_link_hover_color'] ),
74
+               ) );
75
+          }
76
+
77
+          /**
78
+           * Returns CSS.
79
+           *
80
+           * @since 1.0.0
81
+           */
82
+          function get_css( $colors ) {
83
+               global $customizer_colour_names;
84
+
85
+               $colors_template = array();
86
+
87
+               foreach ( $customizer_colour_names as $key => $value ) {
88
+                    $colors_template[ $key ] = '';
89
+               }
90
+
91
+               $colors = wp_parse_args( $colors, $colors_template );
92
+
93
+               if ( empty( $colors['footer_cta_background_color'] )
94
+                    || empty( $colors['footer_cta_text_color'] )
95
+                    || empty( $colors['footer_cta_link_color'] )
96
+                    || empty( $colors['footer_cta_link_hover_color'] ) ) {
97
+                    return '';
98
+               }
99
+
100
+               $css = '
101 101
 				@import "' . get_template_directory() . '/assets/css/scss/global/mixins/footer-cta";
102 102
 
103 103
 				/**
@@ -111,11 +111,11 @@  discard block
 block discarded – undo
111 111
 				);
112 112
 			';
113 113
 
114
-			$css = apply_filters( 'lsx_customizer_colour_selectors_footer_cta', $css, $colors );
115
-			$css = parent::scss_to_css( $css );
116
-			return $css;
117
-		}
114
+               $css = apply_filters( 'lsx_customizer_colour_selectors_footer_cta', $css, $colors );
115
+               $css = parent::scss_to_css( $css );
116
+               return $css;
117
+          }
118 118
 
119
-	}
119
+     }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
classes/class-lsx-customizer-colour-footer-widgets.php 1 patch
Indentation   +102 added lines, -102 removed lines patch added patch discarded remove patch
@@ -1,103 +1,103 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 if ( ! class_exists( 'LSX_Customizer_Colour_Footer_Widgets' ) ) {
3 3
 
4
-	/**
5
-	 * LSX Customizer Colour Footer Widgets Class
6
-	 *
7
-	 * @package   LSX Customizer
8
-	 * @author    LightSpeed
9
-	 * @license   GPL3
10
-	 * @link
11
-	 * @copyright 2016 LightSpeed
12
-	 */
13
-	class LSX_Customizer_Colour_Footer_Widgets extends LSX_Customizer_Colour {
14
-
15
-		/**
16
-		 * Constructor.
17
-		 *
18
-		 * @since 1.0.0
19
-		 */
20
-		public function __construct() {
21
-			add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
-			add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
-
24
-			add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
-		}
26
-
27
-		/**
28
-		 * Assign CSS to theme mod.
29
-		 *
30
-		 * @since 1.0.0
31
-		 */
32
-		public function set_theme_mod() {
33
-			$theme_mods = $this->get_theme_mods();
34
-			$styles     = $this->get_css( $theme_mods );
35
-
36
-			set_theme_mod( 'lsx_customizer_colour__footer_widgets_theme_mod', $styles );
37
-		}
38
-
39
-		/**
40
-		 * Enqueues front-end CSS.
41
-		 *
42
-		 * @since 1.0.0
43
-		 */
44
-		public function enqueue_css() {
45
-			$styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__footer_widgets_theme_mod' );
46
-
47
-			if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
-				$theme_mods = $this->get_theme_mods();
49
-				$styles     = $this->get_css( $theme_mods );
50
-
51
-				if ( false === $styles_from_theme_mod ) {
52
-					set_theme_mod( 'lsx_customizer_colour__footer_widgets_theme_mod', $styles );
53
-				}
54
-			} else {
55
-				$styles = $styles_from_theme_mod;
56
-			}
57
-
58
-			wp_add_inline_style( 'lsx-customizer', $styles );
59
-		}
60
-
61
-		/**
62
-		 * Get CSS theme mods.
63
-		 *
64
-		 * @since 1.0.0
65
-		 */
66
-		public function get_theme_mods() {
67
-			$colors = parent::get_color_scheme();
68
-
69
-			return apply_filters( 'lsx_customizer_colours_footer_widgets', array(
70
-				'footer_widgets_background_color' => get_theme_mod( 'footer_widgets_background_color', $colors['footer_widgets_background_color'] ),
71
-				'footer_widgets_text_color'       => get_theme_mod( 'footer_widgets_text_color',       $colors['footer_widgets_text_color'] ),
72
-				'footer_widgets_link_color'       => get_theme_mod( 'footer_widgets_link_color',       $colors['footer_widgets_link_color'] ),
73
-				'footer_widgets_link_hover_color' => get_theme_mod( 'footer_widgets_link_hover_color', $colors['footer_widgets_link_hover_color'] ),
74
-			) );
75
-		}
76
-
77
-		/**
78
-		 * Returns CSS.
79
-		 *
80
-		 * @since 1.0.0
81
-		 */
82
-		function get_css( $colors ) {
83
-			global $customizer_colour_names;
84
-
85
-			$colors_template = array();
86
-
87
-			foreach ( $customizer_colour_names as $key => $value ) {
88
-				$colors_template[ $key ] = '';
89
-			}
90
-
91
-			$colors = wp_parse_args( $colors, $colors_template );
92
-
93
-			if ( empty( $colors['footer_widgets_background_color'] )
94
-				|| empty( $colors['footer_widgets_text_color'] )
95
-				|| empty( $colors['footer_widgets_link_color'] )
96
-				|| empty( $colors['footer_widgets_link_hover_color'] ) ) {
97
-				return '';
98
-			}
99
-
100
-			$css = '
4
+     /**
5
+      * LSX Customizer Colour Footer Widgets Class
6
+      *
7
+      * @package   LSX Customizer
8
+      * @author    LightSpeed
9
+      * @license   GPL3
10
+      * @link
11
+      * @copyright 2016 LightSpeed
12
+      */
13
+     class LSX_Customizer_Colour_Footer_Widgets extends LSX_Customizer_Colour {
14
+
15
+          /**
16
+           * Constructor.
17
+           *
18
+           * @since 1.0.0
19
+           */
20
+          public function __construct() {
21
+               add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
+               add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
+
24
+               add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
+          }
26
+
27
+          /**
28
+           * Assign CSS to theme mod.
29
+           *
30
+           * @since 1.0.0
31
+           */
32
+          public function set_theme_mod() {
33
+               $theme_mods = $this->get_theme_mods();
34
+               $styles     = $this->get_css( $theme_mods );
35
+
36
+               set_theme_mod( 'lsx_customizer_colour__footer_widgets_theme_mod', $styles );
37
+          }
38
+
39
+          /**
40
+           * Enqueues front-end CSS.
41
+           *
42
+           * @since 1.0.0
43
+           */
44
+          public function enqueue_css() {
45
+               $styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__footer_widgets_theme_mod' );
46
+
47
+               if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
+                    $theme_mods = $this->get_theme_mods();
49
+                    $styles     = $this->get_css( $theme_mods );
50
+
51
+                    if ( false === $styles_from_theme_mod ) {
52
+                         set_theme_mod( 'lsx_customizer_colour__footer_widgets_theme_mod', $styles );
53
+                    }
54
+               } else {
55
+                    $styles = $styles_from_theme_mod;
56
+               }
57
+
58
+               wp_add_inline_style( 'lsx-customizer', $styles );
59
+          }
60
+
61
+          /**
62
+           * Get CSS theme mods.
63
+           *
64
+           * @since 1.0.0
65
+           */
66
+          public function get_theme_mods() {
67
+               $colors = parent::get_color_scheme();
68
+
69
+               return apply_filters( 'lsx_customizer_colours_footer_widgets', array(
70
+                    'footer_widgets_background_color' => get_theme_mod( 'footer_widgets_background_color', $colors['footer_widgets_background_color'] ),
71
+                    'footer_widgets_text_color'       => get_theme_mod( 'footer_widgets_text_color',       $colors['footer_widgets_text_color'] ),
72
+                    'footer_widgets_link_color'       => get_theme_mod( 'footer_widgets_link_color',       $colors['footer_widgets_link_color'] ),
73
+                    'footer_widgets_link_hover_color' => get_theme_mod( 'footer_widgets_link_hover_color', $colors['footer_widgets_link_hover_color'] ),
74
+               ) );
75
+          }
76
+
77
+          /**
78
+           * Returns CSS.
79
+           *
80
+           * @since 1.0.0
81
+           */
82
+          function get_css( $colors ) {
83
+               global $customizer_colour_names;
84
+
85
+               $colors_template = array();
86
+
87
+               foreach ( $customizer_colour_names as $key => $value ) {
88
+                    $colors_template[ $key ] = '';
89
+               }
90
+
91
+               $colors = wp_parse_args( $colors, $colors_template );
92
+
93
+               if ( empty( $colors['footer_widgets_background_color'] )
94
+                    || empty( $colors['footer_widgets_text_color'] )
95
+                    || empty( $colors['footer_widgets_link_color'] )
96
+                    || empty( $colors['footer_widgets_link_hover_color'] ) ) {
97
+                    return '';
98
+               }
99
+
100
+               $css = '
101 101
 				@import "' . get_template_directory() . '/assets/css/scss/global/mixins/footer-widgets";
102 102
 
103 103
 				/**
@@ -111,12 +111,12 @@  discard block
 block discarded – undo
111 111
 				);
112 112
 			';
113 113
 
114
-			$css = apply_filters( 'lsx_customizer_colour_selectors_footer_widgets', $css, $colors );
115
-			$css = parent::scss_to_css( $css );
114
+               $css = apply_filters( 'lsx_customizer_colour_selectors_footer_widgets', $css, $colors );
115
+               $css = parent::scss_to_css( $css );
116 116
 
117
-			return $css;
118
-		}
117
+               return $css;
118
+          }
119 119
 
120
-	}
120
+     }
121 121
 
122 122
 }
Please login to merge, or discard this patch.
classes/class-lsx-customizer-colour-button.php 1 patch
Indentation   +104 added lines, -104 removed lines patch added patch discarded remove patch
@@ -1,105 +1,105 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 if ( ! class_exists( 'LSX_Customizer_Colour_Button' ) ) {
3 3
 
4
-	/**
5
-	 * LSX Customizer Colour Button Class
6
-	 *
7
-	 * @package   LSX Customizer
8
-	 * @author    LightSpeed
9
-	 * @license   GPL3
10
-	 * @link
11
-	 * @copyright 2016 LightSpeed
12
-	 */
13
-	class LSX_Customizer_Colour_Button extends LSX_Customizer_Colour {
14
-
15
-		/**
16
-		 * Constructor.
17
-		 *
18
-		 * @since 1.0.0
19
-		 */
20
-		public function __construct() {
21
-			add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
-			add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
-
24
-			add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
-		}
26
-
27
-		/**
28
-		 * Assign CSS to theme mod.
29
-		 *
30
-		 * @since 1.0.0
31
-		 */
32
-		public function set_theme_mod() {
33
-			$theme_mods = $this->get_theme_mods();
34
-			$styles     = $this->get_css( $theme_mods );
35
-
36
-			set_theme_mod( 'lsx_customizer_colour__button_theme_mod', $styles );
37
-		}
38
-
39
-		/**
40
-		 * Enqueues front-end CSS.
41
-		 *
42
-		 * @since 1.0.0
43
-		 */
44
-		public function enqueue_css() {
45
-			$styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__button_theme_mod' );
46
-
47
-			if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
-				$theme_mods = $this->get_theme_mods();
49
-				$styles     = $this->get_css( $theme_mods );
50
-
51
-				if ( false === $styles_from_theme_mod ) {
52
-					set_theme_mod( 'lsx_customizer_colour__button_theme_mod', $styles );
53
-				}
54
-			} else {
55
-				$styles = $styles_from_theme_mod;
56
-			}
57
-
58
-			wp_add_inline_style( 'lsx-customizer', $styles );
59
-		}
60
-
61
-		/**
62
-		 * Get CSS theme mods.
63
-		 *
64
-		 * @since 1.0.0
65
-		 */
66
-		public function get_theme_mods() {
67
-			$colors = parent::get_color_scheme();
68
-
69
-			return apply_filters( 'lsx_customizer_colours_button', array(
70
-				'button_background_color'       => get_theme_mod( 'button_background_color',       $colors['button_background_color'] ),
71
-				'button_background_hover_color' => get_theme_mod( 'button_background_hover_color', $colors['button_background_hover_color'] ),
72
-				'button_text_color'             => get_theme_mod( 'button_text_color',             $colors['button_text_color'] ),
73
-				'button_text_color_hover'       => get_theme_mod( 'button_text_color_hover',       $colors['button_text_color_hover'] ),
74
-				'button_shadow'                 => get_theme_mod( 'button_shadow',                 $colors['button_shadow'] ),
75
-			) );
76
-		}
77
-
78
-		/**
79
-		 * Returns CSS.
80
-		 *
81
-		 * @since 1.0.0
82
-		 */
83
-		function get_css( $colors ) {
84
-			global $customizer_colour_names;
85
-
86
-			$colors_template = array();
87
-
88
-			foreach ( $customizer_colour_names as $key => $value ) {
89
-				$colors_template[ $key ] = '';
90
-			}
91
-
92
-			$colors = wp_parse_args( $colors, $colors_template );
93
-
94
-			if ( empty( $colors['button_text_color'] )
95
-				|| empty( $colors['button_text_color_hover'] )
96
-				|| empty( $colors['button_background_color'] )
97
-				|| empty( $colors['button_background_hover_color'] )
98
-				|| empty( $colors['button_shadow'] ) ) {
99
-				return '';
100
-			}
101
-
102
-			$css = '
4
+     /**
5
+      * LSX Customizer Colour Button Class
6
+      *
7
+      * @package   LSX Customizer
8
+      * @author    LightSpeed
9
+      * @license   GPL3
10
+      * @link
11
+      * @copyright 2016 LightSpeed
12
+      */
13
+     class LSX_Customizer_Colour_Button extends LSX_Customizer_Colour {
14
+
15
+          /**
16
+           * Constructor.
17
+           *
18
+           * @since 1.0.0
19
+           */
20
+          public function __construct() {
21
+               add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
+               add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
+
24
+               add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
+          }
26
+
27
+          /**
28
+           * Assign CSS to theme mod.
29
+           *
30
+           * @since 1.0.0
31
+           */
32
+          public function set_theme_mod() {
33
+               $theme_mods = $this->get_theme_mods();
34
+               $styles     = $this->get_css( $theme_mods );
35
+
36
+               set_theme_mod( 'lsx_customizer_colour__button_theme_mod', $styles );
37
+          }
38
+
39
+          /**
40
+           * Enqueues front-end CSS.
41
+           *
42
+           * @since 1.0.0
43
+           */
44
+          public function enqueue_css() {
45
+               $styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__button_theme_mod' );
46
+
47
+               if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
+                    $theme_mods = $this->get_theme_mods();
49
+                    $styles     = $this->get_css( $theme_mods );
50
+
51
+                    if ( false === $styles_from_theme_mod ) {
52
+                         set_theme_mod( 'lsx_customizer_colour__button_theme_mod', $styles );
53
+                    }
54
+               } else {
55
+                    $styles = $styles_from_theme_mod;
56
+               }
57
+
58
+               wp_add_inline_style( 'lsx-customizer', $styles );
59
+          }
60
+
61
+          /**
62
+           * Get CSS theme mods.
63
+           *
64
+           * @since 1.0.0
65
+           */
66
+          public function get_theme_mods() {
67
+               $colors = parent::get_color_scheme();
68
+
69
+               return apply_filters( 'lsx_customizer_colours_button', array(
70
+                    'button_background_color'       => get_theme_mod( 'button_background_color',       $colors['button_background_color'] ),
71
+                    'button_background_hover_color' => get_theme_mod( 'button_background_hover_color', $colors['button_background_hover_color'] ),
72
+                    'button_text_color'             => get_theme_mod( 'button_text_color',             $colors['button_text_color'] ),
73
+                    'button_text_color_hover'       => get_theme_mod( 'button_text_color_hover',       $colors['button_text_color_hover'] ),
74
+                    'button_shadow'                 => get_theme_mod( 'button_shadow',                 $colors['button_shadow'] ),
75
+               ) );
76
+          }
77
+
78
+          /**
79
+           * Returns CSS.
80
+           *
81
+           * @since 1.0.0
82
+           */
83
+          function get_css( $colors ) {
84
+               global $customizer_colour_names;
85
+
86
+               $colors_template = array();
87
+
88
+               foreach ( $customizer_colour_names as $key => $value ) {
89
+                    $colors_template[ $key ] = '';
90
+               }
91
+
92
+               $colors = wp_parse_args( $colors, $colors_template );
93
+
94
+               if ( empty( $colors['button_text_color'] )
95
+                    || empty( $colors['button_text_color_hover'] )
96
+                    || empty( $colors['button_background_color'] )
97
+                    || empty( $colors['button_background_hover_color'] )
98
+                    || empty( $colors['button_shadow'] ) ) {
99
+                    return '';
100
+               }
101
+
102
+               $css = '
103 103
 				@import "' . get_template_directory() . '/assets/css/scss/global/mixins/button";
104 104
 
105 105
 				/**
@@ -114,12 +114,12 @@  discard block
 block discarded – undo
114 114
 				);
115 115
 			';
116 116
 
117
-			$css = apply_filters( 'lsx_customizer_colour_selectors_button', $css, $colors );
118
-			$css = parent::scss_to_css( $css );
117
+               $css = apply_filters( 'lsx_customizer_colour_selectors_button', $css, $colors );
118
+               $css = parent::scss_to_css( $css );
119 119
 
120
-			return $css;
121
-		}
120
+               return $css;
121
+          }
122 122
 
123
-	}
123
+     }
124 124
 
125 125
 }
Please login to merge, or discard this patch.
classes/class-lsx-customizer-colour-main-menu.php 1 patch
Indentation   +108 added lines, -108 removed lines patch added patch discarded remove patch
@@ -1,109 +1,109 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 if ( ! class_exists( 'LSX_Customizer_Colour_Main_Menu' ) ) {
3 3
 
4
-	/**
5
-	 * LSX Customizer Colour Main Menu Class
6
-	 *
7
-	 * @package   LSX Customizer
8
-	 * @author    LightSpeed
9
-	 * @license   GPL3
10
-	 * @link
11
-	 * @copyright 2016 LightSpeed
12
-	 */
13
-	class LSX_Customizer_Colour_Main_Menu extends LSX_Customizer_Colour {
14
-
15
-		/**
16
-		 * Constructor.
17
-		 *
18
-		 * @since 1.0.0
19
-		 */
20
-		public function __construct() {
21
-			add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
-			add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
-
24
-			add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
-		}
26
-
27
-		/**
28
-		 * Assign CSS to theme mod.
29
-		 *
30
-		 * @since 1.0.0
31
-		 */
32
-		public function set_theme_mod() {
33
-			$theme_mods = $this->get_theme_mods();
34
-			$styles     = $this->get_css( $theme_mods );
35
-
36
-			set_theme_mod( 'lsx_customizer_colour__main_menu_theme_mod', $styles );
37
-		}
38
-
39
-		/**
40
-		 * Enqueues front-end CSS.
41
-		 *
42
-		 * @since 1.0.0
43
-		 */
44
-		public function enqueue_css() {
45
-			$styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__main_menu_theme_mod' );
46
-
47
-			if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
-				$theme_mods = $this->get_theme_mods();
49
-				$styles     = $this->get_css( $theme_mods );
50
-
51
-				if ( false === $styles_from_theme_mod ) {
52
-					set_theme_mod( 'lsx_customizer_colour__main_menu_theme_mod', $styles );
53
-				}
54
-			} else {
55
-				$styles = $styles_from_theme_mod;
56
-			}
57
-
58
-			wp_add_inline_style( 'lsx-customizer', $styles );
59
-		}
60
-
61
-		/**
62
-		 * Get CSS theme mods.
63
-		 *
64
-		 * @since 1.0.0
65
-		 */
66
-		public function get_theme_mods() {
67
-			$colors = parent::get_color_scheme();
68
-
69
-			return apply_filters( 'lsx_customizer_colours_main_menu', array(
70
-				'main_menu_background_color'                => get_theme_mod( 'main_menu_background_color',                $colors['main_menu_background_color'] ),
71
-				'main_menu_link_color'                      => get_theme_mod( 'main_menu_link_color',                      $colors['main_menu_link_color'] ),
72
-				'main_menu_link_hover_color'                => get_theme_mod( 'main_menu_link_hover_color',                $colors['main_menu_link_hover_color'] ),
73
-				'main_menu_dropdown_background_color'       => get_theme_mod( 'main_menu_dropdown_background_color',       $colors['main_menu_dropdown_background_color'] ),
74
-				'main_menu_dropdown_background_hover_color' => get_theme_mod( 'main_menu_dropdown_background_hover_color', $colors['main_menu_dropdown_background_hover_color'] ),
75
-				'main_menu_dropdown_link_color'             => get_theme_mod( 'main_menu_dropdown_link_color',             $colors['main_menu_dropdown_link_color'] ),
76
-				'main_menu_dropdown_link_hover_color'       => get_theme_mod( 'main_menu_dropdown_link_hover_color',       $colors['main_menu_dropdown_link_hover_color'] ),
77
-			) );
78
-		}
79
-
80
-		/**
81
-		 * Returns CSS.
82
-		 *
83
-		 * @since 1.0.0
84
-		 */
85
-		function get_css( $colors ) {
86
-			global $customizer_colour_names;
87
-
88
-			$colors_template = array();
89
-
90
-			foreach ( $customizer_colour_names as $key => $value ) {
91
-				$colors_template[ $key ] = '';
92
-			}
93
-
94
-			$colors = wp_parse_args( $colors, $colors_template );
95
-
96
-			if ( empty( $colors['main_menu_background_color'] )
97
-				|| empty( $colors['main_menu_link_color'] )
98
-				|| empty( $colors['main_menu_link_hover_color'] )
99
-				|| empty( $colors['main_menu_dropdown_background_color'] )
100
-				|| empty( $colors['main_menu_dropdown_background_hover_color'] )
101
-				|| empty( $colors['main_menu_dropdown_link_color'] )
102
-				|| empty( $colors['main_menu_dropdown_link_hover_color'] ) ) {
103
-				return '';
104
-			}
105
-
106
-			$css = '
4
+     /**
5
+      * LSX Customizer Colour Main Menu Class
6
+      *
7
+      * @package   LSX Customizer
8
+      * @author    LightSpeed
9
+      * @license   GPL3
10
+      * @link
11
+      * @copyright 2016 LightSpeed
12
+      */
13
+     class LSX_Customizer_Colour_Main_Menu extends LSX_Customizer_Colour {
14
+
15
+          /**
16
+           * Constructor.
17
+           *
18
+           * @since 1.0.0
19
+           */
20
+          public function __construct() {
21
+               add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
+               add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
+
24
+               add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
+          }
26
+
27
+          /**
28
+           * Assign CSS to theme mod.
29
+           *
30
+           * @since 1.0.0
31
+           */
32
+          public function set_theme_mod() {
33
+               $theme_mods = $this->get_theme_mods();
34
+               $styles     = $this->get_css( $theme_mods );
35
+
36
+               set_theme_mod( 'lsx_customizer_colour__main_menu_theme_mod', $styles );
37
+          }
38
+
39
+          /**
40
+           * Enqueues front-end CSS.
41
+           *
42
+           * @since 1.0.0
43
+           */
44
+          public function enqueue_css() {
45
+               $styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__main_menu_theme_mod' );
46
+
47
+               if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
+                    $theme_mods = $this->get_theme_mods();
49
+                    $styles     = $this->get_css( $theme_mods );
50
+
51
+                    if ( false === $styles_from_theme_mod ) {
52
+                         set_theme_mod( 'lsx_customizer_colour__main_menu_theme_mod', $styles );
53
+                    }
54
+               } else {
55
+                    $styles = $styles_from_theme_mod;
56
+               }
57
+
58
+               wp_add_inline_style( 'lsx-customizer', $styles );
59
+          }
60
+
61
+          /**
62
+           * Get CSS theme mods.
63
+           *
64
+           * @since 1.0.0
65
+           */
66
+          public function get_theme_mods() {
67
+               $colors = parent::get_color_scheme();
68
+
69
+               return apply_filters( 'lsx_customizer_colours_main_menu', array(
70
+                    'main_menu_background_color'                => get_theme_mod( 'main_menu_background_color',                $colors['main_menu_background_color'] ),
71
+                    'main_menu_link_color'                      => get_theme_mod( 'main_menu_link_color',                      $colors['main_menu_link_color'] ),
72
+                    'main_menu_link_hover_color'                => get_theme_mod( 'main_menu_link_hover_color',                $colors['main_menu_link_hover_color'] ),
73
+                    'main_menu_dropdown_background_color'       => get_theme_mod( 'main_menu_dropdown_background_color',       $colors['main_menu_dropdown_background_color'] ),
74
+                    'main_menu_dropdown_background_hover_color' => get_theme_mod( 'main_menu_dropdown_background_hover_color', $colors['main_menu_dropdown_background_hover_color'] ),
75
+                    'main_menu_dropdown_link_color'             => get_theme_mod( 'main_menu_dropdown_link_color',             $colors['main_menu_dropdown_link_color'] ),
76
+                    'main_menu_dropdown_link_hover_color'       => get_theme_mod( 'main_menu_dropdown_link_hover_color',       $colors['main_menu_dropdown_link_hover_color'] ),
77
+               ) );
78
+          }
79
+
80
+          /**
81
+           * Returns CSS.
82
+           *
83
+           * @since 1.0.0
84
+           */
85
+          function get_css( $colors ) {
86
+               global $customizer_colour_names;
87
+
88
+               $colors_template = array();
89
+
90
+               foreach ( $customizer_colour_names as $key => $value ) {
91
+                    $colors_template[ $key ] = '';
92
+               }
93
+
94
+               $colors = wp_parse_args( $colors, $colors_template );
95
+
96
+               if ( empty( $colors['main_menu_background_color'] )
97
+                    || empty( $colors['main_menu_link_color'] )
98
+                    || empty( $colors['main_menu_link_hover_color'] )
99
+                    || empty( $colors['main_menu_dropdown_background_color'] )
100
+                    || empty( $colors['main_menu_dropdown_background_hover_color'] )
101
+                    || empty( $colors['main_menu_dropdown_link_color'] )
102
+                    || empty( $colors['main_menu_dropdown_link_hover_color'] ) ) {
103
+                    return '';
104
+               }
105
+
106
+               $css = '
107 107
 				@import "' . get_template_directory() . '/assets/css/scss/global/mixins/nav";
108 108
 
109 109
 				/**
@@ -120,12 +120,12 @@  discard block
 block discarded – undo
120 120
 				);
121 121
 			';
122 122
 
123
-			$css = apply_filters( 'lsx_customizer_colour_selectors_main_menu', $css, $colors );
124
-			$css = parent::scss_to_css( $css );
123
+               $css = apply_filters( 'lsx_customizer_colour_selectors_main_menu', $css, $colors );
124
+               $css = parent::scss_to_css( $css );
125 125
 
126
-			return $css;
127
-		}
126
+               return $css;
127
+          }
128 128
 
129
-	}
129
+     }
130 130
 
131 131
 }
Please login to merge, or discard this patch.
examples/lsx-customizer-colour.php 1 patch
Indentation   +120 added lines, -120 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@  discard block
 block discarded – undo
6 6
  * Add two new colors (test) in main array of colors
7 7
  */
8 8
 function test_lsx_customizer_colour_names( $array ) {
9
-	$array['test_text_color']       = esc_html__( 'TEST: Text', 'lsx-customizer' );
10
-	$array['test_text_color_hover'] = esc_html__( 'TEST: Text (hover)', 'lsx-customizer' );
11
-	return $array;
9
+     $array['test_text_color']       = esc_html__( 'TEST: Text', 'lsx-customizer' );
10
+     $array['test_text_color_hover'] = esc_html__( 'TEST: Text (hover)', 'lsx-customizer' );
11
+     return $array;
12 12
 }
13 13
 add_filter( 'lsx_customizer_colour_names', 'test_lsx_customizer_colour_names' );
14 14
 
@@ -18,9 +18,9 @@  discard block
 block discarded – undo
18 18
  * Add the new colors (test) in default scheme
19 19
  */
20 20
 function test_lsx_customizer_colour_choices_default( $array ) {
21
-	$array['test_text_color']       = '#ddddd1';
22
-	$array['test_text_color_hover'] = '#eeeee1';
23
-	return $array;
21
+     $array['test_text_color']       = '#ddddd1';
22
+     $array['test_text_color_hover'] = '#eeeee1';
23
+     return $array;
24 24
 }
25 25
 add_filter( 'lsx_customizer_colour_choices_default', 'test_lsx_customizer_colour_choices_default' );
26 26
 
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
  * Add the new colors (test) in red scheme
31 31
  */
32 32
 function test_lsx_customizer_colour_choices_red( $array ) {
33
-	$array['test_text_color']       = '#ddddd2';
34
-	$array['test_text_color_hover'] = '#eeeee2';
35
-	return $array;
33
+     $array['test_text_color']       = '#ddddd2';
34
+     $array['test_text_color_hover'] = '#eeeee2';
35
+     return $array;
36 36
 }
37 37
 add_filter( 'lsx_customizer_colour_choices_red', 'test_lsx_customizer_colour_choices_red' );
38 38
 
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
  * Add the new colors (test) in orange scheme
43 43
  */
44 44
 function test_lsx_customizer_colour_choices_orange( $array ) {
45
-	$array['test_text_color']       = '#ddddd3';
46
-	$array['test_text_color_hover'] = '#eeeee3';
47
-	return $array;
45
+     $array['test_text_color']       = '#ddddd3';
46
+     $array['test_text_color_hover'] = '#eeeee3';
47
+     return $array;
48 48
 }
49 49
 add_filter( 'lsx_customizer_colour_choices_orange', 'test_lsx_customizer_colour_choices_orange' );
50 50
 
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
  * Add the new colors (test) in green scheme
55 55
  */
56 56
 function test_lsx_customizer_colour_choices_green( $array ) {
57
-	$array['test_text_color']       = '#ddddd4';
58
-	$array['test_text_color_hover'] = '#eeeee4';
59
-	return $array;
57
+     $array['test_text_color']       = '#ddddd4';
58
+     $array['test_text_color_hover'] = '#eeeee4';
59
+     return $array;
60 60
 }
61 61
 add_filter( 'lsx_customizer_colour_choices_green', 'test_lsx_customizer_colour_choices_green' );
62 62
 
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
  * Add the new colors (test) in brown scheme
67 67
  */
68 68
 function test_lsx_customizer_colour_choices_brown( $array ) {
69
-	$array['test_text_color']       = '#ddddd5';
70
-	$array['test_text_color_hover'] = '#eeeee5';
71
-	return $array;
69
+     $array['test_text_color']       = '#ddddd5';
70
+     $array['test_text_color_hover'] = '#eeeee5';
71
+     return $array;
72 72
 }
73 73
 add_filter( 'lsx_customizer_colour_choices_brown', 'test_lsx_customizer_colour_choices_brown' );
74 74
 
@@ -79,88 +79,88 @@  discard block
 block discarded – undo
79 79
  * Also add the new colors (test) in new scheme
80 80
  */
81 81
 function test_lsx_customizer_colour_choices( $array ) {
82
-	$array['test'] = array(
83
-		'label'  => esc_html__( 'Test', 'lsx-customizer' ),
84
-		'colors' => array(
85
-			'button_background_color'       => '#428bca',
86
-			'button_background_hover_color' => '#2a6496',
87
-			'button_text_color'             => '#ffffff',
88
-			'button_text_color_hover'       => '#ffffff',
89
-			'button_shadow'                 => '#2a6496',
90
-
91
-			'button_cta_background_color'       => '#f7941d',
92
-			'button_cta_background_hover_color' => '#f7741d',
93
-			'button_cta_text_color'             => '#ffffff',
94
-			'button_cta_text_color_hover'       => '#ffffff',
95
-			'button_cta_shadow'                 => '#f7741d',
96
-
97
-			'top_menu_background_color'          => '#333333',
98
-			'top_menu_link_color'                => '#ffffff',
99
-			'top_menu_link_hover_color'          => '#428bca',
100
-			'top_menu_icon_color'                => '#428bca',
101
-			'top_menu_icon_hover_color'          => '#ffffff',
102
-			'top_menu_dropdown_color'            => '#333333',
103
-			'top_menu_dropdown_hover_color'      => '#444444',
104
-			'top_menu_dropdown_link_color'       => '#ffffff',
105
-			'top_menu_dropdown_link_hover_color' => '#428bca',
106
-
107
-			'header_background_color'  => '#ffffff',
108
-			'header_link_color'        => '#428bca',
109
-			'header_link_hover_color'  => '#1072c9',
110
-			'header_description_color' => '#555555',
111
-
112
-			'main_menu_background_color'                => '#ffffff',
113
-			'main_menu_link_color'                      => '#555555',
114
-			'main_menu_link_hover_color'                => '#ffffff',
115
-			'main_menu_dropdown_background_color'       => '#428bca',
116
-			'main_menu_dropdown_background_hover_color' => '#1072c9',
117
-			'main_menu_dropdown_link_color'             => '#ffffff',
118
-			'main_menu_dropdown_link_hover_color'       => '#dddddd',
119
-
120
-			'banner_background_color'               => '#2a6496',
121
-			'banner_text_color'                     => '#ffffff',
122
-			'banner_text_image_color'               => '#ffffff',
123
-			'banner_breadcrumb_background_color'    => '#374750',
124
-			'banner_breadcrumb_text_color'          => '#919191',
125
-			'banner_breadcrumb_text_selected_color' => '#ffffff',
126
-
127
-			'background_color'                       => '#ffffff',
128
-			'body_line_color'                        => '#dddddd',
129
-			'body_text_heading_color'                => '#333333',
130
-			'body_text_small_color'                  => '#919191',
131
-			'body_text_color'                        => '#333333',
132
-			'body_link_color'                        => '#596b46',
133
-			'body_link_hover_color'                  => '#3d4a30',
134
-			'body_section_full_background_color'     => '#596b46',
135
-			'body_section_full_text_color'           => '#ffffff',
136
-			'body_section_full_link_color'           => '#eeeeee',
137
-			'body_section_full_link_hover_color'     => '#dddddd',
138
-			'body_section_full_cta_background_color' => '#333333',
139
-			'body_section_full_cta_text_color'       => '#ffffff',
140
-			'body_section_full_cta_link_color'       => '#eeeeee',
141
-			'body_section_full_cta_link_hover_color' => '#dddddd',
142
-
143
-			'footer_cta_background_color' => '#428bca',
144
-			'footer_cta_text_color'       => '#ffffff',
145
-			'footer_cta_link_color'       => '#dddddd',
146
-			'footer_cta_link_hover_color' => '#ffffff',
147
-
148
-			'footer_widgets_background_color' => '#333333',
149
-			'footer_widgets_text_color'       => '#eeeeee',
150
-			'footer_widgets_link_color'       => '#428bca',
151
-			'footer_widgets_link_hover_color' => '#1072c9',
152
-
153
-			'footer_background_color' => '#232222',
154
-			'footer_text_color'       => '#ffffff',
155
-			'footer_link_color'       => '#428bca',
156
-			'footer_link_hover_color' => '#1072c9',
157
-
158
-			'test_text_color'       => '#ddddd6',
159
-			'test_text_color_hover' => '#eeeee6',
160
-		),
161
-	);
162
-
163
-	return $array;
82
+     $array['test'] = array(
83
+          'label'  => esc_html__( 'Test', 'lsx-customizer' ),
84
+          'colors' => array(
85
+               'button_background_color'       => '#428bca',
86
+               'button_background_hover_color' => '#2a6496',
87
+               'button_text_color'             => '#ffffff',
88
+               'button_text_color_hover'       => '#ffffff',
89
+               'button_shadow'                 => '#2a6496',
90
+
91
+               'button_cta_background_color'       => '#f7941d',
92
+               'button_cta_background_hover_color' => '#f7741d',
93
+               'button_cta_text_color'             => '#ffffff',
94
+               'button_cta_text_color_hover'       => '#ffffff',
95
+               'button_cta_shadow'                 => '#f7741d',
96
+
97
+               'top_menu_background_color'          => '#333333',
98
+               'top_menu_link_color'                => '#ffffff',
99
+               'top_menu_link_hover_color'          => '#428bca',
100
+               'top_menu_icon_color'                => '#428bca',
101
+               'top_menu_icon_hover_color'          => '#ffffff',
102
+               'top_menu_dropdown_color'            => '#333333',
103
+               'top_menu_dropdown_hover_color'      => '#444444',
104
+               'top_menu_dropdown_link_color'       => '#ffffff',
105
+               'top_menu_dropdown_link_hover_color' => '#428bca',
106
+
107
+               'header_background_color'  => '#ffffff',
108
+               'header_link_color'        => '#428bca',
109
+               'header_link_hover_color'  => '#1072c9',
110
+               'header_description_color' => '#555555',
111
+
112
+               'main_menu_background_color'                => '#ffffff',
113
+               'main_menu_link_color'                      => '#555555',
114
+               'main_menu_link_hover_color'                => '#ffffff',
115
+               'main_menu_dropdown_background_color'       => '#428bca',
116
+               'main_menu_dropdown_background_hover_color' => '#1072c9',
117
+               'main_menu_dropdown_link_color'             => '#ffffff',
118
+               'main_menu_dropdown_link_hover_color'       => '#dddddd',
119
+
120
+               'banner_background_color'               => '#2a6496',
121
+               'banner_text_color'                     => '#ffffff',
122
+               'banner_text_image_color'               => '#ffffff',
123
+               'banner_breadcrumb_background_color'    => '#374750',
124
+               'banner_breadcrumb_text_color'          => '#919191',
125
+               'banner_breadcrumb_text_selected_color' => '#ffffff',
126
+
127
+               'background_color'                       => '#ffffff',
128
+               'body_line_color'                        => '#dddddd',
129
+               'body_text_heading_color'                => '#333333',
130
+               'body_text_small_color'                  => '#919191',
131
+               'body_text_color'                        => '#333333',
132
+               'body_link_color'                        => '#596b46',
133
+               'body_link_hover_color'                  => '#3d4a30',
134
+               'body_section_full_background_color'     => '#596b46',
135
+               'body_section_full_text_color'           => '#ffffff',
136
+               'body_section_full_link_color'           => '#eeeeee',
137
+               'body_section_full_link_hover_color'     => '#dddddd',
138
+               'body_section_full_cta_background_color' => '#333333',
139
+               'body_section_full_cta_text_color'       => '#ffffff',
140
+               'body_section_full_cta_link_color'       => '#eeeeee',
141
+               'body_section_full_cta_link_hover_color' => '#dddddd',
142
+
143
+               'footer_cta_background_color' => '#428bca',
144
+               'footer_cta_text_color'       => '#ffffff',
145
+               'footer_cta_link_color'       => '#dddddd',
146
+               'footer_cta_link_hover_color' => '#ffffff',
147
+
148
+               'footer_widgets_background_color' => '#333333',
149
+               'footer_widgets_text_color'       => '#eeeeee',
150
+               'footer_widgets_link_color'       => '#428bca',
151
+               'footer_widgets_link_hover_color' => '#1072c9',
152
+
153
+               'footer_background_color' => '#232222',
154
+               'footer_text_color'       => '#ffffff',
155
+               'footer_link_color'       => '#428bca',
156
+               'footer_link_hover_color' => '#1072c9',
157
+
158
+               'test_text_color'       => '#ddddd6',
159
+               'test_text_color_hover' => '#eeeee6',
160
+          ),
161
+     );
162
+
163
+     return $array;
164 164
 }
165 165
 add_filter( 'lsx_customizer_colour_choices', 'test_lsx_customizer_colour_choices' );
166 166
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
  * Add new selectors in "button" group of colours
171 171
  */
172 172
 function test_lsx_customizer_colour_selectors_button( $css, $colors ) {
173
-	$css .= <<<CSS
173
+     $css .= <<<CSS
174 174
 
175 175
 	/* Button TEST */
176 176
 
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 	}
184 184
 CSS;
185 185
 
186
-	return $css;
186
+     return $css;
187 187
 }
188 188
 add_filter( 'lsx_customizer_colour_selectors_button', 'test_lsx_customizer_colour_selectors_button', 10, 2 );
189 189
 
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
  * Add new selectors in "button cta" group of colours
194 194
  */
195 195
 function test_lsx_customizer_colour_selectors_button_cta( $css, $colors ) {
196
-	$css .= <<<CSS
196
+     $css .= <<<CSS
197 197
 
198 198
 	/* Button CTA TEST */
199 199
 
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 	}
207 207
 CSS;
208 208
 
209
-	return $css;
209
+     return $css;
210 210
 }
211 211
 add_filter( 'lsx_customizer_colour_selectors_button_cta', 'test_lsx_customizer_colour_selectors_button_cta', 10, 2 );
212 212
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
  * Add new selectors in "top menu" group of colours
217 217
  */
218 218
 function test_lsx_customizer_colour_selectors_top_menu( $css, $colors ) {
219
-	$css .= <<<CSS
219
+     $css .= <<<CSS
220 220
 
221 221
 	/* Top Menu TEST */
222 222
 
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 	}
234 234
 CSS;
235 235
 
236
-	return $css;
236
+     return $css;
237 237
 }
238 238
 add_filter( 'lsx_customizer_colour_selectors_top_menu', 'test_lsx_customizer_colour_selectors_top_menu', 10, 2 );
239 239
 
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
  * Add new selectors in "header" group of colours
244 244
  */
245 245
 function test_lsx_customizer_colour_selectors_header( $css, $colors ) {
246
-	$css .= <<<CSS
246
+     $css .= <<<CSS
247 247
 
248 248
 	/* Header TEST */
249 249
 
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
 	}
256 256
 CSS;
257 257
 
258
-	return $css;
258
+     return $css;
259 259
 }
260 260
 add_filter( 'lsx_customizer_colour_selectors_header', 'test_lsx_customizer_colour_selectors_header', 10, 2 );
261 261
 
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
  * Add new selectors in "main meun" group of colours
266 266
  */
267 267
 function test_lsx_customizer_colour_selectors_main_menu( $css, $colors ) {
268
-	$css .= <<<CSS
268
+     $css .= <<<CSS
269 269
 
270 270
 	/* Main Menu TEST */
271 271
 
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
 	}
281 281
 CSS;
282 282
 
283
-	return $css;
283
+     return $css;
284 284
 }
285 285
 add_filter( 'lsx_customizer_colour_selectors_main_menu', 'test_lsx_customizer_colour_selectors_main_menu', 10, 2 );
286 286
 
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
  * Add new selectors in "banner" group of colours
291 291
  */
292 292
 function test_lsx_customizer_colour_selectors_banner( $css, $colors ) {
293
-	$css .= <<<CSS
293
+     $css .= <<<CSS
294 294
 
295 295
 	/* Banner TEST */
296 296
 
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 	}
305 305
 CSS;
306 306
 
307
-	return $css;
307
+     return $css;
308 308
 }
309 309
 add_filter( 'lsx_customizer_colour_selectors_banner', 'test_lsx_customizer_colour_selectors_banner', 10, 2 );
310 310
 
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
  * Add new selectors in "body" group of colours
315 315
  */
316 316
 function test_lsx_customizer_colour_selectors_body( $css, $colors ) {
317
-	$css .= <<<CSS
317
+     $css .= <<<CSS
318 318
 
319 319
 	/* Body TEST */
320 320
 
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
 	}
339 339
 CSS;
340 340
 
341
-	return $css;
341
+     return $css;
342 342
 }
343 343
 add_filter( 'lsx_customizer_colour_selectors_body', 'test_lsx_customizer_colour_selectors_body', 10, 2 );
344 344
 
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
  * Add new selectors in "footer cta" group of colours
349 349
  */
350 350
 function test_lsx_customizer_colour_selectors_footer_cta( $css, $colors ) {
351
-	$css .= <<<CSS
351
+     $css .= <<<CSS
352 352
 
353 353
 	/* Footer CTA TEST */
354 354
 
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
 	}
361 361
 CSS;
362 362
 
363
-	return $css;
363
+     return $css;
364 364
 }
365 365
 add_filter( 'lsx_customizer_colour_selectors_footer_cta', 'test_lsx_customizer_colour_selectors_footer_cta', 10, 2 );
366 366
 
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
  * Add new selectors in "footer widgets" group of colours
371 371
  */
372 372
 function test_lsx_customizer_colour_selectors_footer_widgets( $css, $colors ) {
373
-	$css .= <<<CSS
373
+     $css .= <<<CSS
374 374
 
375 375
 	/* Footer Widgets TEST */
376 376
 
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
 	}
383 383
 CSS;
384 384
 
385
-	return $css;
385
+     return $css;
386 386
 }
387 387
 add_filter( 'lsx_customizer_colour_selectors_footer_widgets', 'test_lsx_customizer_colour_selectors_footer_widgets', 10, 2 );
388 388
 
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
  * Add new selectors in "footer" group of colours
393 393
  */
394 394
 function test_lsx_customizer_colour_selectors_footer( $css, $colors ) {
395
-	$css .= <<<CSS
395
+     $css .= <<<CSS
396 396
 
397 397
 	/* Footer TEST */
398 398
 
@@ -404,6 +404,6 @@  discard block
 block discarded – undo
404 404
 	}
405 405
 CSS;
406 406
 
407
-	return $css;
407
+     return $css;
408 408
 }
409 409
 add_filter( 'lsx_customizer_colour_selectors_footer', 'test_lsx_customizer_colour_selectors_footer', 10, 2 );
Please login to merge, or discard this patch.
classes/class-lsx-customizer-wysiwyg-control.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -1,57 +1,57 @@
 block discarded – undo
1 1
 <?php
2 2
 if ( ! class_exists( 'LSX_Customizer_Wysiwyg_Control' ) ) {
3 3
 
4
-	/**
5
-	 * LSX Customizer Wysiwyg Control Class
6
-	 *
7
-	 * @package   LSX Customizer
8
-	 * @author    LightSpeed
9
-	 * @license   GPL3
10
-	 * @link
11
-	 * @copyright 2016 LightSpeed
12
-	 */
13
-	class LSX_Customizer_Wysiwyg_Control extends WP_Customize_Control {
14
-
15
-		public $type = 'wysiwyg';
16
-
17
-		/**
18
-		 * Render the control's content.
19
-		 *
20
-		 * @since 1.1.1
21
-		 */
22
-		public function render_content() {
23
-			?>
4
+     /**
5
+      * LSX Customizer Wysiwyg Control Class
6
+      *
7
+      * @package   LSX Customizer
8
+      * @author    LightSpeed
9
+      * @license   GPL3
10
+      * @link
11
+      * @copyright 2016 LightSpeed
12
+      */
13
+     class LSX_Customizer_Wysiwyg_Control extends WP_Customize_Control {
14
+
15
+          public $type = 'wysiwyg';
16
+
17
+          /**
18
+           * Render the control's content.
19
+           *
20
+           * @since 1.1.1
21
+           */
22
+          public function render_content() {
23
+               ?>
24 24
 			<label>
25 25
 				<?php if ( ! empty( $this->label ) ) { ?>
26 26
 					<span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
27 27
 				<?php } ?>
28 28
 				<?php
29
-					$settings = array(
30
-						'media_buttons' => false,
31
-						'teeny' => true,
32
-					);
33
-
34
-					$this->filter_editor_setting_link();
35
-					wp_editor( $this->value(), $this->id, $settings );
36
-				?>
29
+                         $settings = array(
30
+                              'media_buttons' => false,
31
+                              'teeny' => true,
32
+                         );
33
+
34
+                         $this->filter_editor_setting_link();
35
+                         wp_editor( $this->value(), $this->id, $settings );
36
+                    ?>
37 37
 			</label>
38 38
 			<?php
39
-			do_action( 'admin_footer' );
40
-			do_action( 'admin_print_footer_scripts' );
41
-		}
42
-
43
-		/**
44
-		 * Filter editor setting link.
45
-		 *
46
-		 * @since 1.1.1
47
-		 */
48
-		private function filter_editor_setting_link() {
49
-			add_filter( 'the_editor', function( $output ) {
50
-				return preg_replace( '/<textarea/', '<textarea ' . $this->get_link(), $output, 1 );
51
-			} );
52
-		}
53
-
54
-	}
39
+               do_action( 'admin_footer' );
40
+               do_action( 'admin_print_footer_scripts' );
41
+          }
42
+
43
+          /**
44
+           * Filter editor setting link.
45
+           *
46
+           * @since 1.1.1
47
+           */
48
+          private function filter_editor_setting_link() {
49
+               add_filter( 'the_editor', function( $output ) {
50
+                    return preg_replace( '/<textarea/', '<textarea ' . $this->get_link(), $output, 1 );
51
+               } );
52
+          }
53
+
54
+     }
55 55
 
56 56
 }
57 57
 
Please login to merge, or discard this patch.
classes/class-lsx-customizer-core.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -1,53 +1,53 @@
 block discarded – undo
1 1
 <?php
2 2
 if ( ! class_exists( 'LSX_Customizer_Core' ) ) {
3 3
 
4
-	/**
5
-	 * LSX Customizer Core Class
6
-	 *
7
-	 * @package   LSX Customizer
8
-	 * @author    LightSpeed
9
-	 * @license   GPL3
10
-	 * @link
11
-	 * @copyright 2016 LightSpeed
12
-	 */
13
-	class LSX_Customizer_Core extends LSX_Customizer {
4
+     /**
5
+      * LSX Customizer Core Class
6
+      *
7
+      * @package   LSX Customizer
8
+      * @author    LightSpeed
9
+      * @license   GPL3
10
+      * @link
11
+      * @copyright 2016 LightSpeed
12
+      */
13
+     class LSX_Customizer_Core extends LSX_Customizer {
14 14
 
15
-		/**
16
-		 * Constructor.
17
-		 *
18
-		 * @since 1.0.0
19
-		 */
20
-		public function __construct() {
21
-			add_action( 'customize_register', array( $this, 'customize_register' ), 20 );
22
-		}
15
+          /**
16
+           * Constructor.
17
+           *
18
+           * @since 1.0.0
19
+           */
20
+          public function __construct() {
21
+               add_action( 'customize_register', array( $this, 'customize_register' ), 20 );
22
+          }
23 23
 
24
-		/**
25
-		 * Customizer Controls and Settings.
26
-		 *
27
-		 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
28
-		 * @since 1.0.0
29
-		 */
30
-		public function customize_register( $wp_customize ) {
31
-			/**
32
-			 * Core section: Theme Credit
33
-			 */
34
-			$wp_customize->add_setting( 'lsx_theme_credit_status', array(
35
-				'default'           => true,
36
-				'sanitize_callback' => array( $this, 'sanitize_checkbox' ),
37
-			) );
24
+          /**
25
+           * Customizer Controls and Settings.
26
+           *
27
+           * @param WP_Customize_Manager $wp_customize Theme Customizer object.
28
+           * @since 1.0.0
29
+           */
30
+          public function customize_register( $wp_customize ) {
31
+               /**
32
+                * Core section: Theme Credit
33
+                */
34
+               $wp_customize->add_setting( 'lsx_theme_credit_status', array(
35
+                    'default'           => true,
36
+                    'sanitize_callback' => array( $this, 'sanitize_checkbox' ),
37
+               ) );
38 38
 
39
-			$wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lsx_theme_credit_status', array(
40
-				'label'         => esc_html__( 'Theme Credit', 'lsx-customizer' ),
41
-				// 'description'   => esc_html__( 'Displays theme credit in footer.', 'lsx-customizer' ),
42
-				'section'       => 'lsx-layout',
43
-				'settings'      => 'lsx_theme_credit_status',
44
-				'type'          => 'checkbox',
45
-				'priority'      => 10,
46
-			) ) );
47
-		}
39
+               $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'lsx_theme_credit_status', array(
40
+                    'label'         => esc_html__( 'Theme Credit', 'lsx-customizer' ),
41
+                    // 'description'   => esc_html__( 'Displays theme credit in footer.', 'lsx-customizer' ),
42
+                    'section'       => 'lsx-layout',
43
+                    'settings'      => 'lsx_theme_credit_status',
44
+                    'type'          => 'checkbox',
45
+                    'priority'      => 10,
46
+               ) ) );
47
+          }
48 48
 
49
-	}
49
+     }
50 50
 
51
-	new LSX_Customizer_Core();
51
+     new LSX_Customizer_Core();
52 52
 
53 53
 }
Please login to merge, or discard this patch.
classes/class-lsx-customizer-colour-banner.php 1 patch
Indentation   +106 added lines, -106 removed lines patch added patch discarded remove patch
@@ -1,107 +1,107 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 if ( ! class_exists( 'LSX_Customizer_Colour_Banner' ) ) {
3 3
 
4
-	/**
5
-	 * LSX Customizer Colour Banner Class
6
-	 *
7
-	 * @package   LSX Customizer
8
-	 * @author    LightSpeed
9
-	 * @license   GPL3
10
-	 * @link
11
-	 * @copyright 2016 LightSpeed
12
-	 */
13
-	class LSX_Customizer_Colour_Banner extends LSX_Customizer_Colour {
14
-
15
-		/**
16
-		 * Constructor.
17
-		 *
18
-		 * @since 1.0.0
19
-		 */
20
-		public function __construct() {
21
-			add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
-			add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
-
24
-			add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
-		}
26
-
27
-		/**
28
-		 * Assign CSS to theme mod.
29
-		 *
30
-		 * @since 1.0.0
31
-		 */
32
-		public function set_theme_mod() {
33
-			$theme_mods = $this->get_theme_mods();
34
-			$styles     = $this->get_css( $theme_mods );
35
-
36
-			set_theme_mod( 'lsx_customizer_colour__banner_theme_mod', $styles );
37
-		}
38
-
39
-		/**
40
-		 * Enqueues front-end CSS.
41
-		 *
42
-		 * @since 1.0.0
43
-		 */
44
-		public function enqueue_css() {
45
-			$styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__banner_theme_mod' );
46
-
47
-			if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
-				$theme_mods = $this->get_theme_mods();
49
-				$styles     = $this->get_css( $theme_mods );
50
-
51
-				if ( false === $styles_from_theme_mod ) {
52
-					set_theme_mod( 'lsx_customizer_colour__banner_theme_mod', $styles );
53
-				}
54
-			} else {
55
-				$styles = $styles_from_theme_mod;
56
-			}
57
-
58
-			wp_add_inline_style( 'lsx-customizer', $styles );
59
-		}
60
-
61
-		/**
62
-		 * Get CSS theme mods.
63
-		 *
64
-		 * @since 1.0.0
65
-		 */
66
-		public function get_theme_mods() {
67
-			$colors = parent::get_color_scheme();
68
-
69
-			return apply_filters( 'lsx_customizer_colours_banner', array(
70
-				'banner_background_color'               => get_theme_mod( 'banner_background_color',               $colors['banner_background_color'] ),
71
-				'banner_text_color'                     => get_theme_mod( 'banner_text_color',                     $colors['banner_text_color'] ),
72
-				'banner_text_image_color'               => get_theme_mod( 'banner_text_image_color',               $colors['banner_text_image_color'] ),
73
-				'banner_breadcrumb_background_color'    => get_theme_mod( 'banner_breadcrumb_background_color',    $colors['banner_breadcrumb_background_color'] ),
74
-				'banner_breadcrumb_text_color'          => get_theme_mod( 'banner_breadcrumb_text_color',          $colors['banner_breadcrumb_text_color'] ),
75
-				'banner_breadcrumb_text_selected_color' => get_theme_mod( 'banner_breadcrumb_text_selected_color', $colors['banner_breadcrumb_text_selected_color'] ),
76
-			) );
77
-		}
78
-
79
-		/**
80
-		 * Returns CSS.
81
-		 *
82
-		 * @since 1.0.0
83
-		 */
84
-		function get_css( $colors ) {
85
-			global $customizer_colour_names;
86
-
87
-			$colors_template = array();
88
-
89
-			foreach ( $customizer_colour_names as $key => $value ) {
90
-				$colors_template[ $key ] = '';
91
-			}
92
-
93
-			$colors = wp_parse_args( $colors, $colors_template );
94
-
95
-			if ( empty( $colors['banner_background_color'] )
96
-				|| empty( $colors['banner_text_color'] )
97
-				|| empty( $colors['banner_text_image_color'] )
98
-				|| empty( $colors['banner_breadcrumb_background_color'] )
99
-				|| empty( $colors['banner_breadcrumb_text_color'] )
100
-				|| empty( $colors['banner_breadcrumb_text_selected_color'] ) ) {
101
-				return '';
102
-			}
103
-
104
-			$css = '
4
+     /**
5
+      * LSX Customizer Colour Banner Class
6
+      *
7
+      * @package   LSX Customizer
8
+      * @author    LightSpeed
9
+      * @license   GPL3
10
+      * @link
11
+      * @copyright 2016 LightSpeed
12
+      */
13
+     class LSX_Customizer_Colour_Banner extends LSX_Customizer_Colour {
14
+
15
+          /**
16
+           * Constructor.
17
+           *
18
+           * @since 1.0.0
19
+           */
20
+          public function __construct() {
21
+               add_action( 'after_switch_theme',   array( $this, 'set_theme_mod' ) );
22
+               add_action( 'customize_save_after', array( $this, 'set_theme_mod' ) );
23
+
24
+               add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ), 2999 );
25
+          }
26
+
27
+          /**
28
+           * Assign CSS to theme mod.
29
+           *
30
+           * @since 1.0.0
31
+           */
32
+          public function set_theme_mod() {
33
+               $theme_mods = $this->get_theme_mods();
34
+               $styles     = $this->get_css( $theme_mods );
35
+
36
+               set_theme_mod( 'lsx_customizer_colour__banner_theme_mod', $styles );
37
+          }
38
+
39
+          /**
40
+           * Enqueues front-end CSS.
41
+           *
42
+           * @since 1.0.0
43
+           */
44
+          public function enqueue_css() {
45
+               $styles_from_theme_mod = get_theme_mod( 'lsx_customizer_colour__banner_theme_mod' );
46
+
47
+               if ( is_customize_preview() || false === $styles_from_theme_mod ) {
48
+                    $theme_mods = $this->get_theme_mods();
49
+                    $styles     = $this->get_css( $theme_mods );
50
+
51
+                    if ( false === $styles_from_theme_mod ) {
52
+                         set_theme_mod( 'lsx_customizer_colour__banner_theme_mod', $styles );
53
+                    }
54
+               } else {
55
+                    $styles = $styles_from_theme_mod;
56
+               }
57
+
58
+               wp_add_inline_style( 'lsx-customizer', $styles );
59
+          }
60
+
61
+          /**
62
+           * Get CSS theme mods.
63
+           *
64
+           * @since 1.0.0
65
+           */
66
+          public function get_theme_mods() {
67
+               $colors = parent::get_color_scheme();
68
+
69
+               return apply_filters( 'lsx_customizer_colours_banner', array(
70
+                    'banner_background_color'               => get_theme_mod( 'banner_background_color',               $colors['banner_background_color'] ),
71
+                    'banner_text_color'                     => get_theme_mod( 'banner_text_color',                     $colors['banner_text_color'] ),
72
+                    'banner_text_image_color'               => get_theme_mod( 'banner_text_image_color',               $colors['banner_text_image_color'] ),
73
+                    'banner_breadcrumb_background_color'    => get_theme_mod( 'banner_breadcrumb_background_color',    $colors['banner_breadcrumb_background_color'] ),
74
+                    'banner_breadcrumb_text_color'          => get_theme_mod( 'banner_breadcrumb_text_color',          $colors['banner_breadcrumb_text_color'] ),
75
+                    'banner_breadcrumb_text_selected_color' => get_theme_mod( 'banner_breadcrumb_text_selected_color', $colors['banner_breadcrumb_text_selected_color'] ),
76
+               ) );
77
+          }
78
+
79
+          /**
80
+           * Returns CSS.
81
+           *
82
+           * @since 1.0.0
83
+           */
84
+          function get_css( $colors ) {
85
+               global $customizer_colour_names;
86
+
87
+               $colors_template = array();
88
+
89
+               foreach ( $customizer_colour_names as $key => $value ) {
90
+                    $colors_template[ $key ] = '';
91
+               }
92
+
93
+               $colors = wp_parse_args( $colors, $colors_template );
94
+
95
+               if ( empty( $colors['banner_background_color'] )
96
+                    || empty( $colors['banner_text_color'] )
97
+                    || empty( $colors['banner_text_image_color'] )
98
+                    || empty( $colors['banner_breadcrumb_background_color'] )
99
+                    || empty( $colors['banner_breadcrumb_text_color'] )
100
+                    || empty( $colors['banner_breadcrumb_text_selected_color'] ) ) {
101
+                    return '';
102
+               }
103
+
104
+               $css = '
105 105
 				@import "' . get_template_directory() . '/assets/css/scss/global/mixins/banner";
106 106
 
107 107
 				/**
@@ -126,12 +126,12 @@  discard block
 block discarded – undo
126 126
 				}
127 127
 			';
128 128
 
129
-			$css = apply_filters( 'lsx_customizer_colour_selectors_banner', $css, $colors );
130
-			$css = parent::scss_to_css( $css );
129
+               $css = apply_filters( 'lsx_customizer_colour_selectors_banner', $css, $colors );
130
+               $css = parent::scss_to_css( $css );
131 131
 
132
-			return $css;
133
-		}
132
+               return $css;
133
+          }
134 134
 
135
-	}
135
+     }
136 136
 
137 137
 }
Please login to merge, or discard this patch.
includes/lsx-customizer-colour-options.php 1 patch
Indentation   +529 added lines, -529 removed lines patch added patch discarded remove patch
@@ -13,536 +13,536 @@
 block discarded – undo
13 13
 global $customizer_colour_choices;
14 14
 
15 15
 $customizer_colour_names = apply_filters( 'lsx_customizer_colour_names', array(
16
-	'button_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
17
-	'button_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
18
-	'button_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
19
-	'button_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
20
-	'button_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
21
-
22
-	'button_cta_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
23
-	'button_cta_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
24
-	'button_cta_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
25
-	'button_cta_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
26
-	'button_cta_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
27
-
28
-	'button_secondary_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
29
-	'button_secondary_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
30
-	'button_secondary_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
31
-	'button_secondary_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
32
-	'button_secondary_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
33
-
34
-	'button_tertiary_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
35
-	'button_tertiary_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
36
-	'button_tertiary_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
37
-	'button_tertiary_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
38
-	'button_tertiary_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
39
-
40
-	'top_menu_background_color'          => esc_html__( 'Background', 'lsx-customizer' ),
41
-	'top_menu_link_color'                => esc_html__( 'Link', 'lsx-customizer' ),
42
-	'top_menu_link_hover_color'          => esc_html__( 'Link (hover)', 'lsx-customizer' ),
43
-	'top_menu_icon_color'                => esc_html__( 'Icon', 'lsx-customizer' ),
44
-	'top_menu_icon_hover_color'          => esc_html__( 'Icon (hover)', 'lsx-customizer' ),
45
-	'top_menu_dropdown_color'            => esc_html__( 'Dropdown', 'lsx-customizer' ),
46
-	'top_menu_dropdown_hover_color'      => esc_html__( 'Dropdown (hover)', 'lsx-customizer' ),
47
-	'top_menu_dropdown_link_color'       => esc_html__( 'Dropdown link', 'lsx-customizer' ),
48
-	'top_menu_dropdown_link_hover_color' => esc_html__( 'Dropdown link (hover)', 'lsx-customizer' ),
49
-
50
-	'header_background_color'  => esc_html__( 'Background', 'lsx-customizer' ),
51
-	'header_link_color'        => esc_html__( 'Link', 'lsx-customizer' ),
52
-	'header_link_hover_color'  => esc_html__( 'Link (hover)', 'lsx-customizer' ),
53
-	'header_description_color' => esc_html__( 'Description', 'lsx-customizer' ),
54
-
55
-	'main_menu_background_color'                => esc_html__( 'Background', 'lsx-customizer' ),
56
-	'main_menu_link_color'                      => esc_html__( 'Link', 'lsx-customizer' ),
57
-	'main_menu_link_hover_color'                => esc_html__( 'Link (hover)', 'lsx-customizer' ),
58
-	'main_menu_dropdown_background_color'       => esc_html__( 'Dropdown', 'lsx-customizer' ),
59
-	'main_menu_dropdown_background_hover_color' => esc_html__( 'Dropdown (hover)', 'lsx-customizer' ),
60
-	'main_menu_dropdown_link_color'             => esc_html__( 'Dropdown link', 'lsx-customizer' ),
61
-	'main_menu_dropdown_link_hover_color'       => esc_html__( 'Dropdown link (hover)', 'lsx-customizer' ),
62
-
63
-	'banner_background_color'               => esc_html__( 'Background', 'lsx-customizer' ),
64
-	'banner_text_color'                     => esc_html__( 'Text', 'lsx-customizer' ),
65
-	'banner_text_image_color'               => esc_html__( 'Text (over image)', 'lsx-customizer' ),
66
-	'banner_breadcrumb_background_color'    => esc_html__( 'Breadcrumb Background', 'lsx-customizer' ),
67
-	'banner_breadcrumb_text_color'          => esc_html__( 'Breadcrumb Text', 'lsx-customizer' ),
68
-	'banner_breadcrumb_text_selected_color' => esc_html__( 'Breadcrumb Text (selected)', 'lsx-customizer' ),
69
-
70
-	'background_color'                       => esc_html__( 'Background', 'lsx-customizer' ),
71
-	'body_line_color'                        => esc_html__( 'Line', 'lsx-customizer' ),
72
-	'body_text_heading_color'                => esc_html__( 'Text (heading)', 'lsx-customizer' ),
73
-	'body_text_small_color'                  => esc_html__( 'Text (small)', 'lsx-customizer' ),
74
-	'body_text_color'                        => esc_html__( 'Text', 'lsx-customizer' ),
75
-	'body_link_color'                        => esc_html__( 'Link', 'lsx-customizer' ),
76
-	'body_link_hover_color'                  => esc_html__( 'Link (hover)', 'lsx-customizer' ),
77
-	'body_section_full_background_color'     => esc_html__( 'Section full (background)', 'lsx-customizer' ),
78
-	'body_section_full_text_color'           => esc_html__( 'Section full (text)', 'lsx-customizer' ),
79
-	'body_section_full_link_color'           => esc_html__( 'Section full (link)', 'lsx-customizer' ),
80
-	'body_section_full_link_hover_color'     => esc_html__( 'Section full (link hover)', 'lsx-customizer' ),
81
-	'body_section_full_cta_background_color' => esc_html__( 'Section full CTA (background)', 'lsx-customizer' ),
82
-	'body_section_full_cta_text_color'       => esc_html__( 'Section full CTA (text)', 'lsx-customizer' ),
83
-	'body_section_full_cta_link_color'       => esc_html__( 'Section full CTA (link)', 'lsx-customizer' ),
84
-	'body_section_full_cta_link_hover_color' => esc_html__( 'Section full CTA (link hover)', 'lsx-customizer' ),
85
-
86
-	'footer_cta_background_color' => esc_html__( 'Background', 'lsx-customizer' ),
87
-	'footer_cta_text_color'       => esc_html__( 'Text', 'lsx-customizer' ),
88
-	'footer_cta_link_color'       => esc_html__( 'Link', 'lsx-customizer' ),
89
-	'footer_cta_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ),
90
-
91
-	'footer_widgets_background_color' => esc_html__( 'Background', 'lsx-customizer' ),
92
-	'footer_widgets_text_color'       => esc_html__( 'Text', 'lsx-customizer' ),
93
-	'footer_widgets_link_color'       => esc_html__( 'Link', 'lsx-customizer' ),
94
-	'footer_widgets_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ),
95
-
96
-	'footer_background_color' => esc_html__( 'Background', 'lsx-customizer' ),
97
-	'footer_text_color'       => esc_html__( 'Text', 'lsx-customizer' ),
98
-	'footer_link_color'       => esc_html__( 'Link', 'lsx-customizer' ),
99
-	'footer_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ),
16
+     'button_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
17
+     'button_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
18
+     'button_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
19
+     'button_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
20
+     'button_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
21
+
22
+     'button_cta_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
23
+     'button_cta_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
24
+     'button_cta_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
25
+     'button_cta_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
26
+     'button_cta_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
27
+
28
+     'button_secondary_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
29
+     'button_secondary_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
30
+     'button_secondary_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
31
+     'button_secondary_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
32
+     'button_secondary_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
33
+
34
+     'button_tertiary_background_color'       => esc_html__( 'Background', 'lsx-customizer' ),
35
+     'button_tertiary_background_hover_color' => esc_html__( 'Background (hover)', 'lsx-customizer' ),
36
+     'button_tertiary_text_color'             => esc_html__( 'Text', 'lsx-customizer' ),
37
+     'button_tertiary_text_color_hover'       => esc_html__( 'Text (hover)', 'lsx-customizer' ),
38
+     'button_tertiary_shadow'                 => esc_html__( 'Shadow', 'lsx-customizer' ),
39
+
40
+     'top_menu_background_color'          => esc_html__( 'Background', 'lsx-customizer' ),
41
+     'top_menu_link_color'                => esc_html__( 'Link', 'lsx-customizer' ),
42
+     'top_menu_link_hover_color'          => esc_html__( 'Link (hover)', 'lsx-customizer' ),
43
+     'top_menu_icon_color'                => esc_html__( 'Icon', 'lsx-customizer' ),
44
+     'top_menu_icon_hover_color'          => esc_html__( 'Icon (hover)', 'lsx-customizer' ),
45
+     'top_menu_dropdown_color'            => esc_html__( 'Dropdown', 'lsx-customizer' ),
46
+     'top_menu_dropdown_hover_color'      => esc_html__( 'Dropdown (hover)', 'lsx-customizer' ),
47
+     'top_menu_dropdown_link_color'       => esc_html__( 'Dropdown link', 'lsx-customizer' ),
48
+     'top_menu_dropdown_link_hover_color' => esc_html__( 'Dropdown link (hover)', 'lsx-customizer' ),
49
+
50
+     'header_background_color'  => esc_html__( 'Background', 'lsx-customizer' ),
51
+     'header_link_color'        => esc_html__( 'Link', 'lsx-customizer' ),
52
+     'header_link_hover_color'  => esc_html__( 'Link (hover)', 'lsx-customizer' ),
53
+     'header_description_color' => esc_html__( 'Description', 'lsx-customizer' ),
54
+
55
+     'main_menu_background_color'                => esc_html__( 'Background', 'lsx-customizer' ),
56
+     'main_menu_link_color'                      => esc_html__( 'Link', 'lsx-customizer' ),
57
+     'main_menu_link_hover_color'                => esc_html__( 'Link (hover)', 'lsx-customizer' ),
58
+     'main_menu_dropdown_background_color'       => esc_html__( 'Dropdown', 'lsx-customizer' ),
59
+     'main_menu_dropdown_background_hover_color' => esc_html__( 'Dropdown (hover)', 'lsx-customizer' ),
60
+     'main_menu_dropdown_link_color'             => esc_html__( 'Dropdown link', 'lsx-customizer' ),
61
+     'main_menu_dropdown_link_hover_color'       => esc_html__( 'Dropdown link (hover)', 'lsx-customizer' ),
62
+
63
+     'banner_background_color'               => esc_html__( 'Background', 'lsx-customizer' ),
64
+     'banner_text_color'                     => esc_html__( 'Text', 'lsx-customizer' ),
65
+     'banner_text_image_color'               => esc_html__( 'Text (over image)', 'lsx-customizer' ),
66
+     'banner_breadcrumb_background_color'    => esc_html__( 'Breadcrumb Background', 'lsx-customizer' ),
67
+     'banner_breadcrumb_text_color'          => esc_html__( 'Breadcrumb Text', 'lsx-customizer' ),
68
+     'banner_breadcrumb_text_selected_color' => esc_html__( 'Breadcrumb Text (selected)', 'lsx-customizer' ),
69
+
70
+     'background_color'                       => esc_html__( 'Background', 'lsx-customizer' ),
71
+     'body_line_color'                        => esc_html__( 'Line', 'lsx-customizer' ),
72
+     'body_text_heading_color'                => esc_html__( 'Text (heading)', 'lsx-customizer' ),
73
+     'body_text_small_color'                  => esc_html__( 'Text (small)', 'lsx-customizer' ),
74
+     'body_text_color'                        => esc_html__( 'Text', 'lsx-customizer' ),
75
+     'body_link_color'                        => esc_html__( 'Link', 'lsx-customizer' ),
76
+     'body_link_hover_color'                  => esc_html__( 'Link (hover)', 'lsx-customizer' ),
77
+     'body_section_full_background_color'     => esc_html__( 'Section full (background)', 'lsx-customizer' ),
78
+     'body_section_full_text_color'           => esc_html__( 'Section full (text)', 'lsx-customizer' ),
79
+     'body_section_full_link_color'           => esc_html__( 'Section full (link)', 'lsx-customizer' ),
80
+     'body_section_full_link_hover_color'     => esc_html__( 'Section full (link hover)', 'lsx-customizer' ),
81
+     'body_section_full_cta_background_color' => esc_html__( 'Section full CTA (background)', 'lsx-customizer' ),
82
+     'body_section_full_cta_text_color'       => esc_html__( 'Section full CTA (text)', 'lsx-customizer' ),
83
+     'body_section_full_cta_link_color'       => esc_html__( 'Section full CTA (link)', 'lsx-customizer' ),
84
+     'body_section_full_cta_link_hover_color' => esc_html__( 'Section full CTA (link hover)', 'lsx-customizer' ),
85
+
86
+     'footer_cta_background_color' => esc_html__( 'Background', 'lsx-customizer' ),
87
+     'footer_cta_text_color'       => esc_html__( 'Text', 'lsx-customizer' ),
88
+     'footer_cta_link_color'       => esc_html__( 'Link', 'lsx-customizer' ),
89
+     'footer_cta_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ),
90
+
91
+     'footer_widgets_background_color' => esc_html__( 'Background', 'lsx-customizer' ),
92
+     'footer_widgets_text_color'       => esc_html__( 'Text', 'lsx-customizer' ),
93
+     'footer_widgets_link_color'       => esc_html__( 'Link', 'lsx-customizer' ),
94
+     'footer_widgets_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ),
95
+
96
+     'footer_background_color' => esc_html__( 'Background', 'lsx-customizer' ),
97
+     'footer_text_color'       => esc_html__( 'Text', 'lsx-customizer' ),
98
+     'footer_link_color'       => esc_html__( 'Link', 'lsx-customizer' ),
99
+     'footer_link_hover_color' => esc_html__( 'Link (hover)', 'lsx-customizer' ),
100 100
 ) );
101 101
 
102 102
 $customizer_colour_choices = apply_filters( 'lsx_customizer_colour_choices', array(
103
-	'default' => array(
104
-		'label'  => __( 'Default', 'lsx-customizer' ),
105
-		'colors' => apply_filters( 'lsx_customizer_colour_choices_default', array(
106
-			'button_background_color'       => '#418AD0',
107
-			'button_background_hover_color' => '#367DC0',
108
-			'button_text_color'             => '#FFFFFF',
109
-			'button_text_color_hover'       => '#FFFFFF',
110
-			'button_shadow'                 => '#27639E',
111
-
112
-			'button_cta_background_color'       => '#F7AE00',
113
-			'button_cta_background_hover_color' => '#EDA700',
114
-			'button_cta_text_color'             => '#FFFFFF',
115
-			'button_cta_text_color_hover'       => '#FFFFFF',
116
-			'button_cta_shadow'                 => '#AB7800',
117
-
118
-			'button_secondary_background_color'       => '#EAEAEA',
119
-			'button_secondary_background_hover_color' => '#CCCCCC',
120
-			'button_secondary_text_color'             => '#4A4A4A',
121
-			'button_secondary_text_color_hover'       => '#4A4A4A',
122
-			'button_secondary_shadow'                 => '#C4C4C4',
123
-
124
-			'button_tertiary_background_color'       => '#6BA913',
125
-			'button_tertiary_background_hover_color' => '#649E12',
126
-			'button_tertiary_text_color'             => '#FFFFFF',
127
-			'button_tertiary_text_color_hover'       => '#FFFFFF',
128
-			'button_tertiary_shadow'                 => '#3F640B',
129
-
130
-			'top_menu_background_color'          => '#333333',
131
-			'top_menu_link_color'                => '#FFFFFF',
132
-			'top_menu_link_hover_color'          => '#D93A3A',
133
-			'top_menu_icon_color'                => '#D93A3A',
134
-			'top_menu_icon_hover_color'          => '#D93A3A',
135
-			'top_menu_dropdown_color'            => '#333333',
136
-			'top_menu_dropdown_hover_color'      => '#333333',
137
-			'top_menu_dropdown_link_color'       => '#FFFFFF',
138
-			'top_menu_dropdown_link_hover_color' => '#D93A3A',
139
-
140
-			'header_background_color'  => '#FFFFFF',
141
-			'header_link_color'        => '#D84E2E',
142
-			'header_link_hover_color'  => '#F7AE00',
143
-			'header_description_color' => '#434343',
144
-
145
-			'main_menu_background_color'                => '#FFFFFF',
146
-			'main_menu_link_color'                      => '#515151',
147
-			'main_menu_link_hover_color'                => '#418AD0',
148
-			'main_menu_dropdown_background_color'       => '#374750',
149
-			'main_menu_dropdown_background_hover_color' => '#2B3840',
150
-			'main_menu_dropdown_link_color'             => '#FFFFFF',
151
-			'main_menu_dropdown_link_hover_color'       => '#418AD0',
152
-
153
-			'banner_background_color'               => '#2B3840',
154
-			'banner_text_color'                     => '#FFFFFF',
155
-			'banner_text_image_color'               => '#FFFFFF',
156
-			'banner_breadcrumb_background_color'    => '#374750',
157
-			'banner_breadcrumb_text_color'          => '#919191',
158
-			'banner_breadcrumb_text_selected_color' => '#FFFFFF',
159
-
160
-			'background_color'                       => '#F6F6F6',
161
-			'body_line_color'                        => '#DADDDF',
162
-			'body_text_heading_color'                => '#4A4A4A',
163
-			'body_text_small_color'                  => '#919191',
164
-			'body_text_color'                        => '#4A4A4A',
165
-			'body_link_color'                        => '#418AD0',
166
-			'body_link_hover_color'                  => '#F7AE00',
167
-			'body_section_full_background_color'     => '#FFFFFF',
168
-			'body_section_full_text_color'           => '#4A4A4A',
169
-			'body_section_full_link_color'           => '#418AD0',
170
-			'body_section_full_link_hover_color'     => '#F7AE00',
171
-			'body_section_full_cta_background_color' => '#418AD0',
172
-			'body_section_full_cta_text_color'       => '#FFFFFF',
173
-			'body_section_full_cta_link_color'       => '#374750',
174
-			'body_section_full_cta_link_hover_color' => '#F7AE00',
175
-
176
-			'footer_cta_background_color' => '#2B3840',
177
-			'footer_cta_text_color'       => '#FFFFFF',
178
-			'footer_cta_link_color'       => '#418AD0',
179
-			'footer_cta_link_hover_color' => '#367DC0',
180
-
181
-			'footer_widgets_background_color' => '#374750',
182
-			'footer_widgets_text_color'       => '#FFFFFF',
183
-			'footer_widgets_link_color'       => '#FFFFFF',
184
-			'footer_widgets_link_hover_color' => '#F7AE00',
185
-
186
-			'footer_background_color' => '#2B3840',
187
-			'footer_text_color'       => '#ffffff',
188
-			'footer_link_color'       => '#F7AE00',
189
-			'footer_link_hover_color' => '#CE9100',
190
-		) ),
191
-	),
192
-	// 'red' => array(
193
-	// 	'label'  => __( 'Red', 'lsx-customizer' ),
194
-	// 	'colors' => apply_filters( 'lsx_customizer_colour_choices_red', array(
195
-	// 		'button_background_color'       => '#b64d3f',
196
-	// 		'button_background_hover_color' => '#87291c',
197
-	// 		'button_text_color'             => '#ffffff',
198
-	// 		'button_text_color_hover'       => '#ffffff',
199
-	// 		'button_shadow'                 => '#87291c',
200
-
201
-	// 		'button_cta_background_color'       => '#f7941d',
202
-	// 		'button_cta_background_hover_color' => '#f7741d',
203
-	// 		'button_cta_text_color'             => '#ffffff',
204
-	// 		'button_cta_text_color_hover'       => '#ffffff',
205
-	// 		'button_cta_shadow'                 => '#f7741d',
206
-
207
-	// 		'button_secondary_background_color'       => '#EAEAEA',
208
-	// 		'button_secondary_background_hover_color' => '#CCCCCC',
209
-	// 		'button_secondary_text_color'             => '#4A4A4A',
210
-	// 		'button_secondary_text_color_hover'       => '#4A4A4A',
211
-	// 		'button_secondary_shadow'                 => '#C4C4C4',
212
-
213
-	// 		'button_tertiary_background_color'       => '#6BA913',
214
-	// 		'button_tertiary_background_hover_color' => '#649E12',
215
-	// 		'button_tertiary_text_color'             => '#FFFFFF',
216
-	// 		'button_tertiary_text_color_hover'       => '#FFFFFF',
217
-	// 		'button_tertiary_shadow'                 => '#3F640B',
218
-
219
-	// 		'top_menu_background_color'          => '#333333',
220
-	// 		'top_menu_link_color'                => '#ffffff',
221
-	// 		'top_menu_link_hover_color'          => '#eaa520',
222
-	// 		'top_menu_icon_color'                => '#eaa520',
223
-	// 		'top_menu_icon_hover_color'          => '#ffffff',
224
-	// 		'top_menu_dropdown_color'            => '#333333',
225
-	// 		'top_menu_dropdown_hover_color'      => '#444444',
226
-	// 		'top_menu_dropdown_link_color'       => '#ffffff',
227
-	// 		'top_menu_dropdown_link_hover_color' => '#eaa520',
228
-
229
-	// 		'header_background_color'  => '#ffffff',
230
-	// 		'header_link_color'        => '#b64d3f',
231
-	// 		'header_link_hover_color'  => '#87291c',
232
-	// 		'header_description_color' => '#555555',
233
-
234
-	// 		'main_menu_background_color'                => '#ffffff',
235
-	// 		'main_menu_link_color'                      => '#555555',
236
-	// 		'main_menu_link_hover_color'                => '#ffffff',
237
-	// 		'main_menu_dropdown_background_color'       => '#b64d3f',
238
-	// 		'main_menu_dropdown_background_hover_color' => '#b64d3f',
239
-	// 		'main_menu_dropdown_link_color'             => '#ffffff',
240
-	// 		'main_menu_dropdown_link_hover_color'       => '#dddddd',
241
-
242
-	// 		'banner_background_color'               => '#87291c',
243
-	// 		'banner_text_color'                     => '#ffffff',
244
-	// 		'banner_text_image_color'               => '#ffffff',
245
-	// 		'banner_breadcrumb_background_color'    => '#374750',
246
-	// 		'banner_breadcrumb_text_color'          => '#919191',
247
-	// 		'banner_breadcrumb_text_selected_color' => '#ffffff',
248
-
249
-	// 		'background_color'                       => '#ffffff',
250
-	// 		'body_line_color'                        => '#dddddd',
251
-	// 		'body_text_heading_color'                => '#333333',
252
-	// 		'body_text_small_color'                  => '#919191',
253
-	// 		'body_text_color'                        => '#333333',
254
-	// 		'body_link_color'                        => '#b64d3f',
255
-	// 		'body_link_hover_color'                  => '#87291c',
256
-	// 		'body_section_full_background_color'     => '#b64d3f',
257
-	// 		'body_section_full_text_color'           => '#ffffff',
258
-	// 		'body_section_full_link_color'           => '#eeeeee',
259
-	// 		'body_section_full_link_hover_color'     => '#dddddd',
260
-	// 		'body_section_full_cta_background_color' => '#333333',
261
-	// 		'body_section_full_cta_text_color'       => '#ffffff',
262
-	// 		'body_section_full_cta_link_color'       => '#eeeeee',
263
-	// 		'body_section_full_cta_link_hover_color' => '#dddddd',
264
-
265
-	// 		'footer_cta_background_color' => '#b64d3f',
266
-	// 		'footer_cta_text_color'       => '#ffffff',
267
-	// 		'footer_cta_link_color'       => '#ffffff',
268
-	// 		'footer_cta_link_hover_color' => '#eeeeee',
269
-
270
-	// 		'footer_widgets_background_color' => '#333333',
271
-	// 		'footer_widgets_text_color'       => '#ffffff',
272
-	// 		'footer_widgets_link_color'       => '#b64d3f',
273
-	// 		'footer_widgets_link_hover_color' => '#969696',
274
-
275
-	// 		'footer_background_color' => '#232222',
276
-	// 		'footer_text_color'       => '#ffffff',
277
-	// 		'footer_link_color'       => '#b64d3f',
278
-	// 		'footer_link_hover_color' => '#969696',
279
-	// 	) ),
280
-	// ),
281
-	// 'orange' => array(
282
-	// 	'label'  => __( 'Orange', 'lsx-customizer' ),
283
-	// 	'colors' => apply_filters( 'lsx_customizer_colour_choices_orange', array(
284
-	// 		'button_background_color'       => '#fbaf3f',
285
-	// 		'button_background_hover_color' => '#e49435',
286
-	// 		'button_text_color'             => '#260e03',
287
-	// 		'button_text_color_hover'       => '#260e03',
288
-	// 		'button_shadow'                 => '#e49435',
289
-
290
-	// 		'button_cta_background_color'       => '#f7941d',
291
-	// 		'button_cta_background_hover_color' => '#f7741d',
292
-	// 		'button_cta_text_color'             => '#ffffff',
293
-	// 		'button_cta_text_color_hover'       => '#ffffff',
294
-	// 		'button_cta_shadow'                 => '#f7741d',
295
-
296
-	// 		'button_secondary_background_color'       => '#EAEAEA',
297
-	// 		'button_secondary_background_hover_color' => '#CCCCCC',
298
-	// 		'button_secondary_text_color'             => '#4A4A4A',
299
-	// 		'button_secondary_text_color_hover'       => '#4A4A4A',
300
-	// 		'button_secondary_shadow'                 => '#C4C4C4',
301
-
302
-	// 		'button_tertiary_background_color'       => '#6BA913',
303
-	// 		'button_tertiary_background_hover_color' => '#649E12',
304
-	// 		'button_tertiary_text_color'             => '#FFFFFF',
305
-	// 		'button_tertiary_text_color_hover'       => '#FFFFFF',
306
-	// 		'button_tertiary_shadow'                 => '#3F640B',
307
-
308
-	// 		'top_menu_background_color'          => '#333333',
309
-	// 		'top_menu_link_color'                => '#ffffff',
310
-	// 		'top_menu_link_hover_color'          => '#e4701e',
311
-	// 		'top_menu_icon_color'                => '#e4701e',
312
-	// 		'top_menu_icon_hover_color'          => '#ffffff',
313
-	// 		'top_menu_dropdown_color'            => '#333333',
314
-	// 		'top_menu_dropdown_hover_color'      => '#444444',
315
-	// 		'top_menu_dropdown_link_color'       => '#ffffff',
316
-	// 		'top_menu_dropdown_link_hover_color' => '#e4701e',
317
-
318
-	// 		'header_background_color'  => '#ffffff',
319
-	// 		'header_link_color'        => '#e4701e',
320
-	// 		'header_link_hover_color'  => '#cc4800',
321
-	// 		'header_description_color' => '#777777',
322
-
323
-	// 		'main_menu_background_color'                => '#ffffff',
324
-	// 		'main_menu_link_color'                      => '#555555',
325
-	// 		'main_menu_link_hover_color'                => '#ffffff',
326
-	// 		'main_menu_dropdown_background_color'       => '#fbaf3f',
327
-	// 		'main_menu_dropdown_background_hover_color' => '#fbaf3f',
328
-	// 		'main_menu_dropdown_link_color'             => '#ffffff',
329
-	// 		'main_menu_dropdown_link_hover_color'       => '#eeeeee',
330
-
331
-	// 		'banner_background_color'               => '#e49435',
332
-	// 		'banner_text_color'                     => '#ffffff',
333
-	// 		'banner_text_image_color'               => '#ffffff',
334
-	// 		'banner_breadcrumb_background_color'    => '#374750',
335
-	// 		'banner_breadcrumb_text_color'          => '#919191',
336
-	// 		'banner_breadcrumb_text_selected_color' => '#ffffff',
337
-
338
-	// 		'background_color'                       => '#ffffff',
339
-	// 		'body_line_color'                        => '#dddddd',
340
-	// 		'body_text_heading_color'                => '#333333',
341
-	// 		'body_text_small_color'                  => '#919191',
342
-	// 		'body_text_color'                        => '#333333',
343
-	// 		'body_link_color'                        => '#e4701e',
344
-	// 		'body_link_hover_color'                  => '#cc4800',
345
-	// 		'body_section_full_background_color'     => '#fbaf3f',
346
-	// 		'body_section_full_text_color'           => '#ffffff',
347
-	// 		'body_section_full_link_color'           => '#eeeeee',
348
-	// 		'body_section_full_link_hover_color'     => '#dddddd',
349
-	// 		'body_section_full_cta_background_color' => '#333333',
350
-	// 		'body_section_full_cta_text_color'       => '#ffffff',
351
-	// 		'body_section_full_cta_link_color'       => '#eeeeee',
352
-	// 		'body_section_full_cta_link_hover_color' => '#dddddd',
353
-
354
-	// 		'footer_cta_background_color' => '#fbaf3f',
355
-	// 		'footer_cta_text_color'       => '#555555',
356
-	// 		'footer_cta_link_color'       => '#e4701e',
357
-	// 		'footer_cta_link_hover_color' => '#969696',
358
-
359
-	// 		'footer_widgets_background_color' => '#333333',
360
-	// 		'footer_widgets_text_color'       => '#ffffff',
361
-	// 		'footer_widgets_link_color'       => '#e4701e',
362
-	// 		'footer_widgets_link_hover_color' => '#969696',
363
-
364
-	// 		'footer_background_color' => '#232222',
365
-	// 		'footer_text_color'       => '#ffffff',
366
-	// 		'footer_link_color'       => '#e4701e',
367
-	// 		'footer_link_hover_color' => '#969696',
368
-	// 	) ),
369
-	// ),
370
-	// 'green' => array(
371
-	// 	'label'  => __( 'Green', 'lsx-customizer' ),
372
-	// 	'colors' => apply_filters( 'lsx_customizer_colour_choices_green', array(
373
-	// 		'button_background_color'       => '#596b46',
374
-	// 		'button_background_hover_color' => '#3d4a30',
375
-	// 		'button_text_color'             => '#ffffff',
376
-	// 		'button_text_color_hover'       => '#ffffff',
377
-	// 		'button_shadow'                 => '#3d4a30',
378
-
379
-	// 		'button_cta_background_color'       => '#f7941d',
380
-	// 		'button_cta_background_hover_color' => '#f7741d',
381
-	// 		'button_cta_text_color'             => '#ffffff',
382
-	// 		'button_cta_text_color_hover'       => '#ffffff',
383
-	// 		'button_cta_shadow'                 => '#f7741d',
384
-
385
-	// 		'button_secondary_background_color'       => '#EAEAEA',
386
-	// 		'button_secondary_background_hover_color' => '#CCCCCC',
387
-	// 		'button_secondary_text_color'             => '#4A4A4A',
388
-	// 		'button_secondary_text_color_hover'       => '#4A4A4A',
389
-	// 		'button_secondary_shadow'                 => '#C4C4C4',
390
-
391
-	// 		'button_tertiary_background_color'       => '#6BA913',
392
-	// 		'button_tertiary_background_hover_color' => '#649E12',
393
-	// 		'button_tertiary_text_color'             => '#FFFFFF',
394
-	// 		'button_tertiary_text_color_hover'       => '#FFFFFF',
395
-	// 		'button_tertiary_shadow'                 => '#3F640B',
396
-
397
-	// 		'top_menu_background_color'          => '#333333',
398
-	// 		'top_menu_link_color'                => '#ffffff',
399
-	// 		'top_menu_link_hover_color'          => '#a5a370',
400
-	// 		'top_menu_icon_color'                => '#a5a370',
401
-	// 		'top_menu_icon_hover_color'          => '#ffffff',
402
-	// 		'top_menu_dropdown_color'            => '#333333',
403
-	// 		'top_menu_dropdown_hover_color'      => '#444444',
404
-	// 		'top_menu_dropdown_link_color'       => '#ffffff',
405
-	// 		'top_menu_dropdown_link_hover_color' => '#a5a370',
406
-
407
-	// 		'header_background_color'  => '#ffffff',
408
-	// 		'header_link_color'        => '#596b46',
409
-	// 		'header_link_hover_color'  => '#3d4a30',
410
-	// 		'header_description_color' => '#777777',
411
-
412
-	// 		'main_menu_background_color'                => '#ffffff',
413
-	// 		'main_menu_link_color'                      => '#555555',
414
-	// 		'main_menu_link_hover_color'                => '#ffffff',
415
-	// 		'main_menu_dropdown_background_color'       => '#596b46',
416
-	// 		'main_menu_dropdown_background_hover_color' => '#596b46',
417
-	// 		'main_menu_dropdown_link_color'             => '#ffffff',
418
-	// 		'main_menu_dropdown_link_hover_color'       => '#eeeeee',
419
-
420
-	// 		'banner_background_color'               => '#3d4a30',
421
-	// 		'banner_text_color'                     => '#ffffff',
422
-	// 		'banner_text_image_color'               => '#ffffff',
423
-	// 		'banner_breadcrumb_background_color'    => '#374750',
424
-	// 		'banner_breadcrumb_text_color'          => '#919191',
425
-	// 		'banner_breadcrumb_text_selected_color' => '#ffffff',
426
-
427
-	// 		'background_color'                       => '#ffffff',
428
-	// 		'body_line_color'                        => '#dddddd',
429
-	// 		'body_text_heading_color'                => '#333333',
430
-	// 		'body_text_small_color'                  => '#919191',
431
-	// 		'body_text_color'                        => '#333333',
432
-	// 		'body_link_color'                        => '#596b46',
433
-	// 		'body_link_hover_color'                  => '#3d4a30',
434
-	// 		'body_section_full_background_color'     => '#596b46',
435
-	// 		'body_section_full_text_color'           => '#ffffff',
436
-	// 		'body_section_full_link_color'           => '#eeeeee',
437
-	// 		'body_section_full_link_hover_color'     => '#dddddd',
438
-	// 		'body_section_full_cta_background_color' => '#333333',
439
-	// 		'body_section_full_cta_text_color'       => '#ffffff',
440
-	// 		'body_section_full_cta_link_color'       => '#eeeeee',
441
-	// 		'body_section_full_cta_link_hover_color' => '#dddddd',
442
-
443
-	// 		'footer_cta_background_color' => '#596b46',
444
-	// 		'footer_cta_text_color'       => '#ffffff',
445
-	// 		'footer_cta_link_color'       => '#596b46',
446
-	// 		'footer_cta_link_hover_color' => '#969696',
447
-
448
-	// 		'footer_widgets_background_color' => '#333333',
449
-	// 		'footer_widgets_text_color'       => '#ffffff',
450
-	// 		'footer_widgets_link_color'       => '#596b46',
451
-	// 		'footer_widgets_link_hover_color' => '#969696',
452
-
453
-	// 		'footer_background_color' => '#232222',
454
-	// 		'footer_text_color'       => '#ffffff',
455
-	// 		'footer_link_color'       => '#596b46',
456
-	// 		'footer_link_hover_color' => '#969696',
457
-	// 	) ),
458
-	// ),
459
-	// 'brown' => array(
460
-	// 	'label'  => __( 'Brown', 'lsx-customizer' ),
461
-	// 	'colors' => apply_filters( 'lsx_customizer_colour_choices_brown', array(
462
-	// 		'button_background_color'       => '#8c6a45',
463
-	// 		'button_background_hover_color' => '#5b452e',
464
-	// 		'button_text_color'             => '#ffffff',
465
-	// 		'button_text_color_hover'       => '#ffffff',
466
-	// 		'button_shadow'                 => '#5b452e',
467
-
468
-	// 		'button_cta_background_color'       => '#f7941d',
469
-	// 		'button_cta_background_hover_color' => '#f7741d',
470
-	// 		'button_cta_text_color'             => '#ffffff',
471
-	// 		'button_cta_text_color_hover'       => '#ffffff',
472
-	// 		'button_cta_shadow'                 => '#f7741d',
473
-
474
-	// 		'button_secondary_background_color'       => '#EAEAEA',
475
-	// 		'button_secondary_background_hover_color' => '#CCCCCC',
476
-	// 		'button_secondary_text_color'             => '#4A4A4A',
477
-	// 		'button_secondary_text_color_hover'       => '#4A4A4A',
478
-	// 		'button_secondary_shadow'                 => '#C4C4C4',
479
-
480
-	// 		'button_tertiary_background_color'       => '#6BA913',
481
-	// 		'button_tertiary_background_hover_color' => '#649E12',
482
-	// 		'button_tertiary_text_color'             => '#FFFFFF',
483
-	// 		'button_tertiary_text_color_hover'       => '#FFFFFF',
484
-	// 		'button_tertiary_shadow'                 => '#3F640B',
485
-
486
-	// 		'top_menu_background_color'          => '#333333',
487
-	// 		'top_menu_link_color'                => '#ffffff',
488
-	// 		'top_menu_link_hover_color'          => '#dfad55',
489
-	// 		'top_menu_icon_color'                => '#dfad55',
490
-	// 		'top_menu_icon_hover_color'          => '#ffffff',
491
-	// 		'top_menu_dropdown_color'            => '#333333',
492
-	// 		'top_menu_dropdown_hover_color'      => '#444444',
493
-	// 		'top_menu_dropdown_link_color'       => '#ffffff',
494
-	// 		'top_menu_dropdown_link_hover_color' => '#dfad55',
495
-
496
-	// 		'header_background_color'  => '#ffffff',
497
-	// 		'header_link_color'        => '#8c6a45',
498
-	// 		'header_link_hover_color'  => '#5b452e',
499
-	// 		'header_description_color' => '#777777',
500
-
501
-	// 		'main_menu_background_color'                => '#ffffff',
502
-	// 		'main_menu_link_color'                      => '#555555',
503
-	// 		'main_menu_link_hover_color'                => '#ffffff',
504
-	// 		'main_menu_dropdown_background_color'       => '#8c6a45',
505
-	// 		'main_menu_dropdown_background_hover_color' => '#8c6a45',
506
-	// 		'main_menu_dropdown_link_color'             => '#ffffff',
507
-	// 		'main_menu_dropdown_link_hover_color'       => '#eeeeee',
508
-
509
-	// 		'banner_background_color'               => '#5b452e',
510
-	// 		'banner_text_color'                     => '#ffffff',
511
-	// 		'banner_text_image_color'               => '#ffffff',
512
-	// 		'banner_breadcrumb_background_color'    => '#374750',
513
-	// 		'banner_breadcrumb_text_color'          => '#919191',
514
-	// 		'banner_breadcrumb_text_selected_color' => '#ffffff',
515
-
516
-	// 		'background_color'                       => '#ffffff',
517
-	// 		'body_line_color'                        => '#dddddd',
518
-	// 		'body_text_heading_color'                => '#333333',
519
-	// 		'body_text_small_color'                  => '#919191',
520
-	// 		'body_text_color'                        => '#333333',
521
-	// 		'body_link_color'                        => '#8c6a45',
522
-	// 		'body_link_hover_color'                  => '#5b452e',
523
-	// 		'body_section_full_background_color'     => '#8c6a45',
524
-	// 		'body_section_full_text_color'           => '#ffffff',
525
-	// 		'body_section_full_link_color'           => '#eeeeee',
526
-	// 		'body_section_full_link_hover_color'     => '#dddddd',
527
-	// 		'body_section_full_cta_background_color' => '#333333',
528
-	// 		'body_section_full_cta_text_color'       => '#ffffff',
529
-	// 		'body_section_full_cta_link_color'       => '#eeeeee',
530
-	// 		'body_section_full_cta_link_hover_color' => '#dddddd',
531
-
532
-	// 		'footer_cta_background_color' => '#8c6a45',
533
-	// 		'footer_cta_text_color'       => '#ffffff',
534
-	// 		'footer_cta_link_color'       => '#8c6a45',
535
-	// 		'footer_cta_link_hover_color' => '#969696',
536
-
537
-	// 		'footer_widgets_background_color' => '#333333',
538
-	// 		'footer_widgets_text_color'       => '#ffffff',
539
-	// 		'footer_widgets_link_color'       => '#8c6a45',
540
-	// 		'footer_widgets_link_hover_color' => '#969696',
541
-
542
-	// 		'footer_background_color' => '#232222',
543
-	// 		'footer_text_color'       => '#ffffff',
544
-	// 		'footer_link_color'       => '#8c6a45',
545
-	// 		'footer_link_hover_color' => '#969696',
546
-	// 	) ),
547
-	// ),
103
+     'default' => array(
104
+          'label'  => __( 'Default', 'lsx-customizer' ),
105
+          'colors' => apply_filters( 'lsx_customizer_colour_choices_default', array(
106
+               'button_background_color'       => '#418AD0',
107
+               'button_background_hover_color' => '#367DC0',
108
+               'button_text_color'             => '#FFFFFF',
109
+               'button_text_color_hover'       => '#FFFFFF',
110
+               'button_shadow'                 => '#27639E',
111
+
112
+               'button_cta_background_color'       => '#F7AE00',
113
+               'button_cta_background_hover_color' => '#EDA700',
114
+               'button_cta_text_color'             => '#FFFFFF',
115
+               'button_cta_text_color_hover'       => '#FFFFFF',
116
+               'button_cta_shadow'                 => '#AB7800',
117
+
118
+               'button_secondary_background_color'       => '#EAEAEA',
119
+               'button_secondary_background_hover_color' => '#CCCCCC',
120
+               'button_secondary_text_color'             => '#4A4A4A',
121
+               'button_secondary_text_color_hover'       => '#4A4A4A',
122
+               'button_secondary_shadow'                 => '#C4C4C4',
123
+
124
+               'button_tertiary_background_color'       => '#6BA913',
125
+               'button_tertiary_background_hover_color' => '#649E12',
126
+               'button_tertiary_text_color'             => '#FFFFFF',
127
+               'button_tertiary_text_color_hover'       => '#FFFFFF',
128
+               'button_tertiary_shadow'                 => '#3F640B',
129
+
130
+               'top_menu_background_color'          => '#333333',
131
+               'top_menu_link_color'                => '#FFFFFF',
132
+               'top_menu_link_hover_color'          => '#D93A3A',
133
+               'top_menu_icon_color'                => '#D93A3A',
134
+               'top_menu_icon_hover_color'          => '#D93A3A',
135
+               'top_menu_dropdown_color'            => '#333333',
136
+               'top_menu_dropdown_hover_color'      => '#333333',
137
+               'top_menu_dropdown_link_color'       => '#FFFFFF',
138
+               'top_menu_dropdown_link_hover_color' => '#D93A3A',
139
+
140
+               'header_background_color'  => '#FFFFFF',
141
+               'header_link_color'        => '#D84E2E',
142
+               'header_link_hover_color'  => '#F7AE00',
143
+               'header_description_color' => '#434343',
144
+
145
+               'main_menu_background_color'                => '#FFFFFF',
146
+               'main_menu_link_color'                      => '#515151',
147
+               'main_menu_link_hover_color'                => '#418AD0',
148
+               'main_menu_dropdown_background_color'       => '#374750',
149
+               'main_menu_dropdown_background_hover_color' => '#2B3840',
150
+               'main_menu_dropdown_link_color'             => '#FFFFFF',
151
+               'main_menu_dropdown_link_hover_color'       => '#418AD0',
152
+
153
+               'banner_background_color'               => '#2B3840',
154
+               'banner_text_color'                     => '#FFFFFF',
155
+               'banner_text_image_color'               => '#FFFFFF',
156
+               'banner_breadcrumb_background_color'    => '#374750',
157
+               'banner_breadcrumb_text_color'          => '#919191',
158
+               'banner_breadcrumb_text_selected_color' => '#FFFFFF',
159
+
160
+               'background_color'                       => '#F6F6F6',
161
+               'body_line_color'                        => '#DADDDF',
162
+               'body_text_heading_color'                => '#4A4A4A',
163
+               'body_text_small_color'                  => '#919191',
164
+               'body_text_color'                        => '#4A4A4A',
165
+               'body_link_color'                        => '#418AD0',
166
+               'body_link_hover_color'                  => '#F7AE00',
167
+               'body_section_full_background_color'     => '#FFFFFF',
168
+               'body_section_full_text_color'           => '#4A4A4A',
169
+               'body_section_full_link_color'           => '#418AD0',
170
+               'body_section_full_link_hover_color'     => '#F7AE00',
171
+               'body_section_full_cta_background_color' => '#418AD0',
172
+               'body_section_full_cta_text_color'       => '#FFFFFF',
173
+               'body_section_full_cta_link_color'       => '#374750',
174
+               'body_section_full_cta_link_hover_color' => '#F7AE00',
175
+
176
+               'footer_cta_background_color' => '#2B3840',
177
+               'footer_cta_text_color'       => '#FFFFFF',
178
+               'footer_cta_link_color'       => '#418AD0',
179
+               'footer_cta_link_hover_color' => '#367DC0',
180
+
181
+               'footer_widgets_background_color' => '#374750',
182
+               'footer_widgets_text_color'       => '#FFFFFF',
183
+               'footer_widgets_link_color'       => '#FFFFFF',
184
+               'footer_widgets_link_hover_color' => '#F7AE00',
185
+
186
+               'footer_background_color' => '#2B3840',
187
+               'footer_text_color'       => '#ffffff',
188
+               'footer_link_color'       => '#F7AE00',
189
+               'footer_link_hover_color' => '#CE9100',
190
+          ) ),
191
+     ),
192
+     // 'red' => array(
193
+     // 	'label'  => __( 'Red', 'lsx-customizer' ),
194
+     // 	'colors' => apply_filters( 'lsx_customizer_colour_choices_red', array(
195
+     // 		'button_background_color'       => '#b64d3f',
196
+     // 		'button_background_hover_color' => '#87291c',
197
+     // 		'button_text_color'             => '#ffffff',
198
+     // 		'button_text_color_hover'       => '#ffffff',
199
+     // 		'button_shadow'                 => '#87291c',
200
+
201
+     // 		'button_cta_background_color'       => '#f7941d',
202
+     // 		'button_cta_background_hover_color' => '#f7741d',
203
+     // 		'button_cta_text_color'             => '#ffffff',
204
+     // 		'button_cta_text_color_hover'       => '#ffffff',
205
+     // 		'button_cta_shadow'                 => '#f7741d',
206
+
207
+     // 		'button_secondary_background_color'       => '#EAEAEA',
208
+     // 		'button_secondary_background_hover_color' => '#CCCCCC',
209
+     // 		'button_secondary_text_color'             => '#4A4A4A',
210
+     // 		'button_secondary_text_color_hover'       => '#4A4A4A',
211
+     // 		'button_secondary_shadow'                 => '#C4C4C4',
212
+
213
+     // 		'button_tertiary_background_color'       => '#6BA913',
214
+     // 		'button_tertiary_background_hover_color' => '#649E12',
215
+     // 		'button_tertiary_text_color'             => '#FFFFFF',
216
+     // 		'button_tertiary_text_color_hover'       => '#FFFFFF',
217
+     // 		'button_tertiary_shadow'                 => '#3F640B',
218
+
219
+     // 		'top_menu_background_color'          => '#333333',
220
+     // 		'top_menu_link_color'                => '#ffffff',
221
+     // 		'top_menu_link_hover_color'          => '#eaa520',
222
+     // 		'top_menu_icon_color'                => '#eaa520',
223
+     // 		'top_menu_icon_hover_color'          => '#ffffff',
224
+     // 		'top_menu_dropdown_color'            => '#333333',
225
+     // 		'top_menu_dropdown_hover_color'      => '#444444',
226
+     // 		'top_menu_dropdown_link_color'       => '#ffffff',
227
+     // 		'top_menu_dropdown_link_hover_color' => '#eaa520',
228
+
229
+     // 		'header_background_color'  => '#ffffff',
230
+     // 		'header_link_color'        => '#b64d3f',
231
+     // 		'header_link_hover_color'  => '#87291c',
232
+     // 		'header_description_color' => '#555555',
233
+
234
+     // 		'main_menu_background_color'                => '#ffffff',
235
+     // 		'main_menu_link_color'                      => '#555555',
236
+     // 		'main_menu_link_hover_color'                => '#ffffff',
237
+     // 		'main_menu_dropdown_background_color'       => '#b64d3f',
238
+     // 		'main_menu_dropdown_background_hover_color' => '#b64d3f',
239
+     // 		'main_menu_dropdown_link_color'             => '#ffffff',
240
+     // 		'main_menu_dropdown_link_hover_color'       => '#dddddd',
241
+
242
+     // 		'banner_background_color'               => '#87291c',
243
+     // 		'banner_text_color'                     => '#ffffff',
244
+     // 		'banner_text_image_color'               => '#ffffff',
245
+     // 		'banner_breadcrumb_background_color'    => '#374750',
246
+     // 		'banner_breadcrumb_text_color'          => '#919191',
247
+     // 		'banner_breadcrumb_text_selected_color' => '#ffffff',
248
+
249
+     // 		'background_color'                       => '#ffffff',
250
+     // 		'body_line_color'                        => '#dddddd',
251
+     // 		'body_text_heading_color'                => '#333333',
252
+     // 		'body_text_small_color'                  => '#919191',
253
+     // 		'body_text_color'                        => '#333333',
254
+     // 		'body_link_color'                        => '#b64d3f',
255
+     // 		'body_link_hover_color'                  => '#87291c',
256
+     // 		'body_section_full_background_color'     => '#b64d3f',
257
+     // 		'body_section_full_text_color'           => '#ffffff',
258
+     // 		'body_section_full_link_color'           => '#eeeeee',
259
+     // 		'body_section_full_link_hover_color'     => '#dddddd',
260
+     // 		'body_section_full_cta_background_color' => '#333333',
261
+     // 		'body_section_full_cta_text_color'       => '#ffffff',
262
+     // 		'body_section_full_cta_link_color'       => '#eeeeee',
263
+     // 		'body_section_full_cta_link_hover_color' => '#dddddd',
264
+
265
+     // 		'footer_cta_background_color' => '#b64d3f',
266
+     // 		'footer_cta_text_color'       => '#ffffff',
267
+     // 		'footer_cta_link_color'       => '#ffffff',
268
+     // 		'footer_cta_link_hover_color' => '#eeeeee',
269
+
270
+     // 		'footer_widgets_background_color' => '#333333',
271
+     // 		'footer_widgets_text_color'       => '#ffffff',
272
+     // 		'footer_widgets_link_color'       => '#b64d3f',
273
+     // 		'footer_widgets_link_hover_color' => '#969696',
274
+
275
+     // 		'footer_background_color' => '#232222',
276
+     // 		'footer_text_color'       => '#ffffff',
277
+     // 		'footer_link_color'       => '#b64d3f',
278
+     // 		'footer_link_hover_color' => '#969696',
279
+     // 	) ),
280
+     // ),
281
+     // 'orange' => array(
282
+     // 	'label'  => __( 'Orange', 'lsx-customizer' ),
283
+     // 	'colors' => apply_filters( 'lsx_customizer_colour_choices_orange', array(
284
+     // 		'button_background_color'       => '#fbaf3f',
285
+     // 		'button_background_hover_color' => '#e49435',
286
+     // 		'button_text_color'             => '#260e03',
287
+     // 		'button_text_color_hover'       => '#260e03',
288
+     // 		'button_shadow'                 => '#e49435',
289
+
290
+     // 		'button_cta_background_color'       => '#f7941d',
291
+     // 		'button_cta_background_hover_color' => '#f7741d',
292
+     // 		'button_cta_text_color'             => '#ffffff',
293
+     // 		'button_cta_text_color_hover'       => '#ffffff',
294
+     // 		'button_cta_shadow'                 => '#f7741d',
295
+
296
+     // 		'button_secondary_background_color'       => '#EAEAEA',
297
+     // 		'button_secondary_background_hover_color' => '#CCCCCC',
298
+     // 		'button_secondary_text_color'             => '#4A4A4A',
299
+     // 		'button_secondary_text_color_hover'       => '#4A4A4A',
300
+     // 		'button_secondary_shadow'                 => '#C4C4C4',
301
+
302
+     // 		'button_tertiary_background_color'       => '#6BA913',
303
+     // 		'button_tertiary_background_hover_color' => '#649E12',
304
+     // 		'button_tertiary_text_color'             => '#FFFFFF',
305
+     // 		'button_tertiary_text_color_hover'       => '#FFFFFF',
306
+     // 		'button_tertiary_shadow'                 => '#3F640B',
307
+
308
+     // 		'top_menu_background_color'          => '#333333',
309
+     // 		'top_menu_link_color'                => '#ffffff',
310
+     // 		'top_menu_link_hover_color'          => '#e4701e',
311
+     // 		'top_menu_icon_color'                => '#e4701e',
312
+     // 		'top_menu_icon_hover_color'          => '#ffffff',
313
+     // 		'top_menu_dropdown_color'            => '#333333',
314
+     // 		'top_menu_dropdown_hover_color'      => '#444444',
315
+     // 		'top_menu_dropdown_link_color'       => '#ffffff',
316
+     // 		'top_menu_dropdown_link_hover_color' => '#e4701e',
317
+
318
+     // 		'header_background_color'  => '#ffffff',
319
+     // 		'header_link_color'        => '#e4701e',
320
+     // 		'header_link_hover_color'  => '#cc4800',
321
+     // 		'header_description_color' => '#777777',
322
+
323
+     // 		'main_menu_background_color'                => '#ffffff',
324
+     // 		'main_menu_link_color'                      => '#555555',
325
+     // 		'main_menu_link_hover_color'                => '#ffffff',
326
+     // 		'main_menu_dropdown_background_color'       => '#fbaf3f',
327
+     // 		'main_menu_dropdown_background_hover_color' => '#fbaf3f',
328
+     // 		'main_menu_dropdown_link_color'             => '#ffffff',
329
+     // 		'main_menu_dropdown_link_hover_color'       => '#eeeeee',
330
+
331
+     // 		'banner_background_color'               => '#e49435',
332
+     // 		'banner_text_color'                     => '#ffffff',
333
+     // 		'banner_text_image_color'               => '#ffffff',
334
+     // 		'banner_breadcrumb_background_color'    => '#374750',
335
+     // 		'banner_breadcrumb_text_color'          => '#919191',
336
+     // 		'banner_breadcrumb_text_selected_color' => '#ffffff',
337
+
338
+     // 		'background_color'                       => '#ffffff',
339
+     // 		'body_line_color'                        => '#dddddd',
340
+     // 		'body_text_heading_color'                => '#333333',
341
+     // 		'body_text_small_color'                  => '#919191',
342
+     // 		'body_text_color'                        => '#333333',
343
+     // 		'body_link_color'                        => '#e4701e',
344
+     // 		'body_link_hover_color'                  => '#cc4800',
345
+     // 		'body_section_full_background_color'     => '#fbaf3f',
346
+     // 		'body_section_full_text_color'           => '#ffffff',
347
+     // 		'body_section_full_link_color'           => '#eeeeee',
348
+     // 		'body_section_full_link_hover_color'     => '#dddddd',
349
+     // 		'body_section_full_cta_background_color' => '#333333',
350
+     // 		'body_section_full_cta_text_color'       => '#ffffff',
351
+     // 		'body_section_full_cta_link_color'       => '#eeeeee',
352
+     // 		'body_section_full_cta_link_hover_color' => '#dddddd',
353
+
354
+     // 		'footer_cta_background_color' => '#fbaf3f',
355
+     // 		'footer_cta_text_color'       => '#555555',
356
+     // 		'footer_cta_link_color'       => '#e4701e',
357
+     // 		'footer_cta_link_hover_color' => '#969696',
358
+
359
+     // 		'footer_widgets_background_color' => '#333333',
360
+     // 		'footer_widgets_text_color'       => '#ffffff',
361
+     // 		'footer_widgets_link_color'       => '#e4701e',
362
+     // 		'footer_widgets_link_hover_color' => '#969696',
363
+
364
+     // 		'footer_background_color' => '#232222',
365
+     // 		'footer_text_color'       => '#ffffff',
366
+     // 		'footer_link_color'       => '#e4701e',
367
+     // 		'footer_link_hover_color' => '#969696',
368
+     // 	) ),
369
+     // ),
370
+     // 'green' => array(
371
+     // 	'label'  => __( 'Green', 'lsx-customizer' ),
372
+     // 	'colors' => apply_filters( 'lsx_customizer_colour_choices_green', array(
373
+     // 		'button_background_color'       => '#596b46',
374
+     // 		'button_background_hover_color' => '#3d4a30',
375
+     // 		'button_text_color'             => '#ffffff',
376
+     // 		'button_text_color_hover'       => '#ffffff',
377
+     // 		'button_shadow'                 => '#3d4a30',
378
+
379
+     // 		'button_cta_background_color'       => '#f7941d',
380
+     // 		'button_cta_background_hover_color' => '#f7741d',
381
+     // 		'button_cta_text_color'             => '#ffffff',
382
+     // 		'button_cta_text_color_hover'       => '#ffffff',
383
+     // 		'button_cta_shadow'                 => '#f7741d',
384
+
385
+     // 		'button_secondary_background_color'       => '#EAEAEA',
386
+     // 		'button_secondary_background_hover_color' => '#CCCCCC',
387
+     // 		'button_secondary_text_color'             => '#4A4A4A',
388
+     // 		'button_secondary_text_color_hover'       => '#4A4A4A',
389
+     // 		'button_secondary_shadow'                 => '#C4C4C4',
390
+
391
+     // 		'button_tertiary_background_color'       => '#6BA913',
392
+     // 		'button_tertiary_background_hover_color' => '#649E12',
393
+     // 		'button_tertiary_text_color'             => '#FFFFFF',
394
+     // 		'button_tertiary_text_color_hover'       => '#FFFFFF',
395
+     // 		'button_tertiary_shadow'                 => '#3F640B',
396
+
397
+     // 		'top_menu_background_color'          => '#333333',
398
+     // 		'top_menu_link_color'                => '#ffffff',
399
+     // 		'top_menu_link_hover_color'          => '#a5a370',
400
+     // 		'top_menu_icon_color'                => '#a5a370',
401
+     // 		'top_menu_icon_hover_color'          => '#ffffff',
402
+     // 		'top_menu_dropdown_color'            => '#333333',
403
+     // 		'top_menu_dropdown_hover_color'      => '#444444',
404
+     // 		'top_menu_dropdown_link_color'       => '#ffffff',
405
+     // 		'top_menu_dropdown_link_hover_color' => '#a5a370',
406
+
407
+     // 		'header_background_color'  => '#ffffff',
408
+     // 		'header_link_color'        => '#596b46',
409
+     // 		'header_link_hover_color'  => '#3d4a30',
410
+     // 		'header_description_color' => '#777777',
411
+
412
+     // 		'main_menu_background_color'                => '#ffffff',
413
+     // 		'main_menu_link_color'                      => '#555555',
414
+     // 		'main_menu_link_hover_color'                => '#ffffff',
415
+     // 		'main_menu_dropdown_background_color'       => '#596b46',
416
+     // 		'main_menu_dropdown_background_hover_color' => '#596b46',
417
+     // 		'main_menu_dropdown_link_color'             => '#ffffff',
418
+     // 		'main_menu_dropdown_link_hover_color'       => '#eeeeee',
419
+
420
+     // 		'banner_background_color'               => '#3d4a30',
421
+     // 		'banner_text_color'                     => '#ffffff',
422
+     // 		'banner_text_image_color'               => '#ffffff',
423
+     // 		'banner_breadcrumb_background_color'    => '#374750',
424
+     // 		'banner_breadcrumb_text_color'          => '#919191',
425
+     // 		'banner_breadcrumb_text_selected_color' => '#ffffff',
426
+
427
+     // 		'background_color'                       => '#ffffff',
428
+     // 		'body_line_color'                        => '#dddddd',
429
+     // 		'body_text_heading_color'                => '#333333',
430
+     // 		'body_text_small_color'                  => '#919191',
431
+     // 		'body_text_color'                        => '#333333',
432
+     // 		'body_link_color'                        => '#596b46',
433
+     // 		'body_link_hover_color'                  => '#3d4a30',
434
+     // 		'body_section_full_background_color'     => '#596b46',
435
+     // 		'body_section_full_text_color'           => '#ffffff',
436
+     // 		'body_section_full_link_color'           => '#eeeeee',
437
+     // 		'body_section_full_link_hover_color'     => '#dddddd',
438
+     // 		'body_section_full_cta_background_color' => '#333333',
439
+     // 		'body_section_full_cta_text_color'       => '#ffffff',
440
+     // 		'body_section_full_cta_link_color'       => '#eeeeee',
441
+     // 		'body_section_full_cta_link_hover_color' => '#dddddd',
442
+
443
+     // 		'footer_cta_background_color' => '#596b46',
444
+     // 		'footer_cta_text_color'       => '#ffffff',
445
+     // 		'footer_cta_link_color'       => '#596b46',
446
+     // 		'footer_cta_link_hover_color' => '#969696',
447
+
448
+     // 		'footer_widgets_background_color' => '#333333',
449
+     // 		'footer_widgets_text_color'       => '#ffffff',
450
+     // 		'footer_widgets_link_color'       => '#596b46',
451
+     // 		'footer_widgets_link_hover_color' => '#969696',
452
+
453
+     // 		'footer_background_color' => '#232222',
454
+     // 		'footer_text_color'       => '#ffffff',
455
+     // 		'footer_link_color'       => '#596b46',
456
+     // 		'footer_link_hover_color' => '#969696',
457
+     // 	) ),
458
+     // ),
459
+     // 'brown' => array(
460
+     // 	'label'  => __( 'Brown', 'lsx-customizer' ),
461
+     // 	'colors' => apply_filters( 'lsx_customizer_colour_choices_brown', array(
462
+     // 		'button_background_color'       => '#8c6a45',
463
+     // 		'button_background_hover_color' => '#5b452e',
464
+     // 		'button_text_color'             => '#ffffff',
465
+     // 		'button_text_color_hover'       => '#ffffff',
466
+     // 		'button_shadow'                 => '#5b452e',
467
+
468
+     // 		'button_cta_background_color'       => '#f7941d',
469
+     // 		'button_cta_background_hover_color' => '#f7741d',
470
+     // 		'button_cta_text_color'             => '#ffffff',
471
+     // 		'button_cta_text_color_hover'       => '#ffffff',
472
+     // 		'button_cta_shadow'                 => '#f7741d',
473
+
474
+     // 		'button_secondary_background_color'       => '#EAEAEA',
475
+     // 		'button_secondary_background_hover_color' => '#CCCCCC',
476
+     // 		'button_secondary_text_color'             => '#4A4A4A',
477
+     // 		'button_secondary_text_color_hover'       => '#4A4A4A',
478
+     // 		'button_secondary_shadow'                 => '#C4C4C4',
479
+
480
+     // 		'button_tertiary_background_color'       => '#6BA913',
481
+     // 		'button_tertiary_background_hover_color' => '#649E12',
482
+     // 		'button_tertiary_text_color'             => '#FFFFFF',
483
+     // 		'button_tertiary_text_color_hover'       => '#FFFFFF',
484
+     // 		'button_tertiary_shadow'                 => '#3F640B',
485
+
486
+     // 		'top_menu_background_color'          => '#333333',
487
+     // 		'top_menu_link_color'                => '#ffffff',
488
+     // 		'top_menu_link_hover_color'          => '#dfad55',
489
+     // 		'top_menu_icon_color'                => '#dfad55',
490
+     // 		'top_menu_icon_hover_color'          => '#ffffff',
491
+     // 		'top_menu_dropdown_color'            => '#333333',
492
+     // 		'top_menu_dropdown_hover_color'      => '#444444',
493
+     // 		'top_menu_dropdown_link_color'       => '#ffffff',
494
+     // 		'top_menu_dropdown_link_hover_color' => '#dfad55',
495
+
496
+     // 		'header_background_color'  => '#ffffff',
497
+     // 		'header_link_color'        => '#8c6a45',
498
+     // 		'header_link_hover_color'  => '#5b452e',
499
+     // 		'header_description_color' => '#777777',
500
+
501
+     // 		'main_menu_background_color'                => '#ffffff',
502
+     // 		'main_menu_link_color'                      => '#555555',
503
+     // 		'main_menu_link_hover_color'                => '#ffffff',
504
+     // 		'main_menu_dropdown_background_color'       => '#8c6a45',
505
+     // 		'main_menu_dropdown_background_hover_color' => '#8c6a45',
506
+     // 		'main_menu_dropdown_link_color'             => '#ffffff',
507
+     // 		'main_menu_dropdown_link_hover_color'       => '#eeeeee',
508
+
509
+     // 		'banner_background_color'               => '#5b452e',
510
+     // 		'banner_text_color'                     => '#ffffff',
511
+     // 		'banner_text_image_color'               => '#ffffff',
512
+     // 		'banner_breadcrumb_background_color'    => '#374750',
513
+     // 		'banner_breadcrumb_text_color'          => '#919191',
514
+     // 		'banner_breadcrumb_text_selected_color' => '#ffffff',
515
+
516
+     // 		'background_color'                       => '#ffffff',
517
+     // 		'body_line_color'                        => '#dddddd',
518
+     // 		'body_text_heading_color'                => '#333333',
519
+     // 		'body_text_small_color'                  => '#919191',
520
+     // 		'body_text_color'                        => '#333333',
521
+     // 		'body_link_color'                        => '#8c6a45',
522
+     // 		'body_link_hover_color'                  => '#5b452e',
523
+     // 		'body_section_full_background_color'     => '#8c6a45',
524
+     // 		'body_section_full_text_color'           => '#ffffff',
525
+     // 		'body_section_full_link_color'           => '#eeeeee',
526
+     // 		'body_section_full_link_hover_color'     => '#dddddd',
527
+     // 		'body_section_full_cta_background_color' => '#333333',
528
+     // 		'body_section_full_cta_text_color'       => '#ffffff',
529
+     // 		'body_section_full_cta_link_color'       => '#eeeeee',
530
+     // 		'body_section_full_cta_link_hover_color' => '#dddddd',
531
+
532
+     // 		'footer_cta_background_color' => '#8c6a45',
533
+     // 		'footer_cta_text_color'       => '#ffffff',
534
+     // 		'footer_cta_link_color'       => '#8c6a45',
535
+     // 		'footer_cta_link_hover_color' => '#969696',
536
+
537
+     // 		'footer_widgets_background_color' => '#333333',
538
+     // 		'footer_widgets_text_color'       => '#ffffff',
539
+     // 		'footer_widgets_link_color'       => '#8c6a45',
540
+     // 		'footer_widgets_link_hover_color' => '#969696',
541
+
542
+     // 		'footer_background_color' => '#232222',
543
+     // 		'footer_text_color'       => '#ffffff',
544
+     // 		'footer_link_color'       => '#8c6a45',
545
+     // 		'footer_link_hover_color' => '#969696',
546
+     // 	) ),
547
+     // ),
548 548
 ) );
Please login to merge, or discard this patch.