<?php

$typography = $titan->createThimCustomizerSection( array(
	'name'     => esc_html__( 'Typography', 'cakeart' ),
	'position' => 7,
	'id'       => 'typography'
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'Body', 'cakeart' ),
	'id'       => 'typography_font_body',
	'position' => 1,
) );
$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_body',
	'type'                => 'font-color',
	'show_font_family'    => true,
	'show_font_weight'    => true,
	'show_font_style'     => false,
	'show_font_size'      => true,
	'show_line_height'    => true,
	'show_letter_spacing' => false,
	'show_text_transform' => false,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,

	'default'             => array(
		'font-family'   => 'Roboto',
		'font-weight'   => 'normal',
		'color-opacity' => '#7a7a7a',
		'line-height'   => '1.5em',
		'font-size'     => '15px'
	)
) );
$typography->addSubSection( array(
	'name'     => esc_html__( 'Title', 'cakeart' ),
	'id'       => 'typography_font_title',
	'position' => 2,
) );


$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_title',
	'type'                => 'font-color',
	'show_font_family'    => true,
	'show_color'          => false,
	'show_font_weight'    => false,
	'show_font_style'     => false,
	'show_font_size'      => false,
	'show_line_height'    => false,
	'show_letter_spacing' => false,
	'show_text_transform' => false,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'font-family' => 'Roboto Slab',
	)
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'Special Title', 'cakeart' ),
	'id'       => 'typography_special_font_title',
	'position' => 3,
) );

$typography->createOption( array(
	'name'                => esc_html__( 'Select special Font', 'cakeart' ),
	'id'                  => 'font_special_title',
	'type'                => 'font-color',
	'show_font_family'    => true,
	'show_color'          => false,
	'show_font_weight'    => false,
	'show_font_style'     => false,
	'show_font_size'      => false,
	'show_line_height'    => false,
	'show_letter_spacing' => false,
	'show_text_transform' => false,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'font-family' => 'Pacifico',
	)
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'H1', 'cakeart' ),
	'id'       => 'typography_font_h1',
	'position' => 4,
) );
$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_h1',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_weight'    => true,
	'show_font_style'     => true,
	'show_font_size'      => true,
	'show_line_height'    => true,
	'show_text_transform' => true,
	'show_letter_spacing' => false,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'font-style'    => 'normal',
		'font-weight'   => 'normal',
		'color-opacity' => '#e47277',
		'line-height'   => '1.6em',
		'font-size'     => '56px',
		'text-tranform' => 'none'
	)
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'H2', 'cakeart' ),
	'id'       => 'typography_font_h2',
	'position' => 5,
) );

$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_h2',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_weight'    => true,
	'show_font_style'     => true,
	'show_font_size'      => true,
	'show_line_height'    => true,
	'show_letter_spacing' => false,
	'show_text_transform' => true,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'font-weight'    => 'normal',
		'color-opacity'  => '#2a2a2a',
		'font-style'     => 'normal',
		'line-height'    => '1.6em',
		'text-transform' => 'none',
		'font-size'      => '34px'
	)
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'H3', 'cakeart' ),
	'id'       => 'typography_font_h3',
	'position' => 6,
) );

$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_h3',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_size'      => true,
	'show_font_weight'    => true,
	'show_font_style'     => true,
	'show_line_height'    => true,
	'show_letter_spacing' => false,
	'show_text_transform' => true,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'color-opacity'  => '#2a2a2a',
		'font-size'      => '20px',
		'font-weight'    => 'normal',
		'font-style'     => 'normal',
		'line-height'    => '1.6em',
		'text-transform' => 'none',
	)
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'H4', 'cakeart' ),
	'id'       => 'typography_font_h4',
	'position' => 7,
) );

$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_h4',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_size'      => true,
	'show_font_weight'    => true,
	'show_font_style'     => true,
	'show_line_height'    => true,
	'show_letter_spacing' => false,
	'show_text_transform' => true,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'color-opacity'  => '#5f3c3e',
		'font-size'      => '16px',
		'font-weight'    => 'normal',
		'font-style'     => 'normal',
		'line-height'    => '1.6em',
		'text-transform' => 'none',
	),
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'H5', 'cakeart' ),
	'id'       => 'typography_font_h5',
	'position' => 8,
) );

$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_h5',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_weight'    => true,
	'show_font_style'     => true,
	'show_line_height'    => true,
	'show_font_size'      => true,
	'show_letter_spacing' => false,
	'show_text_transform' => true,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'color-opacity'  => '#0e2a36',
		'font-size'      => '16px',
		'font-weight'    => 'normal',
		'font-style'     => 'normal',
		'line-height'    => '1.6em',
		'text-transform' => 'none',
	)
) );

$typography->addSubSection( array(
	'name'     => esc_html__( 'H6', 'cakeart' ),
	'id'       => 'typography_font_h6',
	'position' => 9,
) );

$typography->createOption( array(
	'name'                => esc_html__( 'Select Font', 'cakeart' ),
	'id'                  => 'font_h6',
	'type'                => 'font-color',
	'show_font_family'    => false,
	'show_font_weight'    => true,
	'show_font_size'      => true,
	'show_font_style'     => true,
	'show_line_height'    => true,
	'show_letter_spacing' => false,
	'show_text_transform' => true,
	'show_font_variant'   => false,
	'show_text_shadow'    => false,
	'default'             => array(
		'font-weight'    => 'normal',
		'color-opacity'  => '#5f3c3e',
		'font-style'     => 'normal',
		'line-height'    => '1.4em',
		'text-transform' => 'none',
		'font-size'      => '16px'
	)
) );
