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

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

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'property_dealer_primary_color',
		array(
			'label'    => __( 'Primary Color', 'property-dealer' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);

// Secondary Color.
$wp_customize->add_setting(
	'property_dealer_secondary_color',
	array(
		'default'           => '#BD8660',
		'sanitize_callback' => 'sanitize_hex_color',
	)
);

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'property_dealer_secondary_color',
		array(
			'label'    => __( 'Secondary Color', 'property-dealer' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);