Colors * * @package Aryx */ /** * Colors Panel Declaration * */ Kirki::add_panel( 'aryx_p_colors', array( 'priority' => 50, 'title' => esc_html__( 'Theme Colors', 'aryx' ), ) ); /** * Colors Sections Declarations * */ /* * General Colors Section * * Customizer > Colors > General Colors * */ /* General Colors Section Declaration */ Kirki::add_section( 'aryx_s_general_colors_p_colors', array( 'title' => esc_html__( 'General Colors', 'aryx' ), 'panel' => 'aryx_p_colors', 'priority' => 10, ) ); /* General Colors Section Fields */ require_once get_template_directory() . '/inc/customizer/panels/colors/general-colors/general-colors.php'; /* * Header Colors Section * * Customizer > Colors > Header Colors * */ /* Header Colors Section Declaration */ Kirki::add_section( 'aryx_s_header_colors_p_colors', array( 'title' => esc_html__( 'Header Colors', 'aryx' ), 'panel' => 'aryx_p_colors', 'priority' => 20, ) ); /* Header Colors Section Fields */ require_once get_template_directory() . '/inc/customizer/panels/colors/header-colors/header-colors.php'; /* * Button Colors Section * * Customizer > Colors > Button Colors * */ /* Button Colors Section Declaration */ Kirki::add_section( 'aryx_s_button_colors_p_colors', array( 'title' => esc_html__( 'Button Colors', 'aryx' ), 'panel' => 'aryx_p_colors', 'priority' => 30, ) ); /* Button Colors Section Fields */ require_once get_template_directory() . '/inc/customizer/panels/colors/button-colors/button-colors.php'; /* * Footer Colors Section * * Customizer > Colors > Footer Colors * */ /* Footer Colors Section Declaration */ Kirki::add_section( 'aryx_s_footer_colors_p_colors', array( 'title' => esc_html__( 'Footer Colors', 'aryx' ), 'panel' => 'aryx_p_colors', 'priority' => 40, ) ); /* Footer Colors Section Fields */ require_once get_template_directory() . '/inc/customizer/panels/colors/footer-colors/footer-colors.php';