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

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

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'jeweler_shop_primary_color',
		array(
			'label'    => __( 'Primary Color', 'jeweler-shop' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);

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

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'jeweler_shop_secondary_color',
		array(
			'label'    => __( 'Secondary Color', 'jeweler-shop' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);

// Tertiary Color.
$wp_customize->add_setting(
	'jeweler_shop_tertiary_color',
	array(
		'default'           => '#182C2B',
		'sanitize_callback' => 'sanitize_hex_color',
	)
);

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'jeweler_shop_tertiary_color',
		array(
			'label'    => __( 'Tertiary Color', 'jeweler-shop' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);