HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/jennysmasks.com/wp-content/themes/resonar/js/dotorg-customizer.js
/**
 * Theme Customizer enhancements for a better user experience in the background option.
 *
 * Contains handlers to make Theme Customizer preview reload changes asynchronously.
 */

( function( $ ) {
	// Background color.
	wp.customize( 'background_color', function( value ) {
		value.bind( function( to ) {
			$( 'body, .site-header .sub-menu li, .sidebar' ).css( {
					'background-color': to,
			} );

			$( '.widget_calendar tbody a, .page-links a' ).css( {
					'color': to,
			} );

			$( '<style>.site-header .nav-menu > li > .sub-menu:after { border-color:' + to + ' transparent; }</style>' ).appendTo( 'head' );

			$( '<style>.pagination .prev:hover, .pagination .prev:focus, .pagination .next:hover, .pagination .next:focus, .widget_calendar tbody a:hover, .widget_calendar tbody a:focus, .page-links a:hover, .page-links a:focus { color:' + to + '; }</style>' ).appendTo( 'head' );
		} );
	} );
} )( jQuery );