<?php 
    class Edumodo_Customizer_Header_Style{
        private $panel_key;
        private $priority;
        private $text_domain = 'edumodo';
        public function __construct($panel_key, $priority){
            $this->panel_key = $panel_key;
            $this->priority = $priority;
            $this->header_style_kirki_config();
        }
        public function header_style_kirki_config(){

            #   start variation region 
                Kirki::add_section('edumodo_header_style', array(
                    'title' => esc_attr__('Style', $this->text_domain),
                    'panel' => $this->panel_key,
                    'priority' => $this->priority,
                ) );
                    
                    Kirki::add_field( 'edumodo_main_header_bg_color', [
                        'type'        => 'color',
                        'settings'    => 'edumodo_main_header_bg_color',
                        'label'       => __( 'Background', $this->text_domain ),
                        'section'     => 'edumodo_header_style',
                        'priority'	  => 10,
                    ] );
                    
            #   end of variation region 
        }
    }
?>