jQuery( document ).ready( function() { /* * Theme fonts handler. This is so that child themes can make sure to style for future changes. If * they add styles for `.font-primary`, `.font-secondary`, and `.font-headlines`, users will always * get the correct styles, even if the parent theme adds extra items. * * Child theme should still incorporate the normal selectors in theis `style.css`. This is just for * additional future-proofing. */ var font_primary = 'body, input, textarea, .label-checkbox, .label-radio, .required, #site-description, #reply-title small'; var font_secondary = 'dt, th, legend, label, input[type="submit"], input[type="reset"], input[type="button"], button, select, option, .wp-caption-text, .gallery-caption, .mejs-controls, .entry-byline, .entry-footer, .chat-author cite, .chat-author, .comment-meta, .breadcrumb-trail, .menu, .media-info .prep, .comment-reply-link, .comment-reply-login, .clean-my-archives .day, .whistle-title'; var font_headlines = 'h1, h2, h3, h4, h5, h6'; jQuery( font_primary ).addClass( 'font-primary' ); jQuery( font_secondary ).addClass( 'font-secondary' ); jQuery( font_headlines ).not( '#site-description' ).addClass( 'font-headlines' ); /* * Adds classes to the `