<?php
/**
* Color Settings.
* @package Modern Art Gallery
*/

$modern_art_gallery_default = modern_art_gallery_get_default_theme_options();

$wp_customize->add_setting( 'modern_art_gallery_default_text_color',
    array(
    'default'           => '',
    'capability'        => 'edit_theme_options',
    'sanitize_callback' => 'sanitize_hex_color',
    )
);
$wp_customize->add_control( 
    new WP_Customize_Color_Control( 
    $wp_customize, 
    'modern_art_gallery_default_text_color',
    array(
        'label'      => esc_html__( 'Text Color', 'modern-art-gallery' ),
        'section'    => 'colors',
        'settings'   => 'modern_art_gallery_default_text_color',
    ) ) 
);

$wp_customize->add_setting( 'modern_art_gallery_border_color',
    array(
    'default'           => '',
    'capability'        => 'edit_theme_options',
    'sanitize_callback' => 'sanitize_hex_color',
    )
);
$wp_customize->add_control( 
    new WP_Customize_Color_Control( 
    $wp_customize, 
    'modern_art_gallery_border_color',
    array(
        'label'      => esc_html__( 'Border Color', 'modern-art-gallery' ),
        'section'    => 'colors',
        'settings'   => 'modern_art_gallery_border_color',
    ) ) 
);