<?php
/**
 * All of the custom premium plugin filters.
 *
 * Functions that are not pluggable (not wrapped in function_exists()) are
 * instead attached to a filter or action hook.
 *
 * For more information on hooks, actions, and filters,
 * {@link https://codex.wordpress.org/Plugin_API}
 *
 * @package Abacus
 * @since Abacus 1.0
 */
 
add_filter( 'abc_custom_color_defaults', 'abacus_custom_color_defaults' );
if ( ! function_exists( 'abacus_custom_color_defaults' ) ) {
	function abacus_custom_color_defaults() {
		return array(
			'page_background_color' => '#ffffff',
			'site_title_color' => '#000',
			'site_description_color' => '#282828',
			'headers_color' => '#282828',
			'main_text_color' => '#282828',
			'post_title_color' => '#282828',
			'post_meta_color' => '#282828',
			'link_color' => '#0054a6',
			'link_hover_color' => '#003a73',
		);
	}
}

add_filter( 'abc_fonts_manager_google_fonts_defaults', 'abacus_fonts_manager_google_fonts_defaults' );
if ( ! function_exists( 'abacus_fonts_manager_google_fonts_defaults' ) ) {
	function abacus_fonts_manager_google_fonts_defaults() {
		return array(
			'Roboto' => array(
				'weight' => '300,400,400italic,700,700italic',
				'css' => '"Roboto", sans-serif',
			),
			'Open Sans' => array(
				'weight' => '400,400italic,700,700italic',
				'css' => '"Open Sans", sans-serif',
			),
	    );
	}
}

add_filter( 'abc_fonts_manager_defaults', 'abacus_fonts_manager_defaults' );
if ( ! function_exists( 'abacus_fonts_manager_defaults' ) ) {
	function abacus_fonts_manager_defaults() {
		return array(
			'site_title_font' => 'Roboto||"Roboto", sans-serif',
			'site_title_font_size' => '32',
			'site_description_font' => 'Roboto||"Roboto", sans-serif',
			'site_description_font_size' => '16',
			'main_text_font' => 'Roboto||"Roboto", sans-serif',
			'main_text_font_size' => '16',
			'headers_font' => 'Roboto||"Roboto", sans-serif',
			'post_title_font' => 'Roboto||"Roboto", sans-serif',
			'post_title_font_size' => '48',
			'post_meta_font' => '"Georgia", serif',
			'post_meta_font_size' => '14',
		);
	}
}

add_filter( 'abc_slider_description', 'abacus_slider_description' );
if ( ! function_exists( 'abacus_slider_description' ) ) {
	function abacus_slider_description() {
		return __( 'Displaying a slider will overwrite the header image and jumbo headline section', 'abacus' );
	}
}