generate_custom_color_variables example



    /** * Customizer & frontend custom color variables. * * @since Twenty Twenty-One 1.0 * * @return void */
    public function custom_color_variables() {
        if ( 'd1e4dd' !== strtolower( get_theme_mod( 'background_color', 'D1E4DD' ) ) ) {
            wp_add_inline_style( 'twenty-twenty-one-style', $this->generate_custom_color_variables() );
        }
    }

    /** * Editor custom color variables. * * @since Twenty Twenty-One 1.0 * * @return void */
    public function editor_custom_color_variables() {
        
Home | Imprint | This part of the site doesn't use cookies.