.current_page_item::after, .colors-custom .main-navigation #primary-menu > .current-menu-item::after, .colors-custom .main-navigation #primary-menu > .current_page_ancestor::after, .colors-custom .main-navigation #primary-menu > .current-menu-ancestor::after { border-color: hsl( ' . $hue . ', ' . $saturation . ', 80% ); } .colors-custom .main-navigation ul ul { background-color: hsl( ' . $hue . ', ' . $saturation . ', 30% ); color: hsl( ' . $hue . ', ' . $saturation . ', 100% ); } .colors-custom .main-navigation ul ul a{ color: hsl( ' . $hue . ', ' . $saturation . ', 100% ); } } .colors-custom .menu-toggle, .colors-custom .menu-toggle:hover, .colors-custom .menu-toggle:focus, .colors-custom .dropdown-toggle, .colors-custom .dropdown-toggle:hover, .colors-custom .dropdown-toggle:focus { background-color: transparent; } .colors-custom .page-numbers.current:after, .colors-custom .page-links .page-number::after { border-color: hsl( ' . $hue . ', ' . $saturation . ', 80% ); } .colors-custom .page-numbers:hover, .colors-custom .page-numbers:focus, .colors-custom .page-links a:hover, .colors-custom .page-links a:focus, .colors-custom .widget .tagcloud a:hover, .colors-custom .widget .tagcloud a:focus, .colors-custom .widget.widget_tag_cloud a:hover, .colors-custom .widget.widget_tag_cloud a:focus, .colors-custom .wp_widget_tag_cloud a:hover, .colors-custom .wp_widget_tag_cloud a:focus { background-image: -webkit-gradient(linear, left top, left bottom, from( hsla( ' . $hue . ', ' . $saturation . ', 64%, 0.1 )), to( hsla( ' . $hue . ', ' . $saturation . ', 64%, 0.1 ))); background-image: linear-gradient( hsla( ' . $hue . ', ' . $saturation . ', 64%, 0.1 ), hsla( ' . $hue . ', ' . $saturation . ', 64%, 0.1 )); } .colors-custom .site-footer { background-color: hsl( ' . $hue . ', ' . $saturation . ', 96.5% ); border-color: hsl( ' . $hue . ', ' . $saturation . ', 96.5% ); } .colors-custom .site-info { color: hsl( ' . $hue . ', ' . $saturation . ', 30% ); } .colors-custom .sticky-post { background-color: hsl( ' . $hue . ', ' . $saturation . ', 30% ); } .colors-custom .entry-meta, .colors-custom .entry-footer, .colors-custom .entry-meta a, .colors-custom .entry-footer a, .colors-custom .comment-metadata, .colors-custom .comment-metadata a { color: hsl( ' . $hue . ', ' . $reduced_saturation . ', 20% ); } .colors-custom .footer-widget .widget_calendar thead th, .colors-custom .footer-widget .widget_calendar th, .colors-custom .footer-widget .widget_calendar td { border-color: hsl( ' . $hue . ', ' . $saturation . ', 85% ); } .colors-custom .more-link { color: hsl( ' . $hue . ', ' . $saturation . ', 100% ); } .colors-custom .more-link:hover, .colors-custom .more-link:focus { background-image: -webkit-gradient(linear, left top, left bottom, from(hsla( ' . $hue . ', ' . $saturation . ', 35%, .2 )), to(hsla( ' . $hue . ', ' . $saturation . ', 35%, .2 ))); background-image: linear-gradient(hsla( ' . $hue . ', ' . $saturation . ', 35%, .2 ), hsla( ' . $hue . ', ' . $saturation . ', 35%, .2 )); } .colors-custom .entry-content h2, .colors-custom .entry-content h3 { border-color: hsl( ' . $hue . ', ' . $saturation . ', 90% ); } .colors-custom .wp-block-table td, .colors-custom .wp-block-table th { border-color: hsl( ' . $hue . ', ' . $saturation . ', 90% ); } .colors-custom .wp-block-file .wp-block-file__button, .colors-custom .wp-block-file .wp-block-file__button:hover, .colors-custom .wp-block-file .wp-block-file__button:focus { background-color: hsl( ' . $hue . ', ' . $saturation . ', 35% ); }'; /** * Filters Dan custom colors CSS. * * @since 1.1.1 * * @param string $css Base theme colors CSS. * @param int $hue The user's selected color hue. * @param string $saturation Filtered theme color saturation level. */ return apply_filters( 'dan_custom_colors_css', $css, $hue, $saturation ); }