a', 'color', 0.8, 'link' ), array( '.top-widget-area input[type="text"]:focus, .top-widget-area input[type="email"]:focus, .top-widget-area input[type="url"]:focus, .top-widget-area input[type="password"]:focus, .top-widget-area input[type="search"]:focus, .top-widget-area textarea:focus,', 'color', 'link' ), array( '.widget .milestone-header, a[class*="tag-link-"]:hover', 'color', 'link' ), ) ); add_color_rule( 'extra', '#393939', array( array( 'body, a', 'color', 'bg' ), array( '.main-navigation ul ul', 'background-color' ), ) ); add_color_rule( 'extra', '#aaaaaa', array( array( '.entry-meta, .entry-meta a, .site-info, .site-info a', 'color', 'bg' ), array( '.site-main .comment-navigation a, .site-main .posts-navigation a, .site-main .post-navigation a', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#000000', array( // Needs contrast against bg array( '.tags-links a, .error-404 .tagcloud a', 'background-color', 0.1, 'bg' ), // Needs contrast against link // array( '.main-navigation a', 'color', 'link', 2.5 ), array( 'button, input[type="button"], input[type="reset"], input[type="submit"], #infinite-handle span', 'color', 'link' ), // Needs contrast against fg1 array( '.widget ul > li, .widget ol > li', 'border-top-color', 0.15, 'fg1' ), array( '.widget table, .widget td', 'border-color', 0.15, 'fg1' ), array( '.top-widget-area .widget_search .search-field, .top-widget-area input[type="text"]:focus, .top-widget-area input[type="email"]:focus, .top-widget-area input[type="url"]:focus, .top-widget-area input[type="password"]:focus, .top-widget-area input[type="search"]:focus, .top-widget-area textarea:focus', 'border-color', 0.15, 'fg1' ), ) ); add_color_rule( 'extra', '#808080', array( // Needs contrast against #fff array( '.entry-title a:hover, .entry-title a:focus, .entry-footer .edit-link a:hover', 'color', 'bg' ), // Needs contrast against #fbdb4a array( '.tagcloud a:hover', 'color', 'link' ), // Needs contrast against #393939 array( '.widget a:hover, .widget a:focus', 'color', 'fg1' ), ) ); add_color_rule( 'extra', '#f5f5f5', array( // Needs contrast against bg array( '.comment-meta', 'background-color', 'bg' ), ) ); add_color_rule( 'extra', '#ffffff', array( // Needs contrast against #393939 array( '.widget-title', 'color', 'fg1' ), array( 'a[class*="tag-link-"] ', 'background-color', 0.25, 'fg1' ), array( '.widget', 'color', 'fg1', 8 ), ) ); add_color_rule( 'extra', '#999999', array( // Needs contrast against #f5f5f5 array( '.tags-links a, .error-404 .tagcloud a', 'color', '#000000' ), array( '.comment-meta a', 'color', 'link' ), ) ); // Extra CSS function hew_extra_css() { ?> .widget-title { text-shadow: none; } .top-widget-area .widget_search .search-field { background-color: #fff; color: #393939; } @media screen and (max-width: 768px) { .main-navigation a:hover, .main-navigation ul :hover > a { color: #fff !important; } }