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