<?php

/**
 * Color Option
 *
 * @package aster_ebooks
 */

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

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'aster_ebooks_primary_color',
		array(
			'label'    => __( 'Primary Color', 'aster-ebooks' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);
