<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[38999] trunk/src/wp-content/themes/twentyseventeen/inc/color-patterns.php: Twenty Seventeen: Remove excessive escaping in `color-patterns.php`</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/38999">38999</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/38999","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>davidakennedy</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2016-10-28 21:52:38 +0000 (Fri, 28 Oct 2016)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Twenty Seventeen: Remove excessive escaping in `color-patterns.php`
Uses `absint()` to escape when getting value. Removes `esc_attr` from each instance of the variable.
Props fencer04.
Fixes <a href="https://core.trac.wordpress.org/ticket/38449">#38449</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentyseventeeninccolorpatternsphp">trunk/src/wp-content/themes/twentyseventeen/inc/color-patterns.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentyseventeeninccolorpatternsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/inc/color-patterns.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/inc/color-patterns.php 2016-10-28 21:00:14 UTC (rev 38998)
+++ trunk/src/wp-content/themes/twentyseventeen/inc/color-patterns.php 2016-10-28 21:52:38 UTC (rev 38999)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,7 +11,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Generate the CSS for the current custom color scheme.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function twentyseventeen_custom_colors_css() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $hue = get_theme_mod( 'colorscheme_hue', 250 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $hue = absint( get_theme_mod( 'colorscheme_hue', 250 ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filter Twenty Seventeen default saturation level.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,7 +20,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param $saturation integer
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $saturation = apply_filters( 'twentyseventeen_custom_colors_saturation', 50 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $saturation = absint( apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> $reduced_saturation = ( .8 * $saturation ) . '%';
</span><span class="cx" style="display: block; padding: 0 10px"> $saturation = $saturation . '%';
</span><span class="cx" style="display: block; padding: 0 10px"> $css = '
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,7 +86,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget .widget-title a:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget ul li a:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget ul li a:hover {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 0% ); /* base: #000; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 0% ); /* base: #000; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .entry-content a,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -95,15 +95,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-footer .widget-area a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .posts-navigation a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget_authors a strong {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- -webkit-box-shadow: inset 0 -1px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 6% ); /* base: rgba(15, 15, 15, 1); */
- box-shadow: inset 0 -1px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 6% ); /* base: rgba(15, 15, 15, 1); */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ -webkit-box-shadow: inset 0 -1px 0 hsl( ' . $hue . ', ' . $saturation . ', 6% ); /* base: rgba(15, 15, 15, 1); */
+ box-shadow: inset 0 -1px 0 hsl( ' . $hue . ', ' . $saturation . ', 6% ); /* base: rgba(15, 15, 15, 1); */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom button,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="button"],
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="submit"],
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .entry-footer .edit-link a.post-edit-link {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 13% ); /* base: #222; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background-color: hsl( ' . $hue . ', ' . $saturation . ', 13% ); /* base: #222; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="text"]:focus,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -145,7 +145,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .post-navigation a:hover .icon,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-content .site-content-light,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .twentyseventeen-panel .recent-posts .entry-header .edit-link {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 13% ); /* base: #222; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 13% ); /* base: #222; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .entry-content a:focus,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -200,8 +200,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget .widget-title a:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget ul li a:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget ul li a:hover {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- -webkit-box-shadow: inset 0 0 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 13% ), 0 3px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 13% );
- box-shadow: inset 0 0 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 13% ), 0 3px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 13% );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ -webkit-box-shadow: inset 0 0 0 hsl( ' . $hue . ', ' . $saturation . ', 13% ), 0 3px 0 hsl( ' . $hue . ', ' . $saturation . ', 13% );
+ box-shadow: inset 0 0 0 hsl( ' . $hue . ', ' . $saturation. ' , 13% ), 0 3px 0 hsl( ' . $hue . ', ' . $saturation . ', 13% );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> body.colors-custom,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -221,12 +221,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .nav-title,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .comment-body,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-album {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .social-navigation a:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .social-navigation a:focus {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: hsl( ' . esc_attr( $hue ) . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: hsl( ' . $hue . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="text"]:focus,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -246,7 +246,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="color"]:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom textarea:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-color: hsl( ' . esc_attr( $hue ) . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-color: hsl( ' . $hue . ', ' . $reduced_saturation . ', 20% ); /* base: #333; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom h2,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -274,12 +274,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-info a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .wp-caption,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .gallery-caption {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 40% ); /* base: #666; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 40% ); /* base: #666; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom abbr,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom acronym {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 40% ); /* base: #666; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-bottom-color: hsl( ' . $hue . ', ' . $saturation . ', 40% ); /* base: #666; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom h5,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -299,7 +299,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .navigation-top .current_page_item > a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation a:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-content .wp-playlist-light .wp-playlist-current-item .wp-playlist-item-artist {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom button:hover,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -332,7 +332,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="submit"].secondary:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="submit"].secondary:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom hr {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: hsl( ' . $hue . ', ' . $saturation . ', 73% ); /* base: #bbb; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="text"],
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -359,16 +359,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget.widget_tag_cloud a:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .wp_widget_tag_cloud a:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .wp_widget_tag_cloud a:focus {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-color: hsl( ' . $hue . ', ' . $saturation . ', 73% ); /* base: #bbb; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom thead th {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-bottom-color: hsl( ' . $hue . ', ' . $saturation . ', 73% ); /* base: #bbb; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .entry-footer .cat-links .icon,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .entry-footer .tags-links .icon {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 73% ); /* base: #bbb; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom button.secondary,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -378,28 +378,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom input[type="submit"].secondary,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .prev.page-numbers,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .next.page-numbers {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 87% ); /* base: #ddd; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background-color: hsl( ' . $hue . ', ' . $saturation . ', 87% ); /* base: #ddd; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget .tagcloud a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget.widget_tag_cloud a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .wp_widget_tag_cloud a {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 87% ); /* base: #ddd; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-color: hsl( ' . $hue . ', ' . $saturation . ', 87% ); /* base: #ddd; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child),
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget ul li {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-top-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 87% ); /* base: #ddd; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-top-color: hsl( ' . $hue . ', ' . $saturation . ', 87% ); /* base: #ddd; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget ul li {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 87% ); /* base: #ddd; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-bottom-color: hsl( ' . $hue . ', ' . $saturation . ', 87% ); /* base: #ddd; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom pre,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom mark,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom ins {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: hsl( ' . $hue . ', ' . $saturation . ', 93% ); /* base: #eee; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .navigation-top,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -408,7 +408,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .comments-pagination,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .entry-footer,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-footer {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-top-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-top-color: hsl( ' . $hue . ', ' . $saturation . ', 93% ); /* base: #eee; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .navigation-top,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -417,16 +417,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .single-featured-image-header,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-content .wp-playlist-light .wp-playlist-item,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom tr {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-bottom-color: hsl( ' . $hue . ', ' . $saturation . ', 93% ); /* base: #eee; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-content .wp-playlist-light {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 93% ); /* base: #eee; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-color: hsl( ' . $hue . ', ' . $saturation . ', 93% ); /* base: #eee; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-header,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .single-featured-image-header {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 98% ); /* base: #fafafa; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background-color: hsl( ' . $hue . ', ' . $saturation . ', 98% ); /* base: #fafafa; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom button,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -446,19 +446,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom.has-header-image .site-title,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom.has-header-image .site-title a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom.has-header-image .site-description {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: #fff; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: #fff; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> body.colors-custom,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .navigation-top,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation ul {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: #fff; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: #fff; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .widget ul li a,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .site-footer .widget-area ul li a {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- -webkit-box-shadow: inset 0 -1px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: rgba(255, 255, 255, 1); */
- box-shadow: inset 0 -1px 0 hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: rgba(255, 255, 255, 1); */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ -webkit-box-shadow: inset 0 -1px 0 hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: rgba(255, 255, 255, 1); */
+ box-shadow: inset 0 -1px 0 hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: rgba(255, 255, 255, 1); */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .menu-toggle,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -514,35 +514,35 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .nav-links .nav-previous .nav-title .icon,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .nav-links .nav-next .nav-title .icon {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 20% ); /* base: #222; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 20% ); /* base: #222; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation li li:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation li li.focus {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .navigation-top .menu-scroll-down {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom abbr[title] {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 46% ); /* base: #767676; */;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-bottom-color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation ul ul {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */
- background: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: #fff; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-color: hsl( ' . $hue . ', ' . $saturation . ', 73% ); /* base: #bbb; */
+ background: hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: #fff; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation ul li.menu-item-has-children:before,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation ul li.page_item_has_children:before {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 73% ); /* base: #bbb; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-bottom-color: hsl( ' . $hue . ', ' . $saturation . ', 73% ); /* base: #bbb; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation ul li.menu-item-has-children:after,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation ul li.page_item_has_children:after {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom-color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: #fff; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-bottom-color: hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: #fff; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation li li.focus > a,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -554,7 +554,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation li li.current-menu-item a:hover,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation li li.current_page_item a:focus,
</span><span class="cx" style="display: block; padding: 0 10px"> .colors-custom .main-navigation li li.current-menu-item a:focus {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: hsl( ' . esc_attr( $hue ) . ', ' . esc_attr( $saturation ) . ', 100% ); /* base: #fff; */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: hsl( ' . $hue . ', ' . $saturation . ', 100% ); /* base: #fff; */
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }';
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre>
</div>
</div>
</body>
</html>