<?php

    $magazine_express_theme_css= "";

    $magazine_express_preloader2_dot_color = get_theme_mod( 'magazine_express_preloader2_dot_color');
    $magazine_express_theme_css .='.load hr{';
        $magazine_express_theme_css .='background: '.esc_attr($magazine_express_preloader2_dot_color).';';
    $magazine_express_theme_css .='}';


    /*-------------------- Global First Color -------------------*/

    $magazine_express_global_color = get_theme_mod('magazine_express_global_color');
    // $magazine_express_first_global_color = get_theme_mod('magazine_express_first_global_color');

    if ($magazine_express_global_color) {
        $magazine_express_theme_css .= ':root {';
        $magazine_express_theme_css .= '--first-color: ' . esc_attr($magazine_express_global_color) . ' !important;';
        $magazine_express_theme_css .= '} ';
    }

    // if ($magazine_express_first_global_color) {
    //     $magazine_express_theme_css .= ':root {';
    //     $magazine_express_theme_css .= '--second-color: ' . esc_attr($magazine_express_first_global_color) . ' !important;';
    //     $magazine_express_theme_css .= '} ';
    // }