esc_html__( 'Base Colors', 'blogun' ), 'panel' => 'blogun_panel_general', 'priority' => 20, ); // Accent color. $options['setting']['blogun_accent_color'] = array( 'transport' => 'postMessage', 'sanitize_callback' => 'blogun_sanitize_color', 'control' => array( 'type' => 'blogun-color', 'label' => esc_html__( 'Accent Color', 'blogun' ), 'description' => esc_html__( 'The accent color is used subtly throughout your site, to call attention to key elements.', 'blogun' ), 'section' => 'blogun_section_colors', 'priority' => 10, 'opacity' => false, ), ); // Dark mode $options['setting']['blogun_dark_mode'] = array( 'transport' => 'refresh', 'sanitize_callback' => 'blogun_sanitize_toggle', 'control' => array( 'type' => 'blogun-toggle', 'label' => esc_html__( 'Dark mode', 'blogun' ), 'description' => esc_html__( 'Enable dark mode.', 'blogun' ), 'section' => 'blogun_section_colors', 'priority' => 11, ), ); // Body background heading. $options['setting']['blogun_body_background_heading'] = array( 'transport' => 'postMessage', 'sanitize_callback' => 'blogun_sanitize_toggle', 'control' => array( 'type' => 'blogun-heading', 'priority' => 40, 'label' => esc_html__( 'Body Background', 'blogun' ), 'section' => 'blogun_section_colors', 'toggle' => false, ), ); return $options; } } endif; new Blogun_Customizer_Colors();