- Timestamp:
- 12/14/2018 03:24:35 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/inc/color-patterns.php
r44149 r44155 27 27 */ 28 28 29 $saturation 30 $saturation 29 $saturation = absint( apply_filters( 'twentynineteen_custom_colors_saturation', 100 ) ); 30 $saturation = $saturation . '%'; 31 31 32 32 $saturation_selection = absint( apply_filters( 'twentynineteen_custom_colors_saturation_selection', 50 ) ); 33 33 $saturation_selection = $saturation_selection . '%'; 34 34 35 $lightness 36 $lightness 37 38 $lightness_hover 39 $lightness_hover 40 41 $lightness_selection 42 $lightness_selection 35 $lightness = absint( apply_filters( 'twentynineteen_custom_colors_lightness', 33 ) ); 36 $lightness = $lightness . '%'; 37 38 $lightness_hover = absint( apply_filters( 'twentynineteen_custom_colors_lightness_hover', 23 ) ); 39 $lightness_hover = $lightness_hover . '%'; 40 41 $lightness_selection = absint( apply_filters( 'twentynineteen_custom_colors_lightness_selection', 90 ) ); 42 $lightness_selection = $lightness_selection . '%'; 43 43 44 44 $theme_css = ' … … 234 234 } 235 235 '; 236 $css = '';236 $css = ''; 237 237 if ( function_exists( 'register_block_type' ) && is_admin() ) { 238 238 $css .= $editor_css; 239 } else 239 } elseif ( ! is_admin() ) { 240 240 $css = $theme_css; 241 241 }
Note: See TracChangeset
for help on using the changeset viewer.