Colors
Handles the customization constants for colors and themes in the BigCommerce plugin.
- Full name:
\BigCommerce\Customizer\Sections\Colors
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NAME | public | string | ’bigcommerce_colors’ |
CSS | public | string | ’bigcommerce_use_css’ |
CSS_FULL | public | string | ’default’ |
CSS_OFF | public | string | ’disabled’ |
COLOR_BC_BLUE | public | string | ’#5273f4’ |
COLOR_BC_GREEN | public | string | ’#65c68c’ |
COLOR_BC_LIGHT_GREY | public | string | ’#e0e3e9’ |
COLOR_BC_BLACK | public | string | ’#34313f’ |
COLOR_BANNER_GREY | public | string | ’#757575’ |
COLOR_WHITE | public | string | ’#ffffff’ |
TEXT_DARK | public | string | ’dark’ |
TEXT_LIGHT | public | string | ’light’ |
BUTTON_COLOR | public | string | ’bigcommerce_button_color’ |
BUTTON_TEXT | public | string | ’bigcommerce_button_text_color’ |
SALE_COLOR | public | string | ’bigcommerce_sale_color’ |
SALE_TEXT | public | string | ’bigcommerce_sale_text_color’ |
AVAILABILITY_COLOR | public | string | ’bigcommerce_availability_color’ |
CONDITION_COLOR | public | string | ’bigcommerce_condition_color’ |
CONDITION_TEXT | public | string | ’bigcommerce_condition_text_color’ |
BANNER_COLOR | public | string | ’bigcommerce_banner_color’ |
BANNER_TEXT | public | string | ’bigcommerce_banner_text_color’ |
Methods
register
Registers the Colors section and related settings in the WordPress Customizer.
public register(\WP_Customize_Manager $wp_customize): void
Parameters:
Parameter | Type | Description |
---|---|---|
$wp_customize | \WP_Customize_Manager | Instance of the WordPress Customizer. |
Automatically generated on 2025-01-21