<?php 
    class Edumodo_Customizer_Typography_Body{
        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_body_kirki_config();
        }
        public function typo_body_kirki_config(){
            
            #	start of blog region 
                Kirki::add_section( 'tutorque_typo_body', array(
                    'title'          => esc_html__( 'Body', $this->text_domain ),
                    'panel'          => $this->panel_key,
                    'priority'       => $this->priority,
                ) );
                    Kirki::add_field( 'body_typo', [
                        'type'        => 'typography',
                        'settings'    => 'body_typo',
                        'label'       => esc_html__( 'BODY & CONTENT', 'tutorque' ),
                        'section'     => 'tutorque_typo_body',
                        'priority'    => 10,
                        'transport'   => 'auto',
                        'default'     => [
                            'font-family'    => 'Roboto',
                            'color'			 => '#4b5158',
                            'text-transform' => 'none',
                            'font-size'		 => '16px',
                            'line-height'	 => '1.5',
                            'letter-spacing' => '0',
                            'variant'        => 'regular',
                        ],
                        'output'      => [
                            [ 'element' => 'body, .tribe-common .tribe-common-b2' ],
                        ],
                    ] );	
            #	end of blog region 


        }
    }
?>