8889841cthemes/astra/inc/customizer/configurations/colors-background/class-astra-body-colors-configs.php000064400000011652150513244060037660 0ustar00home/clixcotz/voyages.clix.co.tz/wp-content ASTRA_THEME_SETTINGS . '[global-color-palette]', 'type' => 'control', 'control' => 'ast-hidden', 'section' => $_section, 'priority' => 5, 'title' => __( 'Global Palette', 'astra' ), 'default' => astra_get_option( 'global-color-palette' ), 'transport' => 'postMessage', ), array( 'name' => 'astra-color-palettes', 'type' => 'control', 'control' => 'ast-color-palette', 'section' => $_section, 'priority' => 5, 'title' => __( 'Global Palette', 'astra' ), 'default' => astra_get_palette_colors(), 'transport' => 'postMessage', 'divider' => array( 'ast_class' => 'ast-section-spacing ast-bottom-section-divider' ), ), /** * Option: Theme color heading */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-color-divider-reset]', 'section' => $_section, 'title' => __( 'Theme Color', 'astra' ), 'type' => 'control', 'control' => 'ast-group-title', 'priority' => 5, 'settings' => array(), 'input_attrs' => array( 'reset_linked_controls' => array( 'theme-color', 'link-color', 'link-h-color', 'heading-base-color', 'text-color', 'border-color', ), ), ), /** * Option: Theme Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-color]', 'type' => 'control', 'control' => 'ast-color', 'section' => $_section, 'default' => astra_get_option( 'theme-color' ), 'priority' => 5, 'title' => __( 'Accent', 'astra' ), ), /** * Option: Link Colors group. */ array( 'name' => ASTRA_THEME_SETTINGS . '[base-link-colors-group]', 'default' => astra_get_option( 'base-link-colors-group' ), 'type' => 'control', 'control' => 'ast-color-group', 'title' => __( 'Links', 'astra' ), 'section' => $_section, 'transport' => 'postMessage', 'priority' => 5, 'responsive' => false, ), array( 'name' => 'link-color', 'parent' => ASTRA_THEME_SETTINGS . '[base-link-colors-group]', 'section' => $_section, 'type' => 'sub-control', 'control' => 'ast-color', 'default' => astra_get_option( 'link-color' ), 'priority' => 5, 'title' => __( 'Normal', 'astra' ), ), /** * Option: Link Hover Color */ array( 'name' => 'link-h-color', 'parent' => ASTRA_THEME_SETTINGS . '[base-link-colors-group]', 'section' => $_section, 'default' => astra_get_option( 'link-h-color' ), 'type' => 'sub-control', 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Hover', 'astra' ), ), /** * Option: Text Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[text-color]', 'default' => astra_get_option( 'text-color' ), 'type' => 'control', 'control' => 'ast-color', 'section' => $_section, 'priority' => 6, 'title' => __( 'Body Text', 'astra' ), ), /** * Option: Text Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[border-color]', 'default' => astra_get_option( 'border-color' ), 'type' => 'control', 'control' => 'ast-color', 'section' => $_section, 'priority' => 6, 'title' => __( 'Borders', 'astra' ), 'divider' => array( 'ast_class' => 'ast-bottom-dotted-divider' ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Body_Colors_Configs();