a,.main-navigation ul li:hover > a:visited,.main-navigation ul .current_page_item > a, .main-navigation ul .current-menu-item > a', 'color', '#fff' ), //Contrast with submenu background (#373737) array( '.main-navigation ul ul li a:hover,.main-navigation ul li:hover ul li:hover > a, .main-navigation ul li:hover ul li:hover > a:visited, .main-navigation ul ul .current_page_item > a, .main-navigation ul ul .current-menu-item > a', 'color', '#373737' ), ), __( 'Main Accent' ) ); add_color_rule( 'fg1', '#cdd851', array( ) ); add_color_rule( 'fg2', '#9ba2af', array( ) ); add_color_rule( 'link', '#b1e8e6', array( ) ); //Body text color add_color_rule( 'extra', '#444444', array( array( 'body,#infinite-footer .container a', 'color', 'bg' ), ) ); //Borders add_color_rule( 'extra', '#cccccc', array( array( '.page-header:after,.entry-meta:after,.comments-title:before, .comment-reply-title:before', 'background-color', 0.5 ), ) ); add_color_rule( 'extra', '#666666', array( array( '.entry-footer a,.entry-footer a:visited,.entry-footer a:hover,.site-footer,.site-footer a,.site-footer a:visited,.site-footer a:hover', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#999999', array( array( '.entry-meta,.entry-meta a,.entry-meta a:visited,.entry-meta a:hover,.entry-footer', 'color', 'bg' ), array( '.comment-meta .comment-metadata a,.comment-meta .comment-metadata a:visited,.comment-meta .comment-metadata a:hover', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#ffffff', array( //Contrast with Blue (txt) array( '#infinite-handle span:hover, #infinite-handle span,button, input[type="button"], input[type="reset"], input[type="submit"],button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,.menu-toggle:before', 'color', 'txt' ), array( '.home .site-content .entry-meta, .archive .site-content .entry-meta, .search .site-content .entry-meta,.home .site-content .entry-meta a, .archive .site-content .entry-meta a, .search .site-content .entry-meta a,.home .site-content .entry-format:before, .archive .site-content .entry-format:before, .search .site-content .entry-format:before', 'color', 'txt' ), array( '.site-main .post-navigation .meta-nav:before, .site-main .paging-navigation .meta-nav:before,.site-main .post-navigation .nav-previous a, .site-main .paging-navigation .nav-previous a,.site-main .post-navigation .nav-next a, .site-main .paging-navigation .nav-next a', 'color', 'txt' ), array( '.site-main .post-navigation .nav-previous a:hover, .site-main .paging-navigation .nav-previous a:hover', 'color', 'txt', 0.5 ), //Contrast with dark background array( '.entry-title a,.entry-title a:visited,.entry-title a:hover', 'color', '#000' ), array( '.widget a,.widget a:visited,.widget a:hover,.main-navigation ul ul li a,.main-navigation ul ul li a:visited', 'color', '#373737' ), ) ); /* Additional color palettes */ add_color_palette( array( '#ffffff', '#dc4206' ), 'Red-Orange' ); add_color_palette( array( '#ffffff', '#333333' ), 'Gray' ); add_color_palette( array( '#ffffff', '#52b16d' ), 'Green' ); add_color_palette( array( '#333333', '#898989' ), 'Dark' ); add_color_palette( array( '#444256', '#e6657d' ), 'Purple-Pink' ); add_color_palette( array( '#e8ddcb', '#37b3ab' ), 'Tan-Teal' );