__( 'Customize Colors', 'brooklyn-lite' ), 'panel' => 'brooklyn_lite_panel', 'priority' => 17, ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_primary', 'label' => esc_attr__( 'Primary color', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors', 'default' => '#ffd200', 'transport' => 'auto', 'output' => array( array( 'element' => '.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,.product div.entry-summary p.price, .product div.entry-summary span.price, .byline a:hover,.single-post .posted-on a,.blog-loop .posted-on a,.entry-title a:hover,.brooklyn_lite_recent_entries .post-date,.menuStyle3 .top-bar .contact-item .fa,.widget_categories li:hover a,.post-navigation a, .call-to-action .btn:hover, .widget_categories li:hover a, .widget_categories li:hover i, .widget_archive li:hover a, .widget_archive li:hover i, .copyright a, header .navbar .navbar-collapse .navbar-nav li a:hover, header .navbar .navbar-collapse .navbar-nav li a:focus, header .navbar .navbar-collapse .navbar-nav li.current-menu-item a, .banner-contents .btn, .entry-footer .read-more:hover,.respond a,.author-details a.author-link, .post-navigation a,.navbar .navbar-collapse .navbar-nav li.current-menu-item a', 'property' => 'color', ), array( 'element' => '.product .single_add_to_cart_button.button.alt,.button,input[type="button"],input[type="reset"],input[type="submit"],.entry-footer .read-more', 'property' => 'border-color', ), array( 'element' => '.woocommerce-checkout button.button.alt,.woocommerce-checkout button.button.alt:hover,.woocommerce-cart .cart-collaterals .cart_totals .button:hover,.woocommerce-cart .cart-collaterals .cart_totals .button,.product .single_add_to_cart_button.button.alt:hover,.product .single_add_to_cart_button.button.alt,.woocommerce ul.products li.product .button,.comments-area .comment-reply-link:hover,button,.button,input[type="button"],input[type="reset"],input[type="submit"],.entry-footer .read-more, .page-navigation a, .comment-form input[type="submit"],.comment-content a.reply-btn, aside .widget-title:before', 'property' => 'background-color', ), ), ) ); /** * Header colors */ ProWPTheme_Kirki::add_section( 'brooklyn_lite_section_colors_header', array( 'title' => esc_attr__( 'Header Colors', 'brooklyn-lite' ), 'panel' => 'brooklyn_lite_panel', 'section' => 'brooklyn_lite_section_colors', 'description' => esc_attr__( 'Different color options show up here, based on the type of menu you select from the Header > Menu section', 'brooklyn-lite' ), 'priority' => 2, ) ); /** * Menu type 1 */ ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_mt1_site_title', 'label' => esc_attr__( 'Site title', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_header', 'default' => '#ffffff', 'required' => array( array( 'setting' => 'menu_type', 'value' => 'header-default', 'operator' => '==', ), ), 'transport' => 'auto', 'output' => array( array( 'element' => '.header-default a.navbar-brand', 'property' => 'color', ), ), ) ); // ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( // 'type' => 'color', // 'settings' => 'color_mt1_site_title_sticky', // 'label' => esc_attr__( 'Site title (sticky)', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors_header', // 'default' => '#191919', // 'required' => array( // array( // 'setting' => 'menu_type', // 'value' => 'header-default', // 'operator' => '==', // ), // ), // 'transport' => 'auto', // 'output' => array( // array( // 'element' => '.header-default .sticky-wrapper.is-sticky .site-title a', // 'property' => 'color', // ), // ), // ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_mt1_site_desc', 'label' => esc_attr__( 'Site description', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_header', 'default' => '#ffffff', 'required' => array( array( 'setting' => 'menu_type', 'value' => 'header-default', 'operator' => '==', ), ), 'transport' => 'auto', 'output' => array( array( 'element' => '.main-header .site-description', 'property' => 'color', ), ), ) ); // ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( // 'type' => 'color', // 'settings' => 'color_mt1_site_desc_sticky', // 'label' => esc_attr__( 'Site description (sticky)', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors_header', // 'default' => '#191919', // 'required' => array( // array( // 'setting' => 'menu_type', // 'value' => 'header-default', // 'operator' => '==', // ), // ), // 'transport' => 'auto', // 'output' => array( // array( // 'element' => '.header-default .sticky-wrapper.is-sticky .site-description', // 'property' => 'color', // ), // ), // ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_mt1_top_menu_items', 'label' => esc_attr__( 'Top level menu items', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_header', 'default' => '#262626', 'required' => array( array( 'setting' => 'menu_type', 'value' => 'header-default', 'operator' => '==', ), ), 'transport' => 'auto', 'output' => array( array( 'element' => '.main-header #main-menu a, .header-default .fa-search', 'property' => 'color', ), ), ) ); // ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( // 'type' => 'color', // 'settings' => 'color_mt1_top_menu_items_sticky', // 'label' => esc_attr__( 'Top level menu items (sticky)', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors_header', // 'default' => '#191919', // 'required' => array( // array( // 'setting' => 'menu_type', // 'value' => 'header-default', // 'operator' => '==', // ), // ), // 'transport' => 'auto', // 'output' => array( // array( // 'element' => '.header-default .sticky-wrapper.is-sticky #main-menu a, .header-default .sticky-wrapper.is-sticky .fa-search', // 'property' => 'color', // ), // ), // ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_mt1_bg_color', 'label' => esc_attr__( 'Header Background color', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_header', 'default' => '', 'required' => array( array( 'setting' => 'menu_type', 'value' => 'header-default', 'operator' => '==', ), ), 'choices' => array( 'alpha' => true, ), 'transport' => 'auto', 'output' => array( array( 'element' => '.main-header', 'property' => 'background-color', ), ), ) ); // ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( // 'type' => 'color', // 'settings' => 'color_mt1_bg_color_sticky', // 'label' => esc_attr__( 'Background color (sticky)', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors_header', // 'default' => '#ffffff', // 'required' => array( // array( // 'setting' => 'menu_type', // 'value' => 'header-default', // 'operator' => '==', // ), // ), // 'choices' => array( // 'alpha' => true, // ), // 'transport' => 'auto', // 'output' => array( // array( // 'element' => '.header-default .is-sticky .site-header', // 'property' => 'background-color', // ), // ), // ) ); //Submenu ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_submenu_items', 'label' => esc_attr__( 'Submenu items', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_header', 'default' => '#262626', 'transport' => 'auto', 'output' => array( array( 'element' => '#main-menu .sub-menu li a', 'property' => 'color', ), ), ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_submenu_bg', 'label' => esc_attr__( 'Submenu background', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_header', 'default' => '#fff', 'transport' => 'auto', 'output' => array( array( 'element' => '#main-menu ul ul li', 'property' => 'background-color', ), ), ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'mobile_toggle_color', 'label' => esc_attr__( 'Mobile Toggle Icon color', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_header', 'default' => '', 'transport' => 'auto', 'output' => array( array( 'element' => '.navbar-toggler-icon, .main-menu li.menu-item-has-children > .subnav-toggle, .main-menu li.page_item_has_children > .subnav-toggle', 'property' => 'color', ), ), ) ); /** * Blog colors */ ProWPTheme_Kirki::add_section( 'brooklyn_lite_section_colors_blog', array( 'title' => esc_attr__( 'Blog Colors', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors', 'priority' => 4, ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_index_post_title', 'label' => esc_attr__( 'Post title (archives)', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_blog', 'default' => '#262626', 'transport' => 'auto', 'output' => array( array( 'element' => '.page-header .page-title', 'property' => 'color', ), ), ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_single_post_title', 'label' => esc_attr__( 'Post title (single)', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_blog', 'default' => '#262626', 'transport' => 'auto', 'output' => array( array( 'element' => '.blog-posts .entry-title', 'property' => 'color', ), ), ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_meta_cat_bg', 'label' => esc_attr__( 'Categories (single and archives)', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_blog', 'default' => '#fff', 'transport' => 'auto', 'output' => array( array( 'element' => '.blog-posts .cat-links', 'property' => 'background-color', ), ), ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_meta_text', 'label' => esc_attr__( 'Meta text', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_blog', 'default' => '#999', 'transport' => 'auto', 'output' => array( array( 'element' => '.single .entry-meta', 'property' => 'color', ), ), ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_meta_links', 'label' => esc_attr__( 'Meta links', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_blog', 'default' => '#999', 'transport' => 'auto', 'output' => array( array( 'element' => '.single .entry-meta a', 'property' => 'color', ), ), ) ); ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( 'type' => 'color', 'settings' => 'color_post_text', 'label' => esc_attr__( 'Body text', 'brooklyn-lite' ), 'section' => 'brooklyn_lite_section_colors_blog', 'default' => '#262626', 'transport' => 'auto', 'output' => array( array( 'element' => '.single-post .entry-content, .blog-loop .entry-content, article .entry-content p', 'property' => 'color', ), array( 'element' => '.editor-block-list__layout, .editor-block-list__layout .editor-block-list__block', 'context' => array( 'editor' ), ), ), ) ); /** * Widgets */ // ProWPTheme_Kirki::add_section( 'brooklyn_lite_section_colors_widgets', array( // 'title' => esc_attr__( 'Footer Colors', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors', // 'priority' => 12, // ) ); // ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( // 'type' => 'color', // 'settings' => 'color_widgets_title', // 'label' => esc_attr__( 'Widget titles', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors_widgets', // 'default' => '#191919', // 'transport' => 'auto', // 'output' => array( // array( // 'element' => '.widget .widget-title', // 'property' => 'color', // ), // ), // ) ); // ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( // 'type' => 'color', // 'settings' => 'color_widgets_text', // 'label' => esc_attr__( 'Widget text', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors_widgets', // 'default' => '#707070', // 'transport' => 'auto', // 'output' => array( // array( // 'element' => '.widget', // 'property' => 'color', // ), // ), // ) ); // ProWPTheme_Kirki::add_field( 'brooklyn_lite', array( // 'type' => 'color', // 'settings' => 'color_widgets_links', // 'label' => esc_attr__( 'Widget links', 'brooklyn-lite' ), // 'section' => 'brooklyn_lite_section_colors_widgets', // 'default' => '#595959', // 'transport' => 'auto', // 'output' => array( // array( // 'element' => '.widget a', // 'property' => 'color', // ), // ), // ) );