<?php
/* ------------------------------------------------------------------------- *
 *  Dynamic styles
/* ------------------------------------------------------------------------- */
if (!function_exists('blogbull_get_inline_css')) :
    /**
     * Outputs theme custom CSS.
     *
     * @since 1.0.0
     */
    function blogbull_get_inline_css()
    {
        $defaults = blogbull_get_all_customizer_default_values();
        $background_color = get_theme_mod('background_color');
        $author_appearance_button_bg_color = blogbull_get_option('author_appearance_button_bg_color');
        $author_appearance_button_text_color = blogbull_get_option('author_appearance_button_text_color');
        ob_start();
        ?>
        <?php if (!empty($background_color) && $background_color != 'ffffff') :
            ?>
            :root {
            --wpi--base-bg-color: #<?php echo esc_attr($background_color); ?>;
            }
        <?php endif; ?>
        <?php
        return ob_get_clean();
    }
endif;
