<?php 
    class Edumodo_Customizer_Typography_Menu{
        private $panel_key;
        private $priority;
        private $text_domain = 'edumodo';
        public function __construct($panel_key, $priority){
            $this->panel_key = $panel_key;
            $this->priority = $priority;
            $this->typo_menu_kirki_config();
        }
        public function typo_menu_kirki_config(){
            
            #	start of blog region 
                Kirki::add_section( 'tutorque_typo_menu', array(
                    'title'          => esc_html__( 'Menu', $this->text_domain ),
                    'panel'          => $this->panel_key,
                    'priority'       => $this->priority,
                ) );
                    Kirki::add_field( 'main_menu_typo', [
                        'type'        => 'typography',
                        'settings'    => 'main_menu_typo',
                        'label'       => esc_html__( 'Main Menu', 'tutorque' ),
                        'section'     => 'tutorque_typo_menu',
                        'priority'    => 10,
                        'transport'   => 'auto',
                        'default'     => [
                            'font-family'    => 'Poppins',
                            // 'color'			 => '#07294d',
                            'text-transform' => 'none',
                            'font-size'		 => '16px',
                            'line-height'	 => '74px',
                            'letter-spacing' => '0',
                            'variant'        => 'regular',
                        ],
                        'output'      => [
                            [
                                'element' => '.tutorque-header .navigation-main .menu-item a.nav-link',
                            ],
                        ],
                    ] );
                    Kirki::add_field( 'sub_menu_typo', [
                        'type'        => 'typography',
                        'settings'    => 'sub_menu_typo',
                        'label'       => esc_html__( 'Sub Menu', 'tutorque' ),
                        'section'     => 'tutorque_typo_menu',
                        'priority'    => 10,
                        'transport'   => 'auto',
                        'default'     => [
                            'font-family'    => 'Poppins',
                            // 'color'			 => '#07294d',
                            'text-transform' => 'none',
                            'font-size'		 => '15px',
                            'line-height'	 => '1',
                            'letter-spacing' => '0',
                            'variant'        => 'regular',
                        ],
                        'output'      => [
                            [
                                'element' => '.tutorque-header .navigation-main .menu-item a.dropdown-item',
                            ],
                        ],
                    ] );	
            #	end of blog region 


        }
    }
?>