<?php

/**
 * Sidebar Theme Options
 *
 * @package prime-industry
 */
$wp_customize->add_section('prime_industry_sidebar_section', array(

	'title'      => esc_html__('Sidebar Section', 'prime-industry'),
	'capability' => 'edit_theme_options',
	'panel' => 'prime_industry_theme_section_panel'

));

// ///////// Search Background Color
 $wp_customize->add_setting('Sidebar_background_color', array(
    'default'   => '#0b2239',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Sidebar_background_color', array(
    'section' => 'prime_industry_sidebar_section',
    'description' => __('Heading Background Color', 'prime-industry'),
    )));

    ///////// Search Text Color
 $wp_customize->add_setting('Sidebar_heading_text_color', array(
    'default'   => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Sidebar_heading_text_color', array(
    'section' => 'prime_industry_sidebar_section',
    'description' => __('Heading Text Color', 'prime-industry'),
    )));

    /////////  Icon Color
 $wp_customize->add_setting('Sidebar_icon_color', array(
    'default'   => '#eb4438',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Sidebar_icon_color', array(
    'section' => 'prime_industry_sidebar_section',
    'description' => __('Icon Color', 'prime-industry'),
    )));

    /////////  Text Color
 $wp_customize->add_setting('Sidebar_text_color', array(
    'default'   => '#959595',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
    ));
  
    $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Sidebar_text_color', array(
    'section' => 'prime_industry_sidebar_section',
    'description' => __('Text Color', 'prime-industry'),
    )));