<?php

/**
 * Sidebar Theme Options
 *
 * @package voltmaster-electrician
 */

$voltmaster_electrician_default = voltmaster_electrician_get_default_theme_options();

$wp_customize->add_section('voltmaster_electrician_sidebar_section', array(

    'title' => esc_html__('Sidebar Section', 'voltmaster-electrician'),
    'capability' => 'edit_theme_options',
    'panel' => 'voltmaster_electrician_theme_section_panel'

));

// ///////// Heading Text Color
$wp_customize->add_setting('heading_text_color', array(
    'default' => '#fff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'heading_text_color', array(
    'section' => 'voltmaster_electrician_sidebar_section',
    'label' => esc_html__('Heading Text Color', 'voltmaster-electrician'),
)));

// ///////// Heading Bg Color
$wp_customize->add_setting('heading_bg_color', array(
    'default' => '#fac100',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'heading_bg_color', array(
    'section' => 'voltmaster_electrician_sidebar_section',
    'label' => esc_html__('Heading Background Color', 'voltmaster-electrician'),
)));

// ///////// Text Color
$wp_customize->add_setting('text_color', array(
    'default' => '#363636',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'text_color', array(
    'section' => 'voltmaster_electrician_sidebar_section',
    'label' => esc_html__('Text Color', 'voltmaster-electrician'),
)));

// ///////// Text Color
$wp_customize->add_setting('text_icon_color', array(
    'default' => '#000000',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'text_icon_color', array(
    'section' => 'voltmaster_electrician_sidebar_section',
    'label' => esc_html__('Text Icon Color', 'voltmaster-electrician'),
)));

// ///////// Search Text Color
$wp_customize->add_setting('search_text_color', array(
    'default' => '#ffffff',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'search_text_color', array(
    'section' => 'voltmaster_electrician_sidebar_section',
    'label' => esc_html__('Search Text Color', 'voltmaster-electrician'),
)));

// ///////// Search Bg Color
$wp_customize->add_setting('search_bg_color', array(
    'default' => '#6C7FFE',
    'transport' => 'refresh',
    'sanitize_callback' => 'sanitize_hex_color',
));

$wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'search_bg_color', array(
    'section' => 'voltmaster_electrician_sidebar_section',
    'label' => esc_html__('Search Text Color', 'voltmaster-electrician'),
)));
