<?php

$fashion_accessories_tp_theme_css = '';

$fashion_accessories_tp_color_option = get_theme_mod('fashion_accessories_tp_color_option');

// 1st color
$fashion_accessories_tp_color_option = get_theme_mod('fashion_accessories_tp_color_option', '#CCA633');
if ($fashion_accessories_tp_color_option) {
	$fashion_accessories_tp_theme_css .= ':root {';
	$fashion_accessories_tp_theme_css .= '--color-primary1: ' . esc_attr($fashion_accessories_tp_color_option) . ';';
	$fashion_accessories_tp_theme_css .= '}';
}

//preloader
$fashion_accessories_tp_preloader_color1_option = get_theme_mod('fashion_accessories_tp_preloader_color1_option');
$fashion_accessories_tp_preloader_color2_option = get_theme_mod('fashion_accessories_tp_preloader_color2_option');
$fashion_accessories_tp_preloader_bg_color_option = get_theme_mod('fashion_accessories_tp_preloader_bg_color_option');

if($fashion_accessories_tp_preloader_color1_option != false){
$fashion_accessories_tp_theme_css .='.center1{';
	$fashion_accessories_tp_theme_css .='border-color: '.esc_attr($fashion_accessories_tp_preloader_color1_option).' !important;';
$fashion_accessories_tp_theme_css .='}';
}
if($fashion_accessories_tp_preloader_color1_option != false){
$fashion_accessories_tp_theme_css .='.center1 .ring::before{';
	$fashion_accessories_tp_theme_css .='background: '.esc_attr($fashion_accessories_tp_preloader_color1_option).' !important;';
$fashion_accessories_tp_theme_css .='}';
}
if($fashion_accessories_tp_preloader_color2_option != false){
$fashion_accessories_tp_theme_css .='.center2{';
	$fashion_accessories_tp_theme_css .='border-color: '.esc_attr($fashion_accessories_tp_preloader_color2_option).' !important;';
$fashion_accessories_tp_theme_css .='}';
}
if($fashion_accessories_tp_preloader_color2_option != false){
$fashion_accessories_tp_theme_css .='.center2 .ring::before{';
	$fashion_accessories_tp_theme_css .='background: '.esc_attr($fashion_accessories_tp_preloader_color2_option).' !important;';
$fashion_accessories_tp_theme_css .='}';
}
if($fashion_accessories_tp_preloader_bg_color_option != false){
$fashion_accessories_tp_theme_css .='.loader{';
	$fashion_accessories_tp_theme_css .='background: '.esc_attr($fashion_accessories_tp_preloader_bg_color_option).';';
$fashion_accessories_tp_theme_css .='}';
}

// footer-bg-color
$fashion_accessories_tp_footer_bg_color_option = get_theme_mod('fashion_accessories_tp_footer_bg_color_option');

if($fashion_accessories_tp_footer_bg_color_option != false){
$fashion_accessories_tp_theme_css .='#footer{';
	$fashion_accessories_tp_theme_css .='background: '.esc_attr($fashion_accessories_tp_footer_bg_color_option).' !important;';
$fashion_accessories_tp_theme_css .='}';
}

// logo tagline color
$fashion_accessories_site_tagline_color = get_theme_mod('fashion_accessories_site_tagline_color');

if($fashion_accessories_site_tagline_color != false){
$fashion_accessories_tp_theme_css .='.logo h1 a, .logo p a{';
$fashion_accessories_tp_theme_css .='color: '.esc_attr($fashion_accessories_site_tagline_color).';';
$fashion_accessories_tp_theme_css .='}';
}

$fashion_accessories_logo_tagline_color = get_theme_mod('fashion_accessories_logo_tagline_color');
if($fashion_accessories_logo_tagline_color != false){
$fashion_accessories_tp_theme_css .='p.site-description{';
$fashion_accessories_tp_theme_css .='color: '.esc_attr($fashion_accessories_logo_tagline_color).';';
$fashion_accessories_tp_theme_css .='}';
}

// footer widget title color
$fashion_accessories_footer_widget_title_color = get_theme_mod('fashion_accessories_footer_widget_title_color');
if($fashion_accessories_footer_widget_title_color != false){
$fashion_accessories_tp_theme_css .='#footer h3{';
$fashion_accessories_tp_theme_css .='color: '.esc_attr($fashion_accessories_footer_widget_title_color).';';
$fashion_accessories_tp_theme_css .='}';
}

// copyright text color
$fashion_accessories_footer_copyright_text_color = get_theme_mod('fashion_accessories_footer_copyright_text_color');
if($fashion_accessories_footer_copyright_text_color != false){
$fashion_accessories_tp_theme_css .='#footer .site-info p, #footer .site-info p a {';
$fashion_accessories_tp_theme_css .='color: '.esc_attr($fashion_accessories_footer_copyright_text_color).';';
$fashion_accessories_tp_theme_css .='}';
}

// header image title color
$fashion_accessories_header_image_title_text_color = get_theme_mod('fashion_accessories_header_image_title_text_color');
if($fashion_accessories_header_image_title_text_color != false){
$fashion_accessories_tp_theme_css .='.box-text h2{';
$fashion_accessories_tp_theme_css .='color: '.esc_attr($fashion_accessories_header_image_title_text_color).';';
$fashion_accessories_tp_theme_css .='}';
}

// menu color
$fashion_accessories_menu_color = get_theme_mod('fashion_accessories_menu_color');
if($fashion_accessories_menu_color != false){
$fashion_accessories_tp_theme_css .='.main-navigation a{';
$fashion_accessories_tp_theme_css .='color: '.esc_attr($fashion_accessories_menu_color).';';
$fashion_accessories_tp_theme_css .='}';
}


//Footer Font Weight
$fashion_accessories_footer_copyright_title_font_weight = get_theme_mod( 'fashion_accessories_footer_copyright_title_font_weight','');
if($fashion_accessories_footer_copyright_title_font_weight == '100'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 100;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '200'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 200;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '300'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 300;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '400'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 400;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '500'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 500;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '600'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 600;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '700'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 700;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '800'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 800;';
$fashion_accessories_tp_theme_css .='}';
}else if($fashion_accessories_footer_copyright_title_font_weight == '900'){
$fashion_accessories_tp_theme_css .='#footer .site-info p {';
    $fashion_accessories_tp_theme_css .='font-weight: 900;';
$fashion_accessories_tp_theme_css .='}';
}
