<?php
/*-----Color Options-----*/
$default = magazine_bell_get_default_theme_options();

/*-----Theme Primary Color Options-----*/
$wp_customize->add_setting( 'theme_options[colorscheme_hue]', array(
	'default'		=> $default['colorscheme_hue'],
	'sanitize_callback' => 'sanitize_hex_color', // The hue is stored as a positive integer.
	
) );
$wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'theme_options[colorscheme_hue]', array(
	'label'    => esc_html__( 'Color Scheme(Theme Color)', 'magazine-bell' ),
	'section'  => 'colors',
) ) );

// Add arrow enable setting and control.
$wp_customize->add_setting( 'theme_options[homepage_layout_options]', array(
	'default'           => $default['homepage_layout_options'],
	'sanitize_callback' => 'magazine_bell_sanitize_select',
	'type'				=> 'theme_mod',
) );

$wp_customize->add_control( 'theme_options[homepage_layout_options]', array(
	'label'             => esc_html__( 'Choose HomePage Color Layout', 'magazine-bell' ),
	'section'           => 'colors',
	'type'              => 'radio',
	'choices'				=> array( 
		'lite-layout'     => esc_html__( 'Lite HomePage', 'magazine-bell' ), 
		'dark-layout'     => esc_html__( 'Dark HomePage', 'magazine-bell' ),
		)
) );