ASTRA_THEME_SETTINGS . '[site-accessibility-toggle]', 'default' => astra_get_option( 'site-accessibility-toggle' ), 'type' => 'control', 'control' => 'ast-toggle-control', 'title' => __( 'Site Accessibility', 'astra' ), 'section' => 'section-accessibility', 'priority' => 1, 'divider' => array( 'ast_class' => 'ast-section-spacing' ), ), /** * Option: Highlight type. */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-accessibility-highlight-type]', 'default' => astra_get_option( 'site-accessibility-highlight-type' ), 'type' => 'control', 'control' => 'ast-radio-icon', 'priority' => 1, 'title' => __( 'Global Highlight', 'astra' ), 'section' => 'section-accessibility', 'choices' => array( 'dotted' => array( 'label' => __( 'Dotted', 'astra' ), 'path' => 'ellipsis', ), 'solid' => array( 'label' => __( 'Solid', 'astra' ), 'path' => 'minus', ), ), 'divider' => array( 'ast_class' => 'ast-top-dotted-divider' ), 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[site-accessibility-toggle]', 'operator' => '===', 'value' => true, ), ), ), /** * Option: Highlight color. */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-accessibility-highlight-color]', 'default' => astra_get_option( 'site-accessibility-highlight-color' ), 'type' => 'control', 'control' => 'ast-color', 'priority' => 1, 'title' => __( 'Color', 'astra' ), 'section' => 'section-accessibility', 'divider' => array( 'ast_class' => 'ast-bottom-dotted-divider' ), 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[site-accessibility-toggle]', 'operator' => '===', 'value' => true, ), ), ), /** * Option: Highlight type. */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-accessibility-highlight-input-type]', 'default' => astra_get_option( 'site-accessibility-highlight-input-type' ), 'type' => 'control', 'control' => 'ast-radio-icon', 'priority' => 1, 'title' => __( 'Input Highlight', 'astra' ), 'section' => 'section-accessibility', 'choices' => array( 'disable' => array( 'label' => __( 'Disable', 'astra' ), 'path' => 'remove', ), 'dotted' => array( 'label' => __( 'Dotted', 'astra' ), 'path' => 'ellipsis', ), 'solid' => array( 'label' => __( 'Solid', 'astra' ), 'path' => 'minus', ), ), 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[site-accessibility-toggle]', 'operator' => '===', 'value' => true, ), ), ), /** * Option: Highlight color. */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-accessibility-highlight-input-color]', 'default' => astra_get_option( 'site-accessibility-highlight-input-color' ), 'type' => 'control', 'control' => 'ast-color', 'priority' => 1, 'title' => __( 'Color', 'astra' ), 'section' => 'section-accessibility', 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[site-accessibility-toggle]', 'operator' => '===', 'value' => true, ), ), ), ); return array_merge( $configurations, $_configs ); } } new Astra_Accessibility_Configs();