<?php 
use Kirki\Util\Helper;

    new \Kirki\Pro\Field\Headline(
        [
            'settings'    => 'body_typo_headline',
            'label'       => esc_html__( 'Body/Content Typography', 'edify' ),
            'description' => esc_html__( 'Body/Content Typography.', 'edify' ),
            'section'     => 'typo_section_id',
        ]
    );

    Kirki::add_field( 'db_theme_config_id', [
        'type'        => 'typography',
        'settings'    => 'body_font',
        'label'       => esc_html__( 'Body Font','edify'),
        'section'     => 'typo_section_id',
        'default'     => [
            'font-family'    => 'DM Sans',
            'variant'        => 'regular',
            'font-size'      => '',
            'line-height'    => '',
        ],
        'choices' => [
            'fondb' => [
                'standard' => [ 'serif', 'sans-serif' ],
            ],
        ],
        'priority'    => 10,
        'transport'   => 'auto',
        'output'      => [
            [
                'element' => 'body,p',
            ],
        ],
    ] );

    new \Kirki\Pro\Field\Headline(
        [
            'settings'    => 'heading_typo_headline',
            'label'       => esc_html__( 'Heading Typography', 'edify' ),
            'description' => esc_html__( 'Heading Typography.', 'edify' ),
            'section'     => 'typo_section_id',
        ]
    );

    Kirki::add_field( 'db_theme_config_id', [
        'type'        => 'typography',
        'settings'    => 'heading_font',
        'label'       => esc_html__( 'Heading Font','edify'),
        'section'     => 'typo_section_id',
        'default'     => [
            'font-family'    => 'DM Sans',
            'variant'        => '',
            'text-transform' => '',
             'line-height'    => '',
        ],
        'choices' => [
            'fondb' => [
                'standard' => [ 'serif', 'sans-serif' ],
            ],
        ],
        'priority'    => 10,
        'transport'   => 'auto',
        'output'      => [
            [
                'element' => 'h1,h2,h3,h4,h5,h6',
            ],
        ],
    ] );
    
    
    Kirki::add_field( 'db_theme_config_id', [
        'type'        => 'typography',
        'settings'    => 'h1_font',
        'label'       => esc_html__( 'Heading H1 Font','edify'),
        'description' => esc_html__( 'Use font size & line height with px/rem/pt', 'edify' ),
        'section'     => 'typo_section_id',
        'default'     => [
            'font-size'      => '',
            'line-height'    => '',
        ],

        'choices' => [
            'fondb' => [
                'standard' => [ 'serif', 'sans-serif' ],
            ],
        ],
      
        'priority'    => 10,
        'transport'   => 'auto',
        'output'      => [
            [
                'element' => 'h1',
            ],
        ],
    ] );

    new \Kirki\Field\Typography( [
        'type'        => 'typography',
        'settings'    => 'h2_font',
        'label'       => esc_html__( 'Heading H2 Font','edify'),
        'description' => esc_html__( 'Use font size & line height with px/rem/pt', 'edify' ),
        'section'     => 'typo_section_id',
        'default'     => [
            'font-size'      => '',
            'line-height'    => '',
        ],
       'choices' => [
            'fondb' => [
                'standard' => [ 'serif', 'sans-serif' ],
            ],
        ],
        'priority'    => 10,
        'output'      => [
            [
                'element' => 'h2',
            ],
        ],
    ] );

    new \Kirki\Field\Typography( [
        'type'        => 'typography',
        'settings'    => 'h3_font',
        'label'       => esc_html__( 'Heading H3 Font','edify'),
        'description' => esc_html__( 'Use font size & line height with px/rem/pt', 'edify' ),
        'section'     => 'typo_section_id',
        'default'     => [
            'font-size'      => '',
            'line-height'    => '',
        ],
       'choices' => [
            'fondb' => [
                'standard' => [ 'serif', 'sans-serif' ],
            ],
        ],
        'priority'    => 10,
        'transport'   => 'auto',
        'output'      => [
            [
                'element' => 'h3',
            ],
        ],
    ] );


    new \Kirki\Field\Typography([
        'type'        => 'typography',
        'settings'    => 'h4_font',
        'label'       => esc_html__( 'Heading H4 Font','edify'),
        'description' => esc_html__( 'Use font size & line height with px/rem/pt', 'edify' ),
        'section'     => 'typo_section_id',
        'default'     => [
            'font-size'      => '',
            'line-height'    => '',
        ],
        'choices' => [
            'fondb' => [
                'standard' => [ 'serif', 'sans-serif' ],
            ],
        ],
        'priority'    => 10,
        'transport'   => 'auto',
        'output'      => [
            [
                'element' => 'h4',
            ],
        ],
    ] );



    new \Kirki\Field\Typography([
        'type'        => 'typography',
        'settings'    => 'menu_font',
        'label'       => esc_html__( 'Menu Font Style','edify'),
        'section'     => 'typo_section_id',
        'default'     => [
            'font-family'    => '',
            'variant'        => '',
            'font-size'      => '',
            'line-height'    => '',
            'text-transform' => 'none',
        ],
        'choices' => [
            'fondb' => [
                'standard' => [ 'serif', 'sans-serif' ],
            ],
        ],
        'priority'    => 10,
        'transport'   => 'auto',
        // 'output'      => [
        //     [
        //         'element' => '.header-navbar .primary-menu li a',
        //     ],
        // ],
        
    ] );