esc_html__( 'Color Settings', 'book-blogger' ), 'description' => esc_html__( 'Customize the colors of your website.', 'book-blogger' ), 'panel' => 'book_blogger_global_panel', ) ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'color', 'settings' => 'primary_color', 'label' => __( 'Primary Background Color', 'book-blogger' ), 'section' => 'book_blogger_theme_color', 'default' => '#b2654b', 'transport' => 'auto', 'output' => array( array( 'element' => '.book-blogger-standard-post__blog-meta .cat-links a, .post_categories_on_thumbnail .cat-links a', 'property' => 'border-color', ), ), ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'color', 'settings' => 'primary_text_color', 'label' => __( 'Primary Text Color', 'book-blogger' ), 'section' => 'book_blogger_theme_color', 'transport' => 'auto', 'default' => '#b2654b', 'output' => array( array( 'element' => '.book-blogger-standard-post__blog-meta>span.posted_by a i, .book-blogger-standard-post__blog-meta>span.posted-on a, .widget-area .widget.widget_rss a.rsswidget, .widget ul li a:hover, .widget ul li a:visited, .widget ul li a:focus, .widget ul li a:active, .widget ol li a:hover, .widget ol li a:visited, .widget ol li a:focus, .widget ol li a:active, .book-blogger-standard-post .book-blogger-standard-post__full-summery a, a:hover, a:focus, a:active, span.opacity-none:before, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price, span.opacity-none a:before', 'property' => 'color', ), array( 'element' => '.book-blogger-standard-post__blog-meta>span.posted-on i.line', 'property' => 'background-color', ), ), ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'color', 'settings' => 'footer_bg_color', 'label' => __( 'Footer Background Color', 'book-blogger' ), 'section' => 'book_blogger_theme_color', 'default' => '#ccac8d', 'transport' => 'auto', 'output' => array( array( 'element' => 'footer.site-footer, .site-copyright', 'property' => 'background-color', ), ), ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'color', 'settings' => 'footer_title_color', 'label' => __( 'Footer Title Color', 'book-blogger' ), 'section' => 'book_blogger_theme_color', 'default' => '#5cB85c', 'transport' => 'auto', 'output' => array( array( 'element' => '.footer-content .widget h2.widget-title.footer-title', 'property' => 'color', ), array( 'element' => '.footer-content .widget h2.widget-title.footer-title:before', 'property' => 'background-color', ), ), ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'color', 'settings' => 'footer_br_color', 'label' => __( 'Copyright Top Border Color', 'book-blogger' ), 'section' => 'book_blogger_theme_color', 'default' => '1px solid rgba(221, 221, 221, 0.1)', 'choices' => [ 'alpha' => true, ], 'transport' => 'auto', 'output' => array( array( 'element' => '.site-copyright', 'property' => 'border-color', ), ), ] ); Kirki::add_field( 'book_blogger_config', [ 'type' => 'color', 'settings' => 'copyright_text_color', 'label' => __( 'Copyright Text Color', 'book-blogger' ), 'section' => 'book_blogger_theme_color', 'default' => '#ffffff', 'transport' => 'auto', 'output' => array( array( 'element' => '.site-copyright', 'property' => 'color', ), ), ] );