<?php





/**





 * Modern Contrast settings





 *





 * @package WNEPRO





 */











$custom_contrast_variations         = wah_get_param( 'wah_enable_custom_contrast' );





$contrast_setup                     = wah_get_param( 'wna_contrast_setup' );





$wah_adjust_background_colors_title = wah_get_param( 'wah_adjust_background_colors_title' ) ? wah_get_param( 'wah_adjust_background_colors_title' ) : __( 'Adjust background colors', 'wp-nagish-express' );











if ( icons_enabled() ) {





	$icon_widget4 = '<span class="color-icon widget-icon">

	<i class="flaticon-color-picker-1"></i>

	</span>';





} else {





	$icon_widget4 = '';





}











if ( $custom_contrast_variations ) {





	$wah_contrast_widget['widget-4'] = array(





		'active' => $contrast_setup,





	);











	$wah_contrast_widget['widget-4']['html'] = get_custom_contrast_variations( $wah_adjust_background_colors_title );





} else {





	$wah_contrast_widget['widget-4'] = array(





		'active' => $contrast_setup,





		'html'   => '<div class="a_module wne_contrast_trigger">





 			<div class="a_module_exe contrast_module_exe">





 				<span tabindex="-1" data-widgetid="widget-4" id="contrast_trigger" class="contrast_trigger wne-action-button wahout wne-call-contrast-trigger" title="' . $wah_adjust_background_colors_title . '"><span class="wne-button-title">' . $wah_adjust_background_colors_title . '</span>' . $icon_widget4 . '</span>





 				<div class="color_selector">





 					<button type="button" class="convar black wahout" data-bgcolor="#000" data-color="#FFF"





 					title="' . __( 'black background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'black background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#000 !important;"></span></button>





 					<button type="button" class="convar white wahout" data-bgcolor="#FFF" data-color="#000"





 					title="' . __( 'white background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'white background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#FFF !important;"></span></button>





 					<button type="button" class="convar green wahout" data-bgcolor="#00FF21" data-color="#000"





 					title="' . __( 'green background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'green background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#008000 !important;"></span></button>





 					<button type="button" class="convar blue wahout" data-bgcolor="#00f" data-color="#FFD800"





 					title="' . __( 'blue background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'blue background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#00f !important;"></span></button>





 					<button type="button" class="convar red wahout" data-bgcolor="#F00" data-color="#000"





 					title="' . __( 'red background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'red background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#f00 !important;"></span></button>





 					<button type="button" class="convar orange wahout" data-bgcolor="#FF6A00" data-color="#000" title="' . __( 'orange background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'orange background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#FF6A00 !important;"></span></button>





 					<button type="button" class="convar yellow wahout" data-bgcolor="#FFD800" data-color="#000"





 					title="' . __( 'yellow background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'yellow background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#FFD800 !important;"></span></button>





 					<button type="button" class="convar navi wahout" data-bgcolor="#B200FF" data-color="#000"





 					title="' . __( 'navi background color', 'wp-nagish-express' ) . '" aria-label="' . __( 'navi background color', 'wp-nagish-express' ) . '"><span class="nagishx-active-contrast-property" style="background-color:#B200FF !important;"></span></button>





 				</div>





 			</div>





 		</div>',





	);





}





