D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
homehopshortterm
/
public_html
/
wp-content
/
themes
/
pixwell
/
backend
/
panels
/
Filename :
color.php
back
Copy
<?php /** Don't load directly */ defined( 'ABSPATH' ) || exit; /* color config */ if ( ! function_exists( 'pixwell_register_options_color' ) ) { function pixwell_register_options_color() { return [ 'id' => 'pixwell_config_section_color', 'title' => esc_html__( 'Color', 'pixwell' ), 'desc' => esc_html__( 'Customize the colors of your website.', 'pixwell' ), 'icon' => 'el el-tint', 'fields' => [ [ 'id' => 'section_start_global_color', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global', 'pixwell' ), 'indent' => true, ], [ 'id' => 'global_color', 'title' => esc_html__( 'Global Color', 'pixwell' ), 'subtitle' => esc_html__( 'Select a global color.', 'pixwell' ), 'description' => esc_html__( 'This setting applies to all links, menu, category overlays, main page, and many contrasting elements.', 'pixwell' ), 'type' => 'color', 'transparent' => false, ], [ 'id' => 'global_color_dark', 'title' => esc_html__( 'Dark Mode - Global Color', 'pixwell' ), 'subtitle' => esc_html__( 'Select a global color for dark mode.', 'pixwell' ), 'type' => 'color', 'transparent' => false, ], [ 'id' => 'section_end_global_color', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false, ], [ 'id' => 'section_start_elements_color', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Elements', 'pixwell' ), 'indent' => true, ], [ 'id' => 'hyperlink_color', 'title' => esc_html__( 'Hyperlink Color', 'pixwell' ), 'subtitle' => esc_html__( 'Select a color for the hyperlink in the post content.', 'pixwell' ), 'type' => 'color', 'transparent' => false, ], [ 'id' => 'hyperlink_color_dark', 'title' => esc_html__( 'Dark Mode - Hyperlink Color', 'pixwell' ), 'subtitle' => esc_html__( 'Select a color for the hyperlink in the post content for dark mode.', 'pixwell' ), 'type' => 'color', 'transparent' => false, ], [ 'id' => 'review_color', 'title' => esc_html__( 'Review Icon Color', 'pixwell' ), 'subtitle' => esc_html__( 'Select a color for the review icon.', 'pixwell' ), 'type' => 'color', 'transparent' => false, ], [ 'id' => 'review_color_dark', 'title' => esc_html__( 'Dark Mode - Review Icon Color', 'pixwell' ), 'subtitle' => esc_html__( 'Select a color for the review icon for dark mode.', 'pixwell' ), 'type' => 'color', 'transparent' => false, ], [ 'id' => 'popup_bg_color', 'title' => esc_html__( 'Gallery Popup Background', 'pixwell' ), 'subtitle' => esc_html__( 'Select a background for the gallery lightbox.', 'pixwell' ), 'description' => esc_html__( 'The recommended color is a dark shade.', 'pixwell' ), 'type' => 'color', 'transparent' => false, ], [ 'id' => 'section_end_elements_color', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false, ], ], ]; } }