a, .main-navigation li.current-menu-item > a', 'border-color' ), //Contrast with white bg array( 'a, a:visited', 'color', 'bg' ), array( 'a:hover, a:focus, a:active', 'color', 'bg' ), array( '.site-info a:hover', 'color', 'bg' ), array( '.comment-meta .comment-metadata a:hover', 'color', 'bg' ), array( '.site-main .post-navigation .nav-previous a:hover, .site-main .post-navigation .nav-next a:hover, .site-main .post-navigation .nav-previous a:focus, .site-main .post-navigation .nav-next a:focus, .site-main .post-navigation .nav-previous a:active, .site-main .post-navigation .nav-next a:active', 'color', 'bg' ), array( '.tags-links a:hover, .tags-links a:focus, .tags-links a:active', 'color', 'bg' ), array( '.tags-links a:hover, .tags-links a:focus, .tags-links a:active', 'border-color', 'bg' ), array( '.comment-content a:after, .entry-content a:after, .comment-respond a:after, .site-footer a:after', 'background-color', 'bg' ), array( '.entry-meta a:hover', 'color', 'bg' ), array( '.comments-link a:hover, .post-edit-link:hover:before, .comments-link a:focus, .post-edit-link:focus:before, .entry-format a:focus:before, .entry-format a:hover:before', 'border-color', 'bg' ), array( '.comments-link a:hover, .post-edit-link:hover:before, .comments-link a:focus, .post-edit-link:focus:before, .entry-format a:focus:before, .entry-format a:hover:before', 'color', 'bg' ), //Contrast against dark sidebar bg array( '.widget a:hover, .widget a:active, .widget a:focus', 'color', '#2b3233' ), array( '.comment-form .label-focus', 'color', '#fff' ), ), __( 'Main Accent' ) ); add_color_rule( 'link', '#ffffff', array( ) ); add_color_rule( 'fg1', '#ffffff', array( ) ); add_color_rule( 'fg2', '#ffffff', array( ) ); // Extra rules add_color_rule( 'extra', '#606666', array( array( 'body', 'color', 'bg' ), array( 'h1, h4, h5, h6', 'color', 'bg' ), array( '.site-main .post-navigation .nav-previous .title, .site-main .post-navigation .nav-next .title', 'color', 'bg' ), array( '.lines, .lines:before, .lines:after', 'background-color', 'bg' ), array( '.comments-link a, .comments-link a:visited, .entry-format a:before, .entry-format a:visited:before, .post-edit-link:before, .post-edit-link:visited:before', 'color', 'bg' ), array( '.entry-title a, .entry-title a:visited, .entry-title a:hover', 'color', 'bg' ), array( '.site-title a, .site-title a:visited, .site-title a:hover', 'color', 'bg' ), array( '.entry-meta, .entry-meta a, .entry-meta a:visited', 'color', 'bg' ), array( '.site-main .post-navigation .nav-previous a, .site-main .post-navigation .nav-next a, .site-main .post-navigation .nav-previous a:visited, .site-main .post-navigation .nav-next a:visited', 'color', 'bg' ), array( '.slide-menu .site-title a, .slide-menu .site-title a:visited, .slide-menu .site-title a:hover', 'color', '#2b3233' ), ) ); add_color_rule( 'extra', '#f5f7f7', array( array( 'button, input[type="button"], input[type="reset"], input[type="submit"], #infinite-handle span', 'color', 'txt' ), ) ); add_color_rule( 'extra', '#c8cbcc', array( array( '.site-header, .site-footer', 'border-color', 0.3 ), array( '.comments-link a, .entry-format a:before, .post-edit-link:before', 'border-color', 0.5 ), array( '.tags-links a, .tags-links a:visited', 'border-color', 'bg' ), array( '.tags-links a, .tags-links a:visited', 'color', 'bg' ), array( '.page-title', 'color', 'bg' ), array( '.comment-meta .comment-metadata a, .comment-meta .comment-metadata a:visited', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#e2e7e8', array( array( '.secondary-entry-meta:before', 'background-color', 0.3 ), array( '.comment-author .avatar, .comment, td, th', 'border-color', 0.3 ), array( 'blockquote:before', 'color', 0.7 ), ) ); add_color_rule( 'extra', '#8f9699', array( array( '.site-info a, .site-info a:visited, h2, h3, #respond h3', 'color', 'bg' ), ) ); //Extra CSS to replace box shadow on buttons with a border function scrawl_extra_css() { ?> button, input[type="button"], input[type="reset"], input[type="submit"], #infinite-handle span { box-shadow: 0 0 0; border-bottom: 4px solid; } button:hover, button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="reset"]:hover, input[type="reset"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, #infinite-handle span:hover, #infinite-handle span:focus { box-shadow: 0 0 0; border-bottom-width: 2px; } button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active, #infinite-handle span:active { box-shadow: 0 0 0; border-bottom: 0 none; }