<?php
/**
 * Color Option
 *
 * @package electrical_repair
 */

// Primary Color.
$wp_customize->add_setting(
	'electrical_repair_primary_color',
	array(
		'default'           => '#1F87FF',
		'sanitize_callback' => 'sanitize_hex_color',
	)
);

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'electrical_repair_primary_color',
		array(
			'label'    => __( 'Primary Color', 'electrical-repair' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);