Colors

Handles the customization constants for colors and themes in the BigCommerce plugin.

  • Full name: \BigCommerce\Customizer\Sections\Colors

Constants

ConstantVisibilityTypeValue
NAMEpublicstring’bigcommerce_colors’
CSSpublicstring’bigcommerce_use_css’
CSS_FULLpublicstring’default’
CSS_OFFpublicstring’disabled’
COLOR_BC_BLUEpublicstring’#5273f4’
COLOR_BC_GREENpublicstring’#65c68c’
COLOR_BC_LIGHT_GREYpublicstring’#e0e3e9’
COLOR_BC_BLACKpublicstring’#34313f’
COLOR_BANNER_GREYpublicstring’#757575’
COLOR_WHITEpublicstring’#ffffff’
TEXT_DARKpublicstring’dark’
TEXT_LIGHTpublicstring’light’
BUTTON_COLORpublicstring’bigcommerce_button_color’
BUTTON_TEXTpublicstring’bigcommerce_button_text_color’
SALE_COLORpublicstring’bigcommerce_sale_color’
SALE_TEXTpublicstring’bigcommerce_sale_text_color’
AVAILABILITY_COLORpublicstring’bigcommerce_availability_color’
CONDITION_COLORpublicstring’bigcommerce_condition_color’
CONDITION_TEXTpublicstring’bigcommerce_condition_text_color’
BANNER_COLORpublicstring’bigcommerce_banner_color’
BANNER_TEXTpublicstring’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:

ParameterTypeDescription
$wp_customize\WP_Customize_ManagerInstance of the WordPress Customizer.


Automatically generated on 2025-01-21