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

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

$wp_customize->add_control(
	new WP_Customize_Color_Control(
		$wp_customize,
		'online_school_courses_primary_color',
		array(
			'label'    => __( 'Primary Color', 'online-school-courses' ),
			'section'  => 'colors',
			'priority' => 5,
		)
	)
);
