/home/preegmxb/qasmartz.theoriginalsstudios.com/wp-content/plugins/lexend-core/include/style.php
<?php function lexend_custom_styling()
{ ?>

    <style type="text/css">
        :root {
            <?php
            // Body Typography
            $bodyfont = get_theme_mod('typography_body_setting', []);

            if (isset($bodyfont['font-family'])) {
                echo '--bs-body-font-family: ' . $bodyfont['font-family'] . ';';
                echo '--unit-body-font-family: ' . $bodyfont['font-family'] . ';';
            }
            if (isset($bodyfont['font-size'])) {
                echo '--bs-body-font-size: ' . $bodyfont['font-size'] . ';';
            }
            if (isset($bodyfont['variant'])) {
                echo '--bs-body-font-weight: ' . $bodyfont['variant'] . ';';
            }

            // Heading Typography
            $headingfont = get_theme_mod('typography_h_setting', []);

            if (isset($headingfont['font-family'])) {
                echo '--unit-heading-font-family: ' . $headingfont['font-family'] . ';';
            }
            if (isset($headingfont['variant'])) {
                echo '--unit-heading-font-family: ' . $headingfont['variant'] . ';';
            }
            if (isset($headingfont['color'])) {
                echo '--unit-heading-font-color: ' . $headingfont['color'] . '!important;';
            }
            ?>
        }
        <?php
            if (isset($bodyfont['letter-spacing'])) {
                echo 'body: ' . $bodyfont['letter-spacing'] . ' !important;';
            }
            if (isset($bodyfont['color'])) {
                echo 'body: ' . $bodyfont['color'] . ' !important;';
            }
            if (isset($headingfont['font-family'])) {
                echo 'h1,h2,h3,h4,h5,h6: ' . $headingfont['font-family'] . ';';
            }
            if (isset($headingfont['variant'])) {
                echo 'h1,h2,h3,h4,h5,h6: ' . $headingfont['variant'] . ';';
            }
            if (isset($headingfont['color'])) {
                echo 'h1,h2,h3,h4,h5,h6: ' . $headingfont['color'] . '!important;';
            }
            if (isset($headingfont['text-transform'])) {
                echo 'h1,h2,h3,h4,h5,h6: ' . $headingfont['text-transform'] . '!important;';
            }
        ?>
    </style>

<?php }
add_action('wp_head', 'lexend_custom_styling'); ?>