- Timestamp:
- 11/23/2017 04:08:42 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r41756 r42217 399 399 require_once( get_parent_theme_file_path( '/inc/color-patterns.php' ) ); 400 400 $hue = absint( get_theme_mod( 'colorscheme_hue', 250 ) ); 401 402 $customize_preview_data_hue = ''; 403 if ( is_customize_preview() ) { 404 $customize_preview_data_hue = 'data-hue="' . $hue . '"'; 405 } 401 406 ?> 402 <style type="text/css" id="custom-theme-colors" <?php if ( is_customize_preview() ) { echo 'data-hue="' . $hue . '"'; }?>>407 <style type="text/css" id="custom-theme-colors" <?php echo $customize_preview_data_hue; ?>> 403 408 <?php echo twentyseventeen_custom_colors_css(); ?> 404 409 </style>
Note: See TracChangeset
for help on using the changeset viewer.