wp-content/themes/twentyseventeen/functions.php:433Displays custom color CSS.
function twentyseventeen_colors_css_wrap() { if ( 'custom' !== get_theme_mod( 'colorscheme' ) && ! is_customize_preview() ) { return; } require_once get_parent_theme_file_path( '/inc/color-patterns.php' ); $hue = absint( get_theme_mod( 'colorscheme_hue', 250 ) ); $customize_preview_data_hue = ''; if ( is_customize_preview() ) { $customize_preview_data_hue = 'data-hue="' . $hue . '"'; } ?> <style id="custom-theme-colors" <?php echo $customize_preview_data_hue; ?>> <?php echo twentyseventeen_custom_colors_css(); ?> </style> <?php}Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyseventeen/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.