<?php
// End section Banner
$sectionFont = 'typography' . $nameSlug;
// Start section Font
$cc::add_section($sectionFont, array(
    'title' => esc_html__('Cài đặt kiểu chữ', 'sport'),
    'panel' => $panel,
    'priority' => 30,
));


$cc::add_field('_'.$config, [
    'type' => 'typography',
    'settings' => 'typography_main' . $nameSlug,
    'label' => esc_html__('Kiểu chữ bảng tỉ lệ', 'sport'),
    'description' => esc_html__('', 'sport'),
    'section' => $sectionFont,
    'transport' => 'auto',
    'disable_output' => true,
    'default' => [
        'font-family' => '"Inter", sans-serif',
    ],
    'output' => [
        [
            'element' => 'body',
            'property' => 'font-family',
            'value_pattern' => '"$" !important',
        ],
    ],
    'choices' => [
        'fonts' => [
            'google' => ['popularity', 30],
           'standard' => [
                '"Inter", sans-serif',
            ],
        ],
    ],
]);
// End section Font