PluginProbe
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) / 1.3.2
Darkify – Dark Mode & Night Mode for Website & Admin (Dark Theme Included) v1.3.2
2.1.3 2.1.2 2.1.1 2.1.0 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 trunk 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 All 57 releases
← All changes | src/Admin/Views/ColorControl.php +670 -759 2.0.11.3.2 View file →
@@ -1,8 +1,8 @@
1 1 <?php
2 2
3 3 /**
4 - * ColorControl class for Color options.
4 + * Views class for Shortcode generator options.
5 5 *
6 6 * @link https://themeatelier.net
7 7 * @since 1.0.0
8 8 *
@@ -12,9 +12,9 @@
12 12 */
13 13
14 14 namespace ThemeAtelier\Darkify\Admin\Views;
15 15
16 -use ThemeAtelier\Darkify\Admin\Schema\SchemaRegistry as Darkify;
16 +use ThemeAtelier\Darkify\Admin\Framework\Classes\Darkify;
17 17
18 18 class ColorControl
19 19 {
20 20 /**
@@ -24,795 +24,706 @@
24 24 * @return void
25 25 */
26 26 public static function options($prefix)
27 27 {
28 - Darkify::createSection(
29 - $prefix,
30 - array(
31 - 'title' => esc_html__('Colors', 'darkify'),
32 - 'icon' => 'icofont-paint',
33 - 'fields' => array(
28 + Darkify::createSection($prefix, array(
29 + 'title' => esc_html__('COLOR CONTROL', 'darkify'),
30 + 'icon' => 'icofont-paint',
31 + 'fields' => array(
32 + array(
33 + 'type' => 'heading',
34 + 'content' => esc_html__('Color Preset', 'darkify'),
35 + ),
36 + array(
37 + 'id' => 'color_pallets',
38 + 'type' => 'palette',
39 + 'class' => 'darkify_preset',
40 + 'title' => esc_html__('Choose a preset', 'darkify'),
41 + 'options' => array(
42 + 'set1' => array('#0F0F0F', '#BEBEBE', '#2D2D2D', '#4A4A4A', '#2D2D2D'),
43 + 'set2' => array('#092635', '#1B4242', '#5C8374', '#9EC8B9', '#5C8374'),
44 + 'set4' => array('#363062', '#435585', '#818FB4', '#F5E8C7', '#818FB4'),
45 + 'set5' => array('#22092C', '#435585', '#818FB4', '#F5E8C7', '#818FB4'),
46 + 'set6' => array('#352F44', '#5C5470', '#B9B4C7', '#FAF0E6', '#B9B4C7'),
47 + 'set9' => array('#082032', '#2C394B', '#334756', '#FF4C29', '#334756'),
48 + 'set10' => array('#1D2D50', '#133B5C', '#1E5F74', '#FCDAB7', '#1E5F74'),
49 + 'set11' => array('#142850', '#27496D', '#0C7B93', '#00A8CC', '#0C7B93'),
50 + ),
51 + 'default' => 'set1',
52 + ),
34 53
35 - array(
36 - 'type' => 'section_tab',
37 - 'tabs' => array(
38 - array(
39 - 'title' => esc_html__('Preset', 'darkify'),
40 - 'icon' => 'icofont-color-bucket',
41 - 'fields' => array(
42 - // Intro line, rendered plain above the section card.
43 - array(
44 - 'type' => 'page_hint',
45 - 'content' => esc_html__('Pick a dark-mode color preset, then fine-tune any individual color for your site.', 'darkify'),
46 - ),
47 - // ===== CHOOSE A PRESET =====
48 - array(
49 - 'type' => 'heading',
50 - 'title' => esc_html__('Choose A Preset', 'darkify'),
51 - 'section_start' => true,
52 - ),
53 - array(
54 - 'id' => 'color_pallets',
55 - 'type' => 'palette',
56 - 'class' => 'darkify_preset',
57 - // Title lifted to the section heading above; the field keeps only its
58 - // short description (rendered above the swatch grid by PaletteField).
59 - 'title_help' =>
60 - esc_html__('Choose from pre-made dark-mode color presets.', 'darkify'),
54 + array(
55 + 'type' => 'heading',
56 + 'content' => esc_html__('Color Customization', 'darkify'),
57 + ),
58 + // color pallate set 1
59 + array(
60 + 'id' => 'dark_mode_color_set1',
61 + 'type' => 'color_group',
62 + 'title' => esc_html__('Background', 'darkify'),
63 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
64 + 'dependency' => array('color_pallets', '==', 'set1', 'all'),
65 + 'options' => array(
66 + 'background' => esc_html__('Background Color', 'darkify'),
67 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
68 + ),
69 + 'default' => array(
70 + 'background' => '#0F0F0F',
71 + 'secondary_background' => '#171717',
72 + ),
73 + ),
74 + array(
75 + 'id' => 'dark_mode_link_color_set1',
76 + 'type' => 'color_group',
77 + 'title' => esc_html__('Text', 'darkify'),
78 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
79 + 'dependency' => array('color_pallets', '==', 'set1', 'all'),
80 + 'options' => array(
81 + 'text' => esc_html__('Text Color', 'darkify'),
82 + 'color' => esc_html__('Link Color', 'darkify'),
83 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
84 + ),
85 + 'default' => array(
86 + 'text' => '#BEBEBE',
87 + 'color' => '#FFFFFF',
88 + 'hover' => '#CCCCCC',
89 + ),
90 + ),
61 91
62 - 'options' => array(
63 - 'set1' => array(
64 - 'colors' => array('#0F0F0F', '#4A4A4A', '#BEBEBE', '#171717', '#2D2D2D'),
65 - 'name' => esc_html__('Carbon Mist', 'darkify'),
66 - ),
67 - 'set3' => array(
68 - 'colors' => array('#211e3c', '#B1BBD8', '#302C57', '#4E478D', '#2A264D'),
69 - 'name' => esc_html__('Midnight Reverie', 'darkify'),
70 - ),
71 - 'set9' => array(
72 - 'colors' => array('#04261d', '#C1D2BB', '#021e16', '#073d2f', '#095541'),
73 - 'name' => esc_html__('Verdant Depths', 'darkify'),
74 - ),
75 - 'set6' => array(
76 - 'colors' => array('#082032', '#B5D9F3', '#061825', '#144E78', '#0E3755'),
77 - 'name' => esc_html__('Celestial Tide', 'darkify'),
78 - ),
79 - 'set10' => array(
80 - 'colors' => array('#171004', '#E0D2BD', '#211706', '#372911', '#5D4010'),
81 - 'name' => esc_html__('Emberwood', 'darkify'),
82 - ),
83 - 'set2' => array(
84 - 'colors' => array('#092635', '#BEE0F1', '#081E29', '#123d52', '#195979'),
85 - 'name' => esc_html__('Glacier Drift', 'darkify'),
86 - 'pro_only' => true,
87 - ),
88 - 'set4' => array(
89 - 'colors' => array('#1d253a', '#B1BBD8', '#2B3655', '#46598C', '#242F4C'),
90 - 'name' => esc_html__('Indigo Veil', 'darkify'),
91 - 'pro_only' => true,
92 - ),
93 - 'set5' => array(
94 - 'colors' => array('#1b1823', '#C6C1D5', '#352f44', '#403953', '#54496f'),
95 - 'name' => esc_html__('Duskmire', 'darkify'),
96 - 'pro_only' => true,
97 - ),
98 - 'set7' => array(
99 - 'colors' => array('#07161b', '#C5E6F0', '#0d242e', '#286F8D', '#19495A'),
100 - 'name' => esc_html__('Tidal Frost', 'darkify'),
101 - 'pro_only' => true,
102 - ),
103 - 'set8' => array(
104 - 'colors' => array('#15274C', '#ACC1EA', '#112244', '#244892', '#1a2f5c'),
105 - 'name' => esc_html__('Blue Bastion', 'darkify'),
106 - 'pro_only' => true,
107 - ),
108 - 'set11' => array(
109 - 'colors' => array('#19081b', '#c09dc2', '#210a24', '#440649', '#2c082f'),
110 - 'name' => esc_html__('Crimson Veil', 'darkify'),
111 - 'pro_only' => true,
112 - ),
113 - ),
114 - 'default' => 'set1',
115 - ),
116 - array(
117 - 'type' => 'heading',
118 - 'title' => esc_html__('Customize Selected Preset', 'darkify'),
119 - 'section_start' => true,
120 - ),
92 + array(
93 + 'id' => 'dark_mode_input_color_set1',
94 + 'type' => 'color_group',
95 + 'title' => esc_html__('Input', 'darkify'),
96 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
97 + 'dependency' => array('color_pallets', '==', 'set1', 'all'),
98 + 'options' => array(
99 + 'background' => esc_html('Input Background', 'darkify'),
100 + 'color' => esc_html__('Input Text', 'darkify'),
101 + 'placeholder' => esc_html('Input Placeholder', 'darkify'),
102 + ),
103 + 'class' => 'only_pro',
104 + 'default' => array(
105 + 'color' => '#2D2D2D',
106 + 'placeholder' => '#989898',
107 + 'background' => '#BEBEBE',
108 + ),
109 + ),
121 110
122 - // color pallate set 1
123 - array(
124 - 'id' => 'dark_mode_color_set1',
125 - 'type' => 'color_group',
126 - 'title' => esc_html__('Background', 'darkify'),
127 - 'title_help' =>
128 - '<div class="darkify-info-label">' .
129 - __('Set the background colors used when dark mode is enabled on your website.', 'darkify') .
130 - '</div>',
131 - 'options' => array(
132 - 'background' => esc_html__('Primary', 'darkify'),
133 - 'secondary_background' => esc_html__('Secondary', 'darkify'),
134 - ),
111 + array(
112 + 'id' => 'dark_mode_border_color_set1',
113 + 'type' => 'color',
114 + 'title' => esc_html__('Border', 'darkify'),
115 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
116 + 'dependency' => array('color_pallets', '==', 'set1', 'all'),
117 + 'class' => 'only_pro',
118 + 'default' => '#4A4A4A',
119 + ),
120 + array(
121 + 'id' => 'dark_mode_btn_color_set1',
122 + 'type' => 'color_group',
123 + 'title' => esc_html__('Button', 'darkify'),
124 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
125 + 'dependency' => array('color_pallets', '==', 'set1', 'all'),
126 + 'options' => array(
127 + 'background' => esc_html('Button Background', 'darkify'),
128 + 'color' => esc_html__('Button Text', 'darkify'),
129 + ),
130 + 'class' => 'only_pro',
131 + 'default' => array(
132 + 'color' => '#2D2D2D',
133 + 'background' => '#BEBEBE',
134 + ),
135 + ),
135 136
136 - 'dependency' => array('color_pallets', '==', 'set1', 'all'),
137 - 'default' => array(
138 - 'background' => '#0F0F0F',
139 - 'secondary_background' => '#171717',
140 - ),
141 - ),
142 - array(
143 - 'id' => 'dark_mode_link_color_set1',
144 - 'type' => 'color_group',
145 - 'title' => esc_html__('Text', 'darkify'),
146 - 'title_help' =>
147 - '<div class="darkify-info-label">' .
148 - __('Set the text color of your website when dark mode is enabled.', 'darkify') .
149 - '</div>',
137 + // color pallate set 2
138 + array(
139 + 'id' => 'dark_mode_color_set2',
140 + 'type' => 'color_group',
141 + 'title' => esc_html__('Background', 'darkify'),
142 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
143 + 'dependency' => array('color_pallets', '==', 'set2', 'all'),
144 + 'options' => array(
145 + 'background' => esc_html__('Background Color', 'darkify'),
146 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
147 + ),
148 + 'default' => array(
149 + 'background' => '#092635',
150 + 'secondary_background' => '#1B4242',
151 + ),
152 + ),
153 + array(
154 + 'id' => 'dark_mode_link_color_set2',
155 + 'type' => 'color_group',
156 + 'title' => esc_html__('Text', 'darkify'),
157 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
158 + 'dependency' => array('color_pallets', '==', 'set2', 'all'),
159 + 'options' => array(
160 + 'text' => esc_html__('Text Color', 'darkify'),
161 + 'color' => esc_html__('Link Color', 'darkify'),
162 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
163 + ),
164 + 'default' => array(
165 + 'text' => '#9EC8B9',
166 + 'color' => '#FFFFFF',
167 + 'hover' => '#9EC8B9',
168 + ),
169 + ),
150 170
151 - 'dependency' => array('color_pallets', '==', 'set1', 'all'),
152 - 'class' => 'only_pro',
153 - 'options' => array(
154 - 'text' => esc_html__('Text Color', 'darkify'),
155 - 'color' => esc_html__('Link Color', 'darkify'),
156 - 'hover' => esc_html__('Link Hover Color', 'darkify'),
157 - ),
158 - 'default' => array(
159 - 'text' => '#BEBEBE',
160 - 'color' => '#E7E7E7',
161 - 'hover' => '#BEBEBE',
162 - ),
163 - ),
164 - array(
165 - 'id' => 'dark_mode_input_color_set1',
166 - 'type' => 'color_group',
167 - 'title' => esc_html__('Input', 'darkify'),
168 - 'title_help' =>
169 - '<div class="darkify-info-label">' .
170 - __('Set the input field colors of your website when dark mode is enabled.', 'darkify') .
171 - '</div>',
171 + array(
172 + 'id' => 'dark_mode_input_color_set2',
173 + 'type' => 'color_group',
174 + 'title' => esc_html__('Input', 'darkify'),
175 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
176 + 'dependency' => array('color_pallets', '==', 'set2', 'all'),
177 + 'options' => array(
178 + 'color' => esc_html__('Input Text', 'darkify'),
179 + 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
180 + 'background' => esc_html__('Input Background', 'darkify'),
181 + ),
182 + 'class' => 'only_pro',
183 + 'default' => array(
184 + 'color' => '#092635',
185 + 'placeholder' => '#989898',
186 + 'background' => '#BEBEBE',
187 + ),
188 + ),
172 189
173 - 'dependency' => array('color_pallets', '==', 'set1', 'all'),
174 - 'class' => 'only_pro',
175 - 'options' => array(
176 - 'color' => esc_html__('Input Text', 'darkify'),
177 - 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
178 - 'background' => esc_html__('Input Background', 'darkify'),
179 - ),
190 + array(
191 + 'id' => 'dark_mode_border_color_set2',
192 + 'type' => 'color',
193 + 'title' => esc_html__('Border', 'darkify'),
194 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
195 + 'dependency' => array('color_pallets', '==', 'set2', 'all'),
196 + 'class' => 'only_pro',
197 + 'default' => '#5C8374',
198 + ),
199 + array(
200 + 'id' => 'dark_mode_btn_color_set2',
201 + 'type' => 'color_group',
202 + 'title' => esc_html__('Button', 'darkify'),
203 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
204 + 'dependency' => array('color_pallets', '==', 'set2', 'all'),
205 + 'options' => array(
206 + 'color' => esc_html__('Button Text', 'darkify'),
207 + 'background' => esc_html__('Button Background', 'darkify'),
208 + ),
209 + 'class' => 'only_pro',
210 + 'default' => array(
211 + 'color' => '#1B4242',
212 + 'background' => '#BEBEBE',
213 + ),
214 + ),
180 215
181 - 'default' => array(
182 - 'color' => '#BEBEBE',
183 - 'placeholder' => '#BEBEBE',
184 - 'background' => '#2D2D2D',
185 - ),
186 - ),
187 - array(
188 - 'id' => 'dark_mode_border_color_set1',
189 - 'type' => 'color',
190 - 'title' => esc_html__('Border', 'darkify'),
191 - 'title_help' =>
192 - '<div class="darkify-info-label">' .
193 - __('Set the border color of your website when dark mode is enabled.', 'darkify') .
194 - '</div>',
216 + // color pallate set 4
217 + array(
218 + 'id' => 'dark_mode_color_set4',
219 + 'type' => 'color_group',
220 + 'title' => esc_html__('Background', 'darkify'),
221 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
222 + 'dependency' => array('color_pallets', '==', 'set4', 'all'),
223 + 'options' => array(
224 + 'background' => esc_html__('Background Color', 'darkify'),
225 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
226 + ),
227 + 'default' => array(
228 + 'background' => '#363062',
229 + 'secondary_background' => '#435585',
230 + ),
231 + ),
232 + array(
233 + 'id' => 'dark_mode_link_color_set4',
234 + 'type' => 'color_group',
235 + 'title' => esc_html__('Text', 'darkify'),
236 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
237 + 'dependency' => array('color_pallets', '==', 'set4', 'all'),
238 + 'options' => array(
239 + 'text' => esc_html__('Text Color', 'darkify'),
240 + 'color' => esc_html__('Link Color', 'darkify'),
241 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
242 + ),
243 + 'default' => array(
244 + 'text' => '#F5E8C7',
245 + 'color' => '#FFFFFF',
246 + 'hover' => '#F5E8C7',
247 + ),
248 + ),
195 249
196 - 'class' => 'only_pro',
197 - 'dependency' => array('color_pallets', '==', 'set1', 'all'),
198 - 'default' => '#4A4A4A',
199 - ),
200 - array(
201 - 'id' => 'dark_mode_btn_color_set1',
202 - 'type' => 'color_group',
203 - 'title' => esc_html__('Button', 'darkify'),
204 - 'title_help' =>
205 - '<div class="darkify-info-label">' .
206 - __('Set the button colors of your website when dark mode is enabled.', 'darkify') .
207 - '</div>',
250 + array(
251 + 'id' => 'dark_mode_input_color_set4',
252 + 'type' => 'color_group',
253 + 'title' => esc_html__('Input', 'darkify'),
254 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
255 + 'dependency' => array('color_pallets', '==', 'set4', 'all'),
256 + 'options' => array(
257 + 'color' => esc_html__('Input Text', 'darkify'),
258 + 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
259 + 'background' => esc_html__('Input Background', 'darkify'),
260 + ),
261 + 'class' => 'only_pro',
262 + 'default' => array(
263 + 'color' => '#363062',
264 + 'placeholder' => '#989898',
265 + 'background' => '#BEBEBE',
266 + ),
267 + ),
208 268
209 - 'options' => array(
210 - 'color' => esc_html__('Text Color', 'darkify'),
211 - 'background' => esc_html__('Background', 'darkify'),
212 - 'hover_color' => esc_html__('Hover Text Color', 'darkify'),
213 - 'hover_background' => esc_html__('Hover Background', 'darkify'),
214 - ),
269 + array(
270 + 'id' => 'dark_mode_border_color_set4',
271 + 'type' => 'color',
272 + 'title' => esc_html__('Border', 'darkify'),
273 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
274 + 'dependency' => array('color_pallets', '==', 'set4', 'all'),
275 + 'class' => 'only_pro',
276 + 'default' => '#818FB4',
277 + ),
278 + array(
279 + 'id' => 'dark_mode_btn_color_set4',
280 + 'type' => 'color_group',
281 + 'title' => esc_html__('Button', 'darkify'),
282 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
283 + 'dependency' => array('color_pallets', '==', 'set4', 'all'),
284 + 'options' => array(
285 + 'color' => esc_html__('Button Text', 'darkify'),
286 + 'background' => esc_html__('Button Background', 'darkify'),
287 + ),
288 + 'class' => 'only_pro',
289 + 'default' => array(
290 + 'color' => '#435585',
291 + 'background' => '#BEBEBE',
292 + ),
293 + ),
215 294
216 - 'class' => 'only_pro',
217 - 'dependency' => array('color_pallets', '==', 'set1', 'all'),
218 - 'default' => array(
219 - 'color' => '#BEBEBE',
220 - 'background' => '#4A4A4A',
221 - 'hover_color' => '#BEBEBE',
222 - 'hover_background' => '#2D2D2D',
223 - ),
224 - ),
225 - // color pallate set 3
226 - array(
227 - 'id' => 'dark_mode_color_set3',
228 - 'type' => 'color_group',
229 - 'title' => esc_html__('Background', 'darkify'),
230 - 'title_help' =>
231 - '<div class="darkify-info-label">' .
232 - __('Set the background color of your website when dark mode is enabled.', 'darkify') .
233 - '</div>',
295 + // color pallate set 5
234 296
235 - 'options' => array(
236 - 'background' => esc_html__('Primary', 'darkify'),
237 - 'secondary_background' => esc_html__('Secondary', 'darkify'),
238 - ),
239 - 'dependency' => array('color_pallets', '==', 'set3', 'all'),
297 + array(
298 + 'id' => 'dark_mode_color_set5',
299 + 'type' => 'color_group',
300 + 'title' => esc_html__('Background', 'darkify'),
301 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
302 + 'dependency' => array('color_pallets', '==', 'set5', 'all'),
303 + 'options' => array(
304 + 'background' => esc_html__('Background Color', 'darkify'),
305 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
306 + ),
307 + 'default' => array(
308 + 'background' => '#22092C',
309 + 'secondary_background' => '#435585',
310 + ),
311 + ),
312 + array(
313 + 'id' => 'dark_mode_link_color_set5',
314 + 'type' => 'color_group',
315 + 'title' => esc_html__('Text', 'darkify'),
316 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
317 + 'dependency' => array('color_pallets', '==', 'set5', 'all'),
318 + 'options' => array(
319 + 'text' => esc_html__('Text Color', 'darkify'),
320 + 'color' => esc_html__('Link Color', 'darkify'),
321 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
322 + ),
323 + 'default' => array(
324 + 'text' => '#F5E8C7',
325 + 'color' => '#FFFFFF',
326 + 'hover' => '#F5E8C7',
327 + ),
328 + ),
240 329
241 - 'default' => array(
242 - 'background' => '#211e3c',
243 - 'secondary_background' => '#302C57',
244 - ),
245 - ),
246 - array(
247 - 'id' => 'dark_mode_link_color_set3',
248 - 'type' => 'color_group',
249 - 'title' => esc_html__('Text', 'darkify'),
250 - 'title_help' =>
251 - '<div class="darkify-info-label">' .
252 - __('Set the text and link colors of your website when dark mode is enabled.', 'darkify') .
253 - '</div>',
330 + array(
331 + 'id' => 'dark_mode_input_color_set5',
332 + 'type' => 'color_group',
333 + 'title' => esc_html__('Input', 'darkify'),
334 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
335 + 'dependency' => array('color_pallets', '==', 'set5', 'all'),
336 + 'options' => array(
337 + 'color' => esc_html__('Input Text', 'darkify'),
338 + 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
339 + 'background' => esc_html__('Input Background', 'darkify'),
340 + ),
341 + 'class' => 'only_pro',
342 + 'default' => array(
343 + 'color' => '#22092C',
344 + 'placeholder' => '#989898',
345 + 'background' => '#BEBEBE',
346 + ),
347 + ),
254 348
255 - 'options' => array(
256 - 'text' => esc_html__('Text Color', 'darkify'),
257 - 'color' => esc_html__('Link Color', 'darkify'),
258 - 'hover' => esc_html__('Link Hover Color', 'darkify'),
259 - ),
349 + array(
350 + 'id' => 'dark_mode_border_color_set5',
351 + 'type' => 'color',
352 + 'title' => esc_html__('Border', 'darkify'),
353 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
354 + 'dependency' => array('color_pallets', '==', 'set5', 'all'),
355 + 'class' => 'only_pro',
356 + 'default' => '#818FB4',
357 + ),
358 + array(
359 + 'id' => 'dark_mode_btn_color_set5',
360 + 'type' => 'color_group',
361 + 'title' => esc_html__('Button', 'darkify'),
362 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
363 + 'dependency' => array('color_pallets', '==', 'set5', 'all'),
364 + 'options' => array(
365 + 'color' => esc_html__('Button Text', 'darkify'),
366 + 'background' => esc_html__('Button Background', 'darkify'),
367 + ),
368 + 'class' => 'only_pro',
369 + 'default' => array(
370 + 'color' => '#435585',
371 + 'background' => '#BEBEBE',
372 + ),
373 + ),
260 374
261 - 'class' => 'only_pro',
262 - 'dependency' => array('color_pallets', '==', 'set3', 'all'),
263 - 'default' => array(
264 - 'text' => '#B1BBD8',
265 - 'color' => '#8071fb',
266 - 'hover' => '#B1BBD8',
267 - ),
268 - ),
269 - array(
270 - 'id' => 'dark_mode_input_color_set3',
271 - 'type' => 'color_group',
272 - 'title' => esc_html__('Input', 'darkify'),
273 - 'title_help' =>
274 - '<div class="darkify-info-label">' .
275 - __('Set the input field color of your website when dark mode is enabled.', 'darkify') .
276 - '</div>',
375 + // color pallate set 6
277 376
278 - 'options' => array(
279 - 'color' => esc_html__('Input Text', 'darkify'),
280 - 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
281 - 'background' => esc_html__('Input Background', 'darkify'),
282 - ),
377 + array(
378 + 'id' => 'dark_mode_color_set6',
379 + 'type' => 'color_group',
380 + 'title' => esc_html__('Background', 'darkify'),
381 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
382 + 'dependency' => array('color_pallets', '==', 'set6', 'all'),
383 + 'options' => array(
384 + 'background' => esc_html__('Background Color', 'darkify'),
385 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
386 + ),
387 + 'default' => array(
388 + 'background' => '#352F44',
389 + 'secondary_background' => '#5C5470',
390 + ),
391 + ),
392 + array(
393 + 'id' => 'dark_mode_link_color_set6',
394 + 'type' => 'color_group',
395 + 'title' => esc_html__('Text', 'darkify'),
396 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
397 + 'dependency' => array('color_pallets', '==', 'set6', 'all'),
398 + 'options' => array(
399 + 'text' => esc_html__('Text Color', 'darkify'),
400 + 'color' => esc_html__('Link Color', 'darkify'),
401 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
402 + ),
403 + 'default' => array(
404 + 'text' => '#FAF0E6',
405 + 'color' => '#FFFFFF',
406 + 'hover' => '#FAF0E6',
407 + ),
408 + ),
283 409
284 - 'class' => 'only_pro',
285 - 'dependency' => array('color_pallets', '==', 'set3', 'all'),
286 - 'default' => array(
287 - 'color' => '#B1BBD8',
288 - 'placeholder' => '#B1BBD8',
289 - 'background' => '#2A264D',
290 - ),
291 - ),
292 - array(
293 - 'id' => 'dark_mode_border_color_set3',
294 - 'type' => 'color',
295 - 'title' => esc_html__('Border', 'darkify'),
296 - 'title_help' =>
297 - '<div class="darkify-info-label">' .
298 - __('Set the border color of your website when dark mode is enabled.', 'darkify') .
299 - '</div>',
410 + array(
411 + 'id' => 'dark_mode_input_color_set6',
412 + 'type' => 'color_group',
413 + 'title' => esc_html__('Input', 'darkify'),
414 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
415 + 'dependency' => array('color_pallets', '==', 'set6', 'all'),
416 + 'options' => array(
417 + 'color' => esc_html__('Input Text', 'darkify'),
418 + 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
419 + 'background' => esc_html__('Input Background', 'darkify'),
420 + ),
421 + 'class' => 'only_pro',
422 + 'default' => array(
423 + 'color' => '#352F44',
424 + 'placeholder' => '#989898',
425 + 'background' => '#BEBEBE',
426 + ),
427 + ),
300 428
301 - 'class' => 'only_pro',
302 - 'dependency' => array('color_pallets', '==', 'set3', 'all'),
303 - 'default' => '#4E478D',
304 - ),
305 - array(
306 - 'id' => 'dark_mode_btn_color_set3',
307 - 'type' => 'color_group',
308 - 'title' => esc_html__('Button', 'darkify'),
309 - 'title_help' =>
310 - '<div class="darkify-info-label">' .
311 - __('Set the button colors of your website when dark mode is enabled.', 'darkify') .
312 - '</div>',
313 - 'options' => array(
314 - 'color' => esc_html__('Text Color', 'darkify'),
315 - 'background' => esc_html__('Background', 'darkify'),
316 - 'hover_color' => esc_html__('Hover Text Color', 'darkify'),
317 - 'hover_background' => esc_html__('Hover Background', 'darkify'),
318 - ),
429 + array(
430 + 'id' => 'dark_mode_border_color_set6',
431 + 'type' => 'color',
432 + 'title' => esc_html__('Border', 'darkify'),
433 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
434 + 'dependency' => array('color_pallets', '==', 'set6', 'all'),
435 + 'class' => 'only_pro',
436 + 'default' => '#5C5470',
437 + ),
438 + array(
439 + 'id' => 'dark_mode_btn_color_set6',
440 + 'type' => 'color_group',
441 + 'title' => esc_html__('Button', 'darkify'),
442 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
443 + 'dependency' => array('color_pallets', '==', 'set6', 'all'),
444 + 'options' => array(
445 + 'color' => esc_html__('Button Text', 'darkify'),
446 + 'background' => esc_html__('Button Background', 'darkify'),
447 + ),
448 + 'class' => 'only_pro',
449 + 'default' => array(
450 + 'color' => '#5C5470',
451 + 'background' => '#BEBEBE',
452 + ),
453 + ),
319 454
320 - 'class' => 'only_pro',
321 - 'dependency' => array('color_pallets', '==', 'set3', 'all'),
322 - 'default' => array(
323 - 'color' => '#4E478D',
324 - 'background' => '#B1BBD8',
325 - 'hover_color' => '#B1BBD8',
326 - 'hover_background' => '#2A264D',
327 - ),
328 - ),
329 - // color pallate set 6
330 - array(
331 - 'id' => 'dark_mode_color_set6',
332 - 'type' => 'color_group',
333 - 'title' => esc_html__('Background', 'darkify'),
334 - 'title_help' =>
335 - '<div class="darkify-info-label">' .
336 - __('Set the background color of your website when dark mode is enabled.', 'darkify') .
337 - '</div>',
338 - 'options' => array(
339 - 'background' => esc_html__('Primary', 'darkify'),
340 - 'secondary_background' => esc_html__('Secondary', 'darkify'),
341 - ),
342 455
343 - 'dependency' => array('color_pallets', '==', 'set6', 'all'),
344 - 'default' => array(
345 - 'background' => '#082032',
346 - 'secondary_background' => '#2C394B',
347 - ),
348 - ),
349 - array(
350 - 'id' => 'dark_mode_link_color_set6',
351 - 'type' => 'color_group',
352 - 'title' => esc_html__('Text', 'darkify'),
353 - 'title_help' =>
354 - '<div class="darkify-info-label">' .
355 - __('Set the text color of your website when dark mode is enabled.', 'darkify') .
356 - '</div>',
357 - 'options' => array(
358 - 'text' => esc_html__('Text Color', 'darkify'),
359 - 'color' => esc_html__('Link Color', 'darkify'),
360 - 'hover' => esc_html__('Link Hover Color', 'darkify'),
361 - ),
362 456
363 - 'class' => 'only_pro',
364 - 'dependency' => array('color_pallets', '==', 'set6', 'all'),
365 - 'default' => array(
366 - 'text' => '#B5D9F3',
367 - 'color' => '#61bbff',
368 - 'hover' => '#B5D9F3',
369 - ),
370 - ),
457 + // color pallate set 9
371 458
372 - array(
373 - 'id' => 'dark_mode_input_color_set6',
374 - 'type' => 'color_group',
375 - 'title' => esc_html__('Input', 'darkify'),
376 - 'title_help' =>
377 - '<div class="darkify-info-label">' .
378 - __('Set the input field color of your website when dark mode is enabled.', 'darkify') .
379 - '</div>',
459 + array(
460 + 'id' => 'dark_mode_color_set9',
461 + 'type' => 'color_group',
462 + 'title' => esc_html__('Background', 'darkify'),
463 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
464 + 'dependency' => array('color_pallets', '==', 'set9', 'all'),
465 + 'options' => array(
466 + 'background' => esc_html__('Background Color', 'darkify'),
467 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
468 + ),
469 + 'default' => array(
470 + 'background' => '#082032',
471 + 'secondary_background' => '#2C394B',
472 + ),
473 + ),
474 + array(
475 + 'id' => 'dark_mode_link_color_set9',
476 + 'type' => 'color_group',
477 + 'title' => esc_html__('Text', 'darkify'),
478 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
479 + 'dependency' => array('color_pallets', '==', 'set9', 'all'),
480 + 'options' => array(
481 + 'text' => esc_html__('Text Color', 'darkify'),
482 + 'color' => esc_html__('Link Color', 'darkify'),
483 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
484 + ),
485 + 'default' => array(
486 + 'text' => '#FF4C29',
487 + 'color' => '#FFFFFF',
488 + 'hover' => '#CCCCCC',
489 + ),
490 + ),
380 491
381 - 'options' => array(
382 - 'color' => esc_html__('Input Text', 'darkify'),
383 - 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
384 - 'background' => esc_html__('Input Background', 'darkify'),
385 - ),
492 + array(
493 + 'id' => 'dark_mode_input_color_set9',
494 + 'type' => 'color_group',
495 + 'title' => esc_html__('Input', 'darkify'),
496 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
497 + 'dependency' => array('color_pallets', '==', 'set9', 'all'),
498 + 'options' => array(
499 + 'color' => esc_html__('Input Text', 'darkify'),
500 + 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
501 + 'background' => esc_html__('Input Background', 'darkify'),
502 + ),
503 + 'class' => 'only_pro',
504 + 'default' => array(
505 + 'color' => '#334756',
506 + 'placeholder' => '#989898',
507 + 'background' => '#BEBEBE',
508 + ),
509 + ),
386 510
387 - 'class' => 'only_pro',
388 - 'dependency' => array('color_pallets', '==', 'set6', 'all'),
389 - 'default' => array(
390 - 'color' => '#B5D9F3',
391 - 'placeholder' => '#B5D9F3',
392 - 'background' => '#0E3755',
393 - ),
394 - ),
511 + array(
512 + 'id' => 'dark_mode_border_color_set9',
513 + 'type' => 'color',
514 + 'title' => esc_html__('Border', 'darkify'),
515 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
516 + 'dependency' => array('color_pallets', '==', 'set9', 'all'),
517 + 'class' => 'only_pro',
518 + 'default' => '#334756',
519 + ),
520 + array(
521 + 'id' => 'dark_mode_btn_color_set9',
522 + 'type' => 'color_group',
523 + 'title' => esc_html__('Button', 'darkify'),
524 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
525 + 'dependency' => array('color_pallets', '==', 'set9', 'all'),
526 + 'options' => array(
527 + 'color' => esc_html__('Button Text', 'darkify'),
528 + 'background' => esc_html__('Button Background', 'darkify'),
529 + ),
530 + 'class' => 'only_pro',
531 + 'default' => array(
532 + 'color' => '#2C394B',
533 + 'background' => '#BEBEBE',
534 + ),
535 + ),
395 536
396 - array(
397 - 'id' => 'dark_mode_border_color_set6',
398 - 'type' => 'color',
399 - 'title' => esc_html__('Border', 'darkify'),
400 - 'title_help' =>
401 - '<div class="darkify-info-label">' .
402 - __('Set the border color of your website when dark mode is enabled.', 'darkify') .
403 - '</div>',
537 + // color pallate set 10
538 + array(
539 + 'id' => 'dark_mode_color_set10',
540 + 'type' => 'color_group',
541 + 'title' => esc_html__('Background', 'darkify'),
542 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
543 + 'dependency' => array('color_pallets', '==', 'set10', 'all'),
544 + 'options' => array(
545 + 'background' => esc_html__('Background Color', 'darkify'),
546 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
547 + ),
548 + 'default' => array(
549 + 'background' => '#1D2D50',
550 + 'secondary_background' => '#133B5C',
551 + ),
552 + ),
553 + array(
554 + 'id' => 'dark_mode_link_color_set10',
555 + 'type' => 'color_group',
556 + 'title' => esc_html__('Text', 'darkify'),
557 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
558 + 'dependency' => array('color_pallets', '==', 'set10', 'all'),
559 + 'options' => array(
560 + 'text' => esc_html__('Text Color', 'darkify'),
561 + 'color' => esc_html__('Link Color', 'darkify'),
562 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
563 + ),
564 + 'default' => array(
565 + 'text' => '#FCDAB7',
566 + 'color' => '#FFFFFF',
567 + 'hover' => '#FCDAB7',
568 + ),
569 + ),
404 570
405 - 'class' => 'only_pro',
406 - 'dependency' => array('color_pallets', '==', 'set6', 'all'),
407 - 'default' => '#3B4D65',
408 - ),
409 - array(
410 - 'id' => 'dark_mode_btn_color_set6',
411 - 'type' => 'color_group',
412 - 'title' => esc_html__('Button', 'darkify'),
413 - 'title_help' =>
414 - '<div class="darkify-info-label">' .
415 - __('Set the button colors of your website when dark mode is enabled.', 'darkify') .
416 - '</div>',
417 - 'options' => array(
418 - 'color' => esc_html__('Text Color', 'darkify'),
419 - 'background' => esc_html__('Background', 'darkify'),
420 - 'hover_color' => esc_html__('Hover Text Color', 'darkify'),
421 - 'hover_background' => esc_html__('Hover Background', 'darkify'),
422 - ),
571 + array(
572 + 'id' => 'dark_mode_input_color_set10',
573 + 'type' => 'color_group',
574 + 'title' => esc_html__('Input', 'darkify'),
575 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
576 + 'dependency' => array('color_pallets', '==', 'set10', 'all'),
577 + 'options' => array(
578 + 'color' => esc_html__('Input Text', 'darkify'),
579 + 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
580 + 'background' => esc_html__('Input Background', 'darkify'),
581 + ),
582 + 'class' => 'only_pro',
583 + 'default' => array(
584 + 'color' => '#1E5F74',
585 + 'placeholder' => '#989898',
586 + 'background' => '#BEBEBE',
587 + ),
588 + ),
423 589
424 - 'class' => 'only_pro',
425 - 'dependency' => array('color_pallets', '==', 'set6', 'all'),
590 + array(
591 + 'id' => 'dark_mode_border_color_set10',
592 + 'type' => 'color',
593 + 'title' => esc_html__('Border', 'darkify'),
594 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
595 + 'dependency' => array('color_pallets', '==', 'set10', 'all'),
596 + 'class' => 'only_pro',
597 + 'default' => '#1E5F74',
598 + ),
599 + array(
600 + 'id' => 'dark_mode_btn_color_set10',
601 + 'type' => 'color_group',
602 + 'title' => esc_html__('Button', 'darkify'),
603 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
604 + 'dependency' => array('color_pallets', '==', 'set10', 'all'),
605 + 'options' => array(
606 + 'color' => esc_html__('Button Text', 'darkify'),
607 + 'background' => esc_html__('Button Background', 'darkify'),
608 + ),
609 + 'class' => 'only_pro',
610 + 'default' => array(
611 + 'color' => '#133B5C',
612 + 'background' => '#BEBEBE',
613 + ),
614 + ),
426 615
427 - 'default' => array(
428 - 'color' => '#B5D9F3',
429 - 'background' => '#3B4D65',
430 - 'hover_color' => '#B5D9F3',
431 - 'hover_background' => '#144E78',
432 - ),
433 - ),
434 - // color pallate set 9
435 - array(
436 - 'id' => 'dark_mode_color_set9',
437 - 'type' => 'color_group',
438 - 'title' => esc_html__('Background', 'darkify'),
439 - 'title_help' =>
440 - '<div class="darkify-info-label">' .
441 - __('Set the background color of your website when dark mode is enabled.', 'darkify') .
442 - '</div>',
616 + // color pallate set 11
617 + array(
618 + 'id' => 'dark_mode_color_set11',
619 + 'type' => 'color_group',
620 + 'title' => esc_html__('Background', 'darkify'),
621 + 'desc' => esc_html__('Set the background color of your website when dark mode is enabled.', 'darkify'),
622 + 'dependency' => array('color_pallets', '==', 'set11', 'all'),
623 + 'options' => array(
624 + 'background' => esc_html__('Background Color', 'darkify'),
625 + 'secondary_background' => esc_html__('Secondary Background', 'darkify'),
626 + ),
627 + 'default' => array(
628 + 'background' => '#142850',
629 + 'secondary_background' => '#27496D',
630 + ),
631 + ),
632 + array(
633 + 'id' => 'dark_mode_link_color_set11',
634 + 'type' => 'color_group',
635 + 'title' => esc_html__('Text', 'darkify'),
636 + 'desc' => esc_html__('Set the text color of your website when dark mode is enabled.', 'darkify'),
637 + 'dependency' => array('color_pallets', '==', 'set11', 'all'),
638 + 'options' => array(
639 + 'text' => esc_html__('Text Color', 'darkify'),
640 + 'color' => esc_html__('Link Color', 'darkify'),
641 + 'hover' => esc_html__('Link Hover Color', 'darkify'),
642 + ),
643 + 'default' => array(
644 + 'text' => '#00A8CC',
645 + 'color' => '#FFFFFF',
646 + 'hover' => '#00A8CC',
647 + ),
648 + ),
443 649
444 - 'dependency' => array('color_pallets', '==', 'set9', 'all'),
650 + array(
651 + 'id' => 'dark_mode_input_color_set11',
652 + 'type' => 'color_group',
653 + 'title' => esc_html__('Input', 'darkify'),
654 + 'desc' => esc_html__('Set the input field color of your website when dark mode is enabled.', 'darkify'),
655 + 'dependency' => array('color_pallets', '==', 'set11', 'all'),
656 + 'options' => array(
657 + 'color' => esc_html__('Input Text', 'darkify'),
658 + 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
659 + 'background' => esc_html__('Input Background', 'darkify'),
660 + ),
661 + 'class' => 'only_pro',
662 + 'default' => array(
663 + 'color' => '#0C7B93',
664 + 'placeholder' => '#989898',
665 + 'background' => '#BEBEBE',
666 + ),
667 + ),
445 668
446 - 'options' => array(
447 - 'background' => esc_html__('Primary', 'darkify'),
448 - 'secondary_background' => esc_html__('Secondary', 'darkify'),
449 - ),
450 -
451 - 'default' => array(
452 - 'background' => '#04261d',
453 - 'secondary_background' => '#021e16',
454 - ),
455 - ),
456 - array(
457 - 'id' => 'dark_mode_link_color_set9',
458 - 'type' => 'color_group',
459 - 'title' => esc_html__('Text', 'darkify'),
460 - 'title_help' =>
461 - '<div class="darkify-info-label">' .
462 - __('Set the text and link colors of your website when dark mode is enabled.', 'darkify') .
463 - '</div>',
464 - 'options' => array(
465 - 'text' => esc_html__('Text Color', 'darkify'),
466 - 'color' => esc_html__('Link Color', 'darkify'),
467 - 'hover' => esc_html__('Link Hover Color', 'darkify'),
468 - ),
469 -
470 - 'class' => 'only_pro',
471 - 'dependency' => array('color_pallets', '==', 'set9', 'all'),
472 - 'default' => array(
473 - 'text' => '#C1D2BB',
474 - 'color' => '#00d29a',
475 - 'hover' => '#C1D2BB',
476 - ),
477 - ),
478 -
479 - array(
480 - 'id' => 'dark_mode_input_color_set9',
481 - 'type' => 'color_group',
482 - 'title' => esc_html__('Input', 'darkify'),
483 - 'title_help' =>
484 - '<div class="darkify-info-label">' .
485 - __('Set the input field colors of your website when dark mode is enabled.', 'darkify') .
486 - '</div>',
487 -
488 - 'options' => array(
489 - 'color' => esc_html__('Input Text', 'darkify'),
490 - 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
491 - 'background' => esc_html__('Input Background', 'darkify'),
492 - ),
493 -
494 - 'class' => 'only_pro',
495 - 'dependency' => array('color_pallets', '==', 'set9', 'all'),
496 - 'default' => array(
497 - 'color' => '#C1D2BB',
498 - 'placeholder' => '#C1D2BB',
499 - 'background' => '#073d2f',
500 - ),
501 - ),
502 -
503 - array(
504 - 'id' => 'dark_mode_border_color_set9',
505 - 'type' => 'color',
506 - 'title' => esc_html__('Border', 'darkify'),
507 - 'title_help' =>
508 - '<div class="darkify-info-label">' .
509 - __('Set the border color of your website when dark mode is enabled.', 'darkify') .
510 - '</div>',
511 -
512 - 'class' => 'only_pro',
513 - 'dependency' => array('color_pallets', '==', 'set9', 'all'),
514 - 'default' => '#095541',
515 - ),
516 - array(
517 - 'id' => 'dark_mode_btn_color_set9',
518 - 'type' => 'color_group',
519 - 'title' => esc_html__('Button', 'darkify'),
520 - 'title_help' => '<div class="darkify-info-label">' .
521 - __('Set the button colors of your website when dark mode is enabled.', 'darkify') .
522 - '</div>',
523 - 'options' => array(
524 - 'color' => esc_html__('Text Color', 'darkify'),
525 - 'background' => esc_html__('Background', 'darkify'),
526 - 'hover_color' => esc_html__('Hover Text Color', 'darkify'),
527 - 'hover_background' => esc_html__('Hover Background', 'darkify'),
528 - ),
529 - 'class' => 'only_pro',
530 - 'dependency' => array('color_pallets', '==', 'set9', 'all'),
531 - 'default' => array(
532 - 'color' => '#C1D2BB',
533 - 'background' => '#095541',
534 - 'hover_color' => '#C1D2BB',
535 - 'hover_background' => '#073d2f',
536 - ),
537 - ),
538 - // color pallate set 10
539 - array(
540 - 'id' => 'dark_mode_color_set10',
541 - 'type' => 'color_group',
542 - 'title' => esc_html__('Background', 'darkify'),
543 - 'title_help' =>
544 - '<div class="darkify-info-label">' .
545 - __('Set the background color of your website when dark mode is enabled.', 'darkify') .
546 - '</div>',
547 - 'options' => array(
548 - 'background' => esc_html__('Primary', 'darkify'),
549 - 'secondary_background' => esc_html__('Secondary', 'darkify'),
550 - ),
551 -
552 - 'dependency' => array('color_pallets', '==', 'set10', 'all'),
553 - 'default' => array(
554 - 'background' => '#171004',
555 - 'secondary_background' => '#211706',
556 - ),
557 - ),
558 - array(
559 - 'id' => 'dark_mode_link_color_set10',
560 - 'type' => 'color_group',
561 - 'title' => esc_html__('Text', 'darkify'),
562 - 'title_help' =>
563 - '<div class="darkify-info-label">' .
564 - __('Set the text color of your website when dark mode is enabled.', 'darkify') .
565 - '</div>',
566 - 'options' => array(
567 - 'text' => esc_html__('Text Color', 'darkify'),
568 - 'color' => esc_html__('Link Color', 'darkify'),
569 - 'hover' => esc_html__('Link Hover Color', 'darkify'),
570 - ),
571 -
572 - 'class' => 'only_pro',
573 - 'dependency' => array('color_pallets', '==', 'set10', 'all'),
574 - 'default' => array(
575 - 'text' => '#E0D2BD',
576 - 'color' => '#e09525',
577 - 'hover' => '#E0D2BD',
578 - ),
579 - ),
580 -
581 - array(
582 - 'id' => 'dark_mode_input_color_set10',
583 - 'type' => 'color_group',
584 - 'title' => esc_html__('Input', 'darkify'),
585 - 'title_help' =>
586 - '<div class="darkify-info-label">' .
587 - __('Set the input field colors of your website when dark mode is enabled.', 'darkify') .
588 - '</div>',
589 -
590 - 'options' => array(
591 - 'color' => esc_html__('Input Text', 'darkify'),
592 - 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
593 - 'background' => esc_html__('Input Background', 'darkify'),
594 - ),
595 -
596 - 'class' => 'only_pro',
597 - 'dependency' => array('color_pallets', '==', 'set10', 'all'),
598 -
599 - 'default' => array(
600 - 'color' => '#E0D2BD',
601 - 'placeholder' => '#E0D2BD',
602 - 'background' => '#372911',
603 - ),
604 - ),
605 -
606 - array(
607 - 'id' => 'dark_mode_border_color_set10',
608 - 'type' => 'color',
609 - 'title' => esc_html__('Border', 'darkify'),
610 - 'title_help' =>
611 - '<div class="darkify-info-label">' .
612 - __('Set the border color of your website when dark mode is enabled.', 'darkify') .
613 - '</div>',
614 -
615 - 'class' => 'only_pro',
616 - 'dependency' => array('color_pallets', '==', 'set10', 'all'),
617 - 'default' => '#5D4010',
618 - ),
619 - array(
620 - 'id' => 'dark_mode_btn_color_set10',
621 - 'type' => 'color_group',
622 - 'title' => esc_html__('Button', 'darkify'),
623 - 'title' => esc_html__('Button', 'darkify'),
624 - 'title_help' =>
625 - '<div class="darkify-info-label">' .
626 - __('Set the color of buttons on your website when dark mode is enabled.', 'darkify') .
627 - '</div>',
628 - 'options' => array(
629 - 'color' => esc_html__('Button Text', 'darkify'),
630 - 'background' => esc_html__('Button Background', 'darkify'),
631 - 'hover_color' => esc_html__('Hover Text', 'darkify'),
632 - 'hover_background' => esc_html__('Hover Background', 'darkify'),
633 - ),
634 -
635 - 'class' => 'only_pro',
636 - 'dependency' => array('color_pallets', '==', 'set10', 'all'),
637 - 'default' => array(
638 - 'color' => '#E0D2BD',
639 - 'background' => '#5D4010',
640 - 'hover_color' => '#E0D2BD',
641 - 'hover_background' => '#372911',
642 - ),
643 - ),
644 - // color pallate set 11
645 - array(
646 - 'id' => 'dark_mode_color_set11',
647 - 'type' => 'color_group',
648 - 'title' => esc_html__('Background', 'darkify'),
649 - 'title_help' =>
650 - '<div class="darkify-info-label">' .
651 - __('Set the background color of your website when dark mode is enabled.', 'darkify') .
652 - '</div>',
653 - 'options' => array(
654 - 'background' => esc_html__('Primary BG', 'darkify'),
655 - 'secondary_background' => esc_html__('Secondary BG', 'darkify'),
656 - ),
657 -
658 - 'dependency' => array('color_pallets', '==', 'set11', 'all'),
659 -
660 - 'default' => array(
661 - 'background' => '#19081b',
662 - 'secondary_background' => '#210a24',
663 - ),
664 - ),
665 - array(
666 - 'id' => 'dark_mode_link_color_set11',
667 - 'type' => 'color_group',
668 - 'title' => esc_html__('Text', 'darkify'),
669 - 'title_help' =>
670 - '<div class="darkify-info-label">' .
671 - __('Set the text color of your website when dark mode is enabled.', 'darkify') .
672 - '</div>',
673 - 'options' => array(
674 - 'text' => esc_html__('Text Color', 'darkify'),
675 - 'color' => esc_html__('Link Color', 'darkify'),
676 - 'hover' => esc_html__('Link Hover Color', 'darkify'),
677 - ),
678 -
679 - 'class' => 'only_pro',
680 - 'dependency' => array('color_pallets', '==', 'set11', 'all'),
681 -
682 - 'default' => array(
683 - 'text' => '#c09dc2',
684 - 'color' => '#c832d4',
685 - 'hover' => '#c09dc2',
686 - ),
687 - ),
688 -
689 - array(
690 - 'id' => 'dark_mode_input_color_set11',
691 - 'type' => 'color_group',
692 - 'title' => esc_html__('Input', 'darkify'),
693 - 'title_help' =>
694 - '<div class="darkify-info-label">' .
695 - __('Set the input field colors of your website when dark mode is enabled.', 'darkify') .
696 - '</div>',
697 - 'options' => array(
698 - 'color' => esc_html__('Input Text', 'darkify'),
699 - 'placeholder' => esc_html__('Input Placeholder', 'darkify'),
700 - 'background' => esc_html__('Input Background', 'darkify'),
701 - ),
702 -
703 - 'class' => 'only_pro',
704 - 'dependency' => array('color_pallets', '==', 'set11', 'all'),
705 -
706 - 'default' => array(
707 - 'color' => '#c09dc2',
708 - 'placeholder' => '#c09dc2',
709 - 'background' => '#2c082f',
710 - ),
711 - ),
712 -
713 - array(
714 - 'id' => 'dark_mode_border_color_set11',
715 - 'type' => 'color',
716 - 'title' => esc_html__('Border', 'darkify'),
717 - 'title_help' =>
718 - '<div class="darkify-info-label">' .
719 - __('Set the border color of your website when dark mode is enabled.', 'darkify') .
720 - '</div>',
721 -
722 - 'class' => 'only_pro',
723 - 'dependency' => array('color_pallets', '==', 'set11', 'all'),
724 - 'default' => '#440649',
725 - ),
726 - array(
727 - 'id' => 'dark_mode_btn_color_set11',
728 - 'type' => 'color_group',
729 - 'title' => esc_html__('Button', 'darkify'),
730 - 'title_help' =>
731 - '<div class="darkify-info-label">' .
732 - __('Set the button colors of your website when dark mode is enabled.', 'darkify') .
733 - '</div>',
734 -
735 - 'options' => array(
736 - 'color' => esc_html__('Text Color', 'darkify'),
737 - 'background' => esc_html__('Background', 'darkify'),
738 - 'hover_color' => esc_html__('Hover Text Color', 'darkify'),
739 - 'hover_background' => esc_html__('Hover Background', 'darkify'),
740 - ),
741 -
742 - 'class' => 'only_pro',
743 - 'dependency' => array('color_pallets', '==', 'set11', 'all'),
744 -
745 - 'default' => array(
746 - 'color' => '#c09dc2',
747 - 'background' => '#440649',
748 - 'hover_color' => '#c09dc2',
749 - 'hover_background' => '#2c082f',
750 - ),
751 - ),
752 - )
753 - ),
754 -
755 - array(
756 - 'title' => esc_html__('Scroll Bar', 'darkify'),
757 - 'icon' => 'icofont-scroll-double-down',
758 - 'fields' => array(
759 - // Intro line, rendered plain above the section card.
760 - array(
761 - 'type' => 'page_hint',
762 - 'content' => esc_html__('Style the browser scrollbar to match dark mode.', 'darkify'),
763 - ),
764 - // ===== SCROLLBAR =====
765 - array(
766 - 'type' => 'heading',
767 - 'title' => esc_html__('Scrollbar', 'darkify'),
768 - 'section_start' => true,
769 - ),
770 - array(
771 - 'id' => 'enable_scrollbar_dark',
772 - 'type' => 'switcher',
773 - 'title' => esc_html__('Enable Dark Mode on Scrollbar', 'darkify'),
774 - 'title_help' =>
775 - '<div class="darkify-info-label">' .
776 - __('Enable dark mode styling for the website scrollbar.', 'darkify') .
777 - '</div>',
778 -
779 - 'text_on' => esc_html__('Enabled', 'darkify'),
780 - 'text_off' => esc_html__('Disabled', 'darkify'),
781 - 'text_width' => 100,
782 - 'default' => false,
783 - ),
784 -
785 - array(
786 - 'id' => 'scrollbar_color',
787 - 'type' => 'color_group',
788 - 'title' => esc_html__('Scrollbar Color', 'darkify'),
789 - 'title_help' =>
790 - '<div class="darkify-info-label">' .
791 - __('Set the track and thumb background colors of the scrollbar when dark mode is enabled.', 'darkify') .
792 - '</div>',
793 -
794 - 'options' => array(
795 - 'dark_mode_scrollbar_track_bg' => esc_html__('Track Background', 'darkify'),
796 - 'dark_mode_scrollbar_thumb_bg' => esc_html__('Thumb Background', 'darkify'),
797 - ),
798 -
799 - 'class' => 'only_pro',
800 -
801 - 'default' => array(
802 - 'dark_mode_scrollbar_track_bg' => '#29292a',
803 - 'dark_mode_scrollbar_thumb_bg' => '#52565a',
804 - ),
805 - 'dependency' => array('enable_scrollbar_dark', '==', 'true'),
806 - ),
807 -
808 -
809 - )
810 - ),
811 -
812 - )
669 + array(
670 + 'id' => 'dark_mode_border_color_set11',
671 + 'type' => 'color',
672 + 'title' => esc_html__('Border', 'darkify'),
673 + 'desc' => esc_html__('Set the border color of your website when dark mode is enabled.', 'darkify'),
674 + 'dependency' => array('color_pallets', '==', 'set11', 'all'),
675 + 'class' => 'only_pro',
676 + 'default' => '#0C7B93',
677 + ),
678 + array(
679 + 'id' => 'dark_mode_btn_color_set11',
680 + 'type' => 'color_group',
681 + 'title' => esc_html__('Button', 'darkify'),
682 + 'desc' => esc_html__('Set the color of buttons of your website when dark mode is enabled.', 'darkify'),
683 + 'dependency' => array('color_pallets', '==', 'set11', 'all'),
684 + 'options' => array(
685 + 'color' => esc_html__('Button Text', 'darkify'),
686 + 'background' => esc_html__('Button Background', 'darkify'),
813 687 ),
688 + 'class' => 'only_pro',
689 + 'default' => array(
690 + 'color' => '#27496D',
691 + 'background' => '#BEBEBE',
692 + ),
814 693 ),
694 + array(
695 + 'type' => 'heading',
696 + 'content' => esc_html__('Scrollbar Customization', 'darkify'),
697 + ),
698 + array(
699 + 'id' => 'enable_scrollbar_dark',
700 + 'type' => 'switcher',
701 + 'title' => esc_html__('Enable Dark Mode on Scrollbar', 'darkify'),
702 + 'desc' => esc_html__('Want to enable dark mode on the scrollbar of the website?', 'darkify'),
703 + 'text_on' => esc_html__('Enabled', 'darkify-pro'),
704 + 'text_off' => esc_html__('Disabled', 'darkify-pro'),
705 + 'text_width' => 100,
706 + 'default' => true,
707 + ),
708 + array(
709 + 'id' => 'dark_mode_scrollbar_track_bg',
710 + 'type' => 'color',
711 + 'title' => esc_html__('Scrollbar Track Background Color', 'darkify'),
712 + 'desc' => esc_html__('Set the background color of scrollbars track when dark mode is enabled.', 'darkify'),
713 + 'default' => '#29292a',
714 + 'class' => 'only_pro',
715 + 'dependency' => array('enable_scrollbar_dark', '==', true),
716 + ),
717 + array(
718 + 'id' => 'dark_mode_scrollbar_thumb_bg',
719 + 'type' => 'color',
720 + 'title' => esc_html__('Scrollbar Thumb Background Color', 'darkify'),
721 + 'desc' => esc_html__('Set the background color of scrollbars thumb when dark mode is enabled.', 'darkify'),
722 + 'default' => '#52565a',
723 + 'class' => 'only_pro',
724 + 'dependency' => array('enable_scrollbar_dark', '==', true),
725 + ),
815 726 )
816 - );
727 + ));
817 728 }
818 729 }