add( array( 'selectors' => array( '.search-toggle' ), 'declarations' => array( 'color' => $color ) ) ); } // Search bg color $bg = bulan_mod( $prefix . 'search-bg-color' ); if ( $bg !== customizer_library_get_default( $prefix . 'search-bg-color' ) ) { $color = sanitize_hex_color( $bg ); Customizer_Library_Styles()->add( array( 'selectors' => array( '.search-toggle' ), 'declarations' => array( 'background-color' => $color ) ) ); } } endif; add_action( 'bulan_customizer_library_styles', 'bulan_customizer_search_styles' );