<?php
/**
 * Theme options / Styles / Global Colors and Backgrounds
 *
 * @package vamtam/morz
 */

return array(

array(
	'label' => esc_html__( 'Box Background', 'morz' ),
	'hint'  => array(
	'content' => esc_html__( "Please note that this option is used only in boxed layout mode.<br> In full width layout mode the page background is covered by the header, slider, body and footer backgrounds respectively. If the color opacity of these areas is 1 or an opaque image is used, the page background won't be visible.<br> If you want to use an image as a background, enabling the cover button will resize and crop the image so that it will always fit the browser window on any resolution.<br> You can override this option on a page by page basis.", 'morz' ),
	),
	'id'        => 'body-background',
	'type'      => 'background',
	'compiler'  => true,
	'transport' => 'postMessage',
),

array(
	'label'       => esc_html__( 'Accent Colors', 'morz' ),
	'description' => esc_html__( 'Most of the design elements are attached to the accent colors below. You can easily create your own skin by changing these colors.', 'morz' ) . ( vamtam_use_accent_preview() ? '' : '<p style="color: red; font-weight: bold">' . esc_html__( 'We have detected that your browser does not support CSS variables. This has a serious impact on performance and changing the accent color will require a full preview refresh. Please consider using Firefox, Chrome or Safari when using the Theme Customizer.', 'morz' ) . '</p>' ),
	'id'          => 'accent-color',
	'type'        => 'color-row',
	'choices'     => array(
		1 => esc_html__( 'Accent 1', 'morz' ),
		2 => esc_html__( 'Accent 2', 'morz' ),
		3 => esc_html__( 'Accent 3', 'morz' ),
		4 => esc_html__( 'Accent 4', 'morz' ),
		5 => esc_html__( 'Accent 5', 'morz' ),
		6 => esc_html__( 'Accent 6', 'morz' ),
		7 => esc_html__( 'Accent 7', 'morz' ),
		8 => esc_html__( 'Accent 8', 'morz' ),
	),
	'compiler'  => true,
	'transport' => vamtam_use_accent_preview() ? 'postMessage' : 'refresh',
	'with_hc' => true,
),

array(
	'id'          => 'info-menu-styles',
	'type'        => 'info',
	'label'       => esc_html__( 'Menu Styles', 'morz' ),
	'description' => wp_kses( sprintf( __( 'Menu styling options are available <a href="%s" title="Max Mega Menu" target="_blank">here</a> if you have the Max Mega Menu plugin installed.', 'morz' ), admin_url( 'admin.php?page=maxmegamenu_theme_editor' ) ), 'vamtam-a-span' ),
),

array(
	'id'          => 'info-booked-styles',
	'type'        => 'info',
	'label'       => esc_html__( 'Booked Styles', 'morz' ),
	'description' => wp_kses( sprintf( __( 'Booked styling options are available <a href="%s" title="Booked" target="_blank">here</a> if you have the Booked plugin installed.', 'morz' ), admin_url( 'admin.php?page=booked-settings' ) ), 'vamtam-a-span' ),
),

array(
	'id'          => 'info-ninja-styles',
	'type'        => 'info',
	'label'       => esc_html__( 'Ninja Forms Styles', 'morz' ),
	'description' => wp_kses( sprintf( __( 'Ninja Forms styling options are available <a href="%s" title="Ninja Forms" target="_blank">here</a> if you have the Ninja Forms plugin installed.', 'morz' ), admin_url( 'admin.php?page=ninja-forms&tab=styles' ) ), 'vamtam-a-span' ),
),

);

