You appear to be a bot. Output may be restricted
Description
Editor custom color variables.
Usage
$void = Twenty_Twenty_One_Custom_Colors::editor_custom_color_variables();
Parameters
Returns
void
Source
File name: twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php
Lines:
1 to 14 of 14
public function editor_custom_color_variables() { wp_enqueue_style( 'twenty-twenty-one-custom-color-overrides', get_theme_file_uri( 'assets/css/custom-color-overrides.css' ), array(), wp_get_theme()->get( 'Version' ) ); $background_color = get_theme_mod( 'background_color', 'D1E4DD' ); if ( 'd1e4dd' !== strtolower( $background_color ) ) { wp_add_inline_style( 'twenty-twenty-one-custom-color-overrides', $this->generate_custom_color_variables( 'editor' ) ); } }