<!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>[49247] trunk/src/wp-content/themes/twentytwentyone: Twenty Twenty: Import the latest changes from GitHub</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 { white-space: pre-line; 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/49247">49247</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/49247","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>desrosj</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2020-10-20 18:24:33 +0000 (Tue, 20 Oct 2020)</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 Twenty: Import the latest changes from GitHub
For a full list of changes since <a href="https://core.trac.wordpress.org/changeset/49216">[49216]</a>, see https://github.com/WordPress/twentytwentyone/compare/dfe141276ca4b856bbcd748f9da108ddad026c4c...trunk/.
Props poena, melchoyce, luminuu, aristath, jffng, ryelle, kishanjasani, rolfsiebers, sresok, desrosj.
See <a href="https://core.trac.wordpress.org/ticket/51526">#51526</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetscssieeditorcss">trunk/src/wp-content/themes/twentytwentyone/assets/css/ie-editor.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetscssiecss">trunk/src/wp-content/themes/twentytwentyone/assets/css/ie.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetscssstyleeditorcss">trunk/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsjsprimarynavigationjs">trunk/src/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneclassesclasstwentytwentyonecustomcolorsphp">trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneclassesclasstwentytwentyonecustomizephp">trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneclassesclasstwentytwentyonesvgiconsphp">trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonecommentsphp">trunk/src/wp-content/themes/twentytwentyone/comments.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonefunctionsphp">trunk/src/wp-content/themes/twentytwentyone/functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneheaderphp">trunk/src/wp-content/themes/twentytwentyone/header.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneimagephp">trunk/src/wp-content/themes/twentytwentyone/image.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneincbackcompatphp">trunk/src/wp-content/themes/twentytwentyone/inc/back-compat.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneinccustomcssphp">trunk/src/wp-content/themes/twentytwentyone/inc/custom-css.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneinctemplatefunctionsphp">trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneinctemplatetagsphp">trunk/src/wp-content/themes/twentytwentyone/inc/template-tags.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonepagephp">trunk/src/wp-content/themes/twentytwentyone/page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonesinglephp">trunk/src/wp-content/themes/twentytwentyone/single.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonestylertlcss">trunk/src/wp-content/themes/twentytwentyone/style-rtl.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonestylecss">trunk/src/wp-content/themes/twentytwentyone/style.css</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonetemplatepartscontentcontentpagephp">trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-page.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonetemplatepartscontentcontentsinglephp">trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonetemplatepartscontentcontentphp">trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonetemplatepartsexcerptexcerptchatphp">trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-chat.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonetemplatepartsexcerptexcerptgalleryphp">trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-gallery.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyonetemplatepartsexcerptexcerptimagephp">trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-image.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li>trunk/src/wp-content/themes/twentytwentyone/assets/images/</li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesDaffodilsjpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/Daffodils.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesReadingjpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/Reading.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesintheboisdeboulognejpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/in-the-bois-de-boulogne.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesplayinginthesandjpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/playing-in-the-sand.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesrosestremiereshollyhocks1884jpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks-1884.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesrosestremiereshollyhocksjpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesselfportrait1885jpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/self-portrait-1885.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesthegardenatbougival1884jpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/the-garden-at-bougival-1884.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesvillawithorangetreesnicejpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/villa-with-orange-trees-nice.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsimagesyoungwomaninmauvejpg">trunk/src/wp-content/themes/twentytwentyone/assets/images/young-woman-in-mauve.jpg</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsjscustomizehelpersjs">trunk/src/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneassetsjscustomizejs">trunk/src/wp-content/themes/twentytwentyone/assets/js/customize.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpcontentthemestwentytwentyoneassetscssieeditorcss"></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/twentytwentyone/assets/css/ie-editor.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/assets/css/ie-editor.css 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/assets/css/ie-editor.css 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,11 +32,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* OS dark theme preference */
</span><span class="cx" style="display: block; padding: 0 10px"> @media (prefers-color-scheme: dark) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference body {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #28303d;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> @media (prefers-color-scheme: dark){
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background body{
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference body{
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #28303d;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2197,12 +2197,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-table.wp-calendar-table thead {
- border: 1px solid #28303d;
-}
-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.wp-calendar-table thead,
</ins><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table tbody {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid #28303d;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
+ border: 1px solid;
</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"> table.wp-calendar-table caption {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2209,6 +2207,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: left;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 20px;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
</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"> .wp-calendar-nav {
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneassetscssiecss"></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/twentytwentyone/assets/css/ie.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/assets/css/ie.css 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/assets/css/ie.css 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> Author URI: https://wordpress.org/
</span><span class="cx" style="display: block; padding: 0 10px"> Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this theme’s soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
</span><span class="cx" style="display: block; padding: 0 10px"> Requires at least: 5.3
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-Tested up to: 5.5
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Tested up to: 5.6
</ins><span class="cx" style="display: block; padding: 0 10px"> Requires PHP: 5.6
</span><span class="cx" style="display: block; padding: 0 10px"> Version: 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> License: GNU General Public License v2 or later
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -124,11 +124,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* OS dark theme preference */
</span><span class="cx" style="display: block; padding: 0 10px"> @media (prefers-color-scheme: dark) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference body {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #28303d;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> @media (prefers-color-scheme: dark){
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background body{
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference body{
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #28303d;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1364,11 +1364,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-content > *.alignleft, .entry-content > *.alignright,
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-content > *.alignleft:first-child + *,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.entry-content > *.alignright:first-child + *, .entry-content > *.alignfull {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.entry-content > *.alignright:first-child + *, .entry-content > *.alignfull.has-background {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-top: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.entry-content > *:last-child, .entry-content > *.alignfull {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.entry-content > *:last-child, .entry-content > *.alignfull.has-background {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4249,12 +4249,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-table.wp-calendar-table thead {
- border: 1px solid #28303d;
-}
-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+table.wp-calendar-table thead,
</ins><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table tbody {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid #28303d;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
+ border: 1px solid;
</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"> table.wp-calendar-table caption {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4261,6 +4259,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: left;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 20px;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
</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"> .wp-calendar-nav {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4809,7 +4808,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> padding-top: 30px;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #28303d;
</span><span class="cx" style="display: block; padding: 0 10px"> font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- font-size: 1rem;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ font-size: 1.125rem;
</ins><span class="cx" style="display: block; padding: 0 10px"> line-height: 1.7;
</span><span class="cx" style="display: block; padding: 0 10px"> border-top: 3px solid #28303d;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5705,6 +5704,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> height: 100vh;
</span><span class="cx" style="display: block; padding: 0 10px"> z-index: 499;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border: 2px solid transparent;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .has-logo.has-title-and-tagline .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> position: fixed;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5716,6 +5716,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .admin-bar .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> height: calc(100vh - 46px);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .primary-navigation > .primary-menu-container:focus {
+ border: 2px solid #28303d;
+ }
</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"> @media only screen and (max-width: 481px) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6360,7 +6363,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin-top: 180px;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-bottom: 10px;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #28303d;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- font-size: 1rem;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ font-size: 1.125rem;
</ins><span class="cx" style="display: block; padding: 0 10px"> font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneassetscssstyleeditorcss"></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/twentytwentyone/assets/css/style-editor.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -164,7 +164,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--color-link: var(--global--color-primary);
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--color-link-hover: var(--global--color-primary-hover);
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--font-family: var(--global--font-primary);
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- --footer--font-size: var(--global--font-size-xs);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --footer--font-size: var(--global--font-size-sm);
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Block: Pull quote */
</span><span class="cx" style="display: block; padding: 0 10px"> --pullquote--font-family: var(--global--font-primary);
</span><span class="cx" style="display: block; padding: 0 10px"> --pullquote--font-size: var(--heading--font-size-h3);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -210,7 +210,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* OS dark theme preference */
</span><span class="cx" style="display: block; padding: 0 10px"> @media (prefers-color-scheme: dark) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference {
</ins><span class="cx" style="display: block; padding: 0 10px"> --global--color-background: var(--global--color-dark-gray);
</span><span class="cx" style="display: block; padding: 0 10px"> --global--color-primary: var(--global--color-light-gray);
</span><span class="cx" style="display: block; padding: 0 10px"> --global--color-secondary: var(--global--color-light-gray);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -220,7 +220,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> --button--color-background: var(--global--color-secondary);
</span><span class="cx" style="display: block; padding: 0 10px"> --button--color-background-active: var(--global--color-background);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference body {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: var(--global--color-background);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1589,7 +1589,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table thead,
</span><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table tbody {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid var(--global--color-dark-gray);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
+ border: 1px solid;
</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"> table.wp-calendar-table caption {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1596,6 +1597,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: left;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: var(--global--spacing-unit);
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
</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"> .wp-calendar-nav {
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesDaffodilsjpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/Daffodils.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/Daffodils.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/Daffodils.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/Daffodils.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/Daffodils.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesReadingjpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/Reading.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/Reading.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/Reading.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/Reading.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/Reading.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesintheboisdeboulognejpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/in-the-bois-de-boulogne.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/in-the-bois-de-boulogne.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/in-the-bois-de-boulogne.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/in-the-bois-de-boulogne.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/in-the-bois-de-boulogne.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesplayinginthesandjpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/playing-in-the-sand.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/playing-in-the-sand.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/playing-in-the-sand.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/playing-in-the-sand.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/playing-in-the-sand.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesrosestremiereshollyhocks1884jpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks-1884.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks-1884.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks-1884.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks-1884.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks-1884.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesrosestremiereshollyhocksjpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/roses-tremieres-hollyhocks.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesselfportrait1885jpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/self-portrait-1885.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/self-portrait-1885.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/self-portrait-1885.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/self-portrait-1885.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/self-portrait-1885.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesthegardenatbougival1884jpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/the-garden-at-bougival-1884.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/the-garden-at-bougival-1884.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/the-garden-at-bougival-1884.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/the-garden-at-bougival-1884.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/the-garden-at-bougival-1884.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesvillawithorangetreesnicejpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/villa-with-orange-trees-nice.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/villa-with-orange-trees-nice.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/villa-with-orange-trees-nice.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/villa-with-orange-trees-nice.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/villa-with-orange-trees-nice.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsimagesyoungwomaninmauvejpg"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/images/young-woman-in-mauve.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/src/wp-content/themes/twentytwentyone/assets/images/young-woman-in-mauve.jpg
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/src/wp-content/themes/twentytwentyone/assets/images/young-woman-in-mauve.jpg 2020-10-20 18:22:39 UTC (rev 49246)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/src/wp-content/themes/twentytwentyone/assets/images/young-woman-in-mauve.jpg 2020-10-20 18:24:33 UTC (rev 49247)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/images/young-woman-in-mauve.jpg
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsjscustomizehelpersjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js (rev 0)
+++ trunk/src/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,35 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Get luminance from a HEX color.
+ *
+ * @param {string} hex - The hex color.
+ *
+ * @return {number} - Returns the luminance, number between 0 and 255.
+ */
+function twentytwentyoneGetHexLum( hex ) { // eslint-disable-line no-unused-vars
+ var rgb = twentytwentyoneGetRgbFromHex( hex );
+ return Math.round( ( 0.2126 * rgb.r ) + ( 0.7152 * rgb.g ) + ( 0.0722 * rgb.b ) );
+}
+
+/**
+ * Get RGB from HEX.
+ *
+ * @param {string} hex - The hex color.
+ *
+ * @return {Object} - Returns an object {r, g, b}
+ */
+function twentytwentyoneGetRgbFromHex( hex ) {
+ var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i,
+ result;
+
+ // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF").
+ hex = hex.replace( shorthandRegex, function( m, r, g, b ) {
+ return r.toString() + r.toString() + g.toString() + g.toString() + b.toString() + b.toString();
+ } );
+
+ result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec( hex );
+ return result ? {
+ r: parseInt( result[1], 16 ),
+ g: parseInt( result[2], 16 ),
+ b: parseInt( result[3], 16 )
+ } : null;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsjscustomizejs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/src/wp-content/themes/twentytwentyone/assets/js/customize.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/assets/js/customize.js (rev 0)
+++ trunk/src/wp-content/themes/twentytwentyone/assets/js/customize.js 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,60 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* global twentytwentyoneGetHexLum, backgroundColorNotice */
+
+( function() {
+ // Wait until the customizer has finished loading.
+ wp.customize.bind( 'ready', function() {
+ var supportsDarkMode = ( 127 <= twentytwentyoneGetHexLum( wp.customize( 'background_color' ).get() ) && wp.customize( 'respect_user_color_preference' ).get() );
+
+ // Hide the "respect_user_color_preference" setting if the background-color is dark.
+ if ( 127 > twentytwentyoneGetHexLum( wp.customize( 'background_color' ).get() ) ) {
+ wp.customize.control( 'respect_user_color_preference' ).deactivate();
+ }
+
+ // Add notice on init if needed.
+ if ( window.matchMedia( '(prefers-color-scheme: dark)' ).matches && wp.customize( 'respect_user_color_preference' ) ) {
+ if ( supportsDarkMode ) {
+ wp.customize( 'background_color' ).notifications.add( 'backgroundColorNotice', new wp.customize.Notification( 'backgroundColorNotice', {
+ type: 'info',
+ message: backgroundColorNotice.message
+ } ) );
+ }
+
+ // Remove notice when the value changes.
+ wp.customize( 'background_color', function( setting ) {
+ setting.bind( function() {
+ setting.notifications.remove( 'backgroundColorNotice' );
+ } );
+ } );
+ }
+
+ // Handle changes to the background-color.
+ wp.customize( 'background_color', function( setting ) {
+ setting.bind( function( value ) {
+ if ( 127 > twentytwentyoneGetHexLum( value ) ) {
+ wp.customize.control( 'respect_user_color_preference' ).deactivate();
+ supportsDarkMode = false;
+ } else {
+ wp.customize.control( 'respect_user_color_preference' ).activate();
+ supportsDarkMode = wp.customize( 'respect_user_color_preference' ).get();
+ }
+ } );
+ } );
+
+ // Handle changes to the "respect_user_color_preference" setting.
+ wp.customize( 'respect_user_color_preference', function( setting ) {
+ setting.bind( function( value ) {
+ supportsDarkMode = value && 127 < twentytwentyoneGetHexLum( wp.customize( 'background_color' ).get() );
+ if ( window.matchMedia( '(prefers-color-scheme: dark)' ).matches ) {
+ if ( ! supportsDarkMode ) {
+ wp.customize( 'background_color' ).notifications.remove( 'backgroundColorNotice' );
+ } else {
+ wp.customize( 'background_color' ).notifications.add( 'backgroundColorNotice', new wp.customize.Notification( 'backgroundColorNotice', {
+ type: 'info',
+ message: backgroundColorNotice.message
+ } ) );
+ }
+ }
+ } );
+ } );
+ } );
+}() );
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/src/wp-content/themes/twentytwentyone/assets/js/customize.js
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunksrcwpcontentthemestwentytwentyoneassetsjsprimarynavigationjs"></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/twentytwentyone/assets/js/primary-navigation.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,7 +38,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param {Element} el - The element.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-function twentytwentyoneExpandSubMenu( el ) { // jshint ignore:line
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function twentytwentyoneExpandSubMenu( el ) { // eslint-disable-line no-unused-vars
</ins><span class="cx" style="display: block; padding: 0 10px"> // Close submenu that was opened from a hover action.
</span><span class="cx" style="display: block; padding: 0 10px"> // We'll return early in this case to avoid changing the aria-expanded attribute.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( el.parentNode.classList.contains( 'hover' ) ) {
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneclassesclasstwentytwentyonecustomcolorsphp"></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/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,7 +32,7 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Determine the luminance of the given color and then return #fff or #000 so that our text is always readable.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Determine the luminance of the given color and then return #fff or #000 so that the text is always readable.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,7 +43,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string (hex color)
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function custom_get_readable_color( $background_color ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return ( 127 < $this->get_relative_luminance_from_hex( $background_color ) ) ? '#000' : '#fff';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return ( 127 < self::get_relative_luminance_from_hex( $background_color ) ) ? '#000' : '#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 class="lines" style="display: block; padding: 0 10px; color: #888">@@ -115,14 +115,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> array(),
</span><span class="cx" style="display: block; padding: 0 10px"> (string) filemtime( get_theme_file_path( 'assets/css/custom-color-overrides.css' ) )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( 'd1e4dd' !== strtolower( get_theme_mod( 'background_color', 'D1E4DD' ) ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ $background_color = get_theme_mod( 'background_color', 'D1E4DD' );
+ if ( 'd1e4dd' !== strtolower( $background_color ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> wp_add_inline_style( 'twenty-twenty-one-custom-color-overrides', $this->generate_custom_color_variables( 'editor' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ $should_respect_color_scheme = get_theme_mod( 'respect_user_color_preference', true ); // @phpstan-ignore-line. Passing true instead of default value of false to get_theme_mod.
+ if ( $should_respect_color_scheme && self::get_relative_luminance_from_hex( $background_color ) > 127 ) {
+ // Add dark mode variable overrides.
+ wp_add_inline_style( 'twenty-twenty-one-custom-color-overrides', '@media (prefers-color-scheme: dark) { :root .editor-styles-wrapper { --global--color-background: var(--global--color-dark-gray); --global--color-primary: var(--global--color-light-gray); --global--color-secondary: var(--global--color-light-gray); } }' );
+ }
</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 class="cx" style="display: block; padding: 0 10px"> * Get luminance from a HEX color.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -131,12 +141,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return int Returns a number (0-255).
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- public function get_relative_luminance_from_hex( $hex ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ public static function get_relative_luminance_from_hex( $hex ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Remove the "#" symbol from the beginning of the color.
</span><span class="cx" style="display: block; padding: 0 10px"> $hex = ltrim( $hex, '#' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Make sure we have 6 digits for the below calculations.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Make sure there are 6 digits for the below calculations.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( 3 === strlen( $hex ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $hex = substr( $hex, 0, 1 ) . substr( $hex, 0, 1 ) . substr( $hex, 1, 1 ) . substr( $hex, 1, 1 ) . substr( $hex, 2, 1 ) . substr( $hex, 2, 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -164,17 +174,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function body_class( $classes ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $background_color = get_theme_mod( 'background_color', 'D1E4DD' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( 127 > $this->get_relative_luminance_from_hex( $background_color ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( 127 > self::get_relative_luminance_from_hex( $background_color ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $classes[] = 'is-background-dark';
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $classes[] = 'is-background-light';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $light_colors_default_palette = array( '#D1E4DD', '#D1DFE4', '#D1D1E4', '#E4D1D1', '#E4DAD1', '#EEEADD', '#FFFFFF' );
- if ( in_array( strtoupper( '#' . ltrim( $background_color, '#' ) ), $light_colors_default_palette, true ) ) {
- $classes[] = 'has-default-light-palette-background';
- }
-
</del><span class="cx" style="display: block; padding: 0 10px"> return $classes;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneclassesclasstwentytwentyonecustomizephp"></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/twentytwentyone/classes/class-twenty-twenty-one-customize.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -40,8 +40,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> public function register( $wp_customize ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Change site-title & description to postMessage.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
- $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; // @phpstan-ignore-line. Assume that this setting exists.
+ $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; // @phpstan-ignore-line. Assume that this setting exists.
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Add partial for blogname.
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_customize->selective_refresh->add_partial(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -126,7 +126,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Get the palette from theme-supports.
</span><span class="cx" style="display: block; padding: 0 10px"> $palette = get_theme_support( 'editor-color-palette' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Build the colors array from our theme-support.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Build the colors array from theme-support.
</ins><span class="cx" style="display: block; padding: 0 10px"> $colors = array();
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $palette[0] ) && is_array( $palette[0] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $palette[0] as $palette_color ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -146,6 +146,30 @@
</span><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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ $wp_customize->add_setting(
+ 'respect_user_color_preference',
+ array(
+ 'capability' => 'edit_theme_options',
+ 'default' => true,
+ 'sanitize_callback' => function( $value ) {
+ return (bool) $value;
+ },
+ )
+ );
+
+ $wp_customize->add_control(
+ 'respect_user_color_preference',
+ array(
+ 'type' => 'checkbox',
+ 'section' => 'colors',
+ 'label' => esc_html__( 'Respect visitor\'s device dark mode settings', 'twentytwentyone' ),
+ 'description' => __( 'Dark mode is a device setting. If a visitor to your site requests it, your site will be shown with a dark background and light text.', 'twentytwentyone' ),
+ 'active_callback' => function( $value ) {
+ return 127 < Twenty_Twenty_One_Custom_Colors::get_relative_luminance_from_hex( get_theme_mod( 'background_color', 'D1E4DD' ) );
+ },
+ )
+ );
</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>
<a id="trunksrcwpcontentthemestwentytwentyoneclassesclasstwentytwentyonesvgiconsphp"></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/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -187,6 +187,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $svg = preg_replace( '/^<svg /', $repl, trim( $arr[ $icon ] ) ); // Add extra attributes to SVG code.
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // @phpstan-ignore-next-line.
</ins><span class="cx" style="display: block; padding: 0 10px"> return $svg;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonecommentsphp"></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/twentytwentyone/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/comments.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/comments.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,7 +14,7 @@
</span><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"> * If the current post is protected by a password and
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * the visitor has not yet entered the password we will
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * the visitor has not yet entered the password,
</ins><span class="cx" style="display: block; padding: 0 10px"> * return early without loading the comments.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> if ( post_password_required() ) {
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonefunctionsphp"></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/twentytwentyone/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/functions.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/functions.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -40,9 +40,8 @@
</span><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"> * Let WordPress manage the document title.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * By adding theme support, we declare that this theme does not use a
- * hard-coded <title> tag in the document head, and expect WordPress to
- * provide it for us.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * This theme does not use a hard-coded <title> tag in the document head,
+ * WordPress will provide it for us.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add_theme_support( 'title-tag' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -126,6 +125,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Add support for editor styles.
</span><span class="cx" style="display: block; padding: 0 10px"> add_theme_support( 'editor-styles' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $background_color = get_theme_mod( 'background_color', 'D1E4DD' );
+ if ( 127 > Twenty_Twenty_One_Custom_Colors::get_relative_luminance_from_hex( $background_color ) ) {
+ add_theme_support( 'dark-editor-style' );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $editor_stylesheet_path = './assets/css/style-editor.css';
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -145,43 +148,43 @@
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => esc_html__( 'Extra small', 'twentytwentyone' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'shortName' => esc_html__( 'XS', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'shortName' => esc_html_x( 'XS', 'Font size', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'size' => 16,
</span><span class="cx" style="display: block; padding: 0 10px"> 'slug' => 'extra-small',
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => esc_html__( 'Small', 'twentytwentyone' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'shortName' => esc_html__( 'S', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'shortName' => esc_html_x( 'S', 'Font size', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'size' => 18,
</span><span class="cx" style="display: block; padding: 0 10px"> 'slug' => 'small',
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => esc_html__( 'Normal', 'twentytwentyone' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'shortName' => esc_html__( 'M', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'shortName' => esc_html_x( 'M', 'Font size', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'size' => 20,
</span><span class="cx" style="display: block; padding: 0 10px"> 'slug' => 'normal',
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => esc_html__( 'Large', 'twentytwentyone' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'shortName' => esc_html__( 'L', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'shortName' => esc_html_x( 'L', 'Font size', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'size' => 24,
</span><span class="cx" style="display: block; padding: 0 10px"> 'slug' => 'large',
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => esc_html__( 'Extra Large', 'twentytwentyone' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'shortName' => esc_html__( 'XL', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'shortName' => esc_html_x( 'XL', 'Font size', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'size' => 40,
</span><span class="cx" style="display: block; padding: 0 10px"> 'slug' => 'extra-large',
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => esc_html__( 'Huge', 'twentytwentyone' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'shortName' => esc_html__( 'XXL', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'shortName' => esc_html_x( 'XXL', 'Font size', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'size' => 96,
</span><span class="cx" style="display: block; padding: 0 10px"> 'slug' => 'huge',
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => esc_html__( 'Gigantic', 'twentytwentyone' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'shortName' => esc_html__( 'XXXL', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'shortName' => esc_html_x( 'XXXL', 'Font size', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'size' => 144,
</span><span class="cx" style="display: block; padding: 0 10px"> 'slug' => 'gigantic',
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -522,26 +525,70 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function twentytwentyone_customize_preview_init() {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_script(
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'twentytwentyone-customize-helpers',
+ get_theme_file_uri( '/assets/js/customize-helpers.js' ),
+ array(),
+ wp_get_theme()->get( 'Version' ),
+ true
+ );
+
+ wp_enqueue_script(
</ins><span class="cx" style="display: block; padding: 0 10px"> 'twentytwentyone-customize-preview',
</span><span class="cx" style="display: block; padding: 0 10px"> get_theme_file_uri( '/assets/js/customize-preview.js' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- array( 'customize-preview', 'customize-selective-refresh', 'jquery' ),
- get_theme_file_path( 'assets/js/customize-preview.js' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ array( 'customize-preview', 'customize-selective-refresh', 'jquery', 'twentytwentyone-customize-helpers' ),
+ wp_get_theme()->get( 'Version' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> true
</span><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"> add_action( 'customize_preview_init', 'twentytwentyone_customize_preview_init' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Calculate any classes we may want to add to the main <html> element.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Enqueue scripts for the customizer.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return void
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function twentytwentyone_customize_controls_enqueue_scripts() {
+
+ wp_enqueue_script(
+ 'twentytwentyone-customize-helpers',
+ get_theme_file_uri( '/assets/js/customize-helpers.js' ),
+ array(),
+ wp_get_theme()->get( 'Version' ),
+ true
+ );
+
+ wp_enqueue_script(
+ 'twentytwentyone-customize-controls',
+ get_theme_file_uri( '/assets/js/customize.js' ),
+ array( 'customize-base', 'customize-controls', 'underscore', 'jquery', 'twentytwentyone-customize-helpers' ),
+ wp_get_theme()->get( 'Version' ),
+ true
+ );
+
+ wp_localize_script(
+ 'twentytwentyone-customize-controls',
+ 'backgroundColorNotice',
+ array(
+ 'message' => esc_html__( 'You currently have dark mode enabled on your device. Changing the color picker will allow you to preview light mode.', 'twentytwentyone' ),
+ )
+ );
+}
+add_action( 'customize_controls_enqueue_scripts', 'twentytwentyone_customize_controls_enqueue_scripts' );
+
+/**
+ * Calculate classes for the main <html> element.
+ *
+ * @since 1.0.0
+ *
+ * @return void
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function twentytwentyone_the_html_classes() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $background_color = get_theme_mod( 'background_color', 'D1E4DD' );
- $light_colors_default_palette = array( '#D1E4DD', '#D1DFE4', '#D1D1E4', '#E4D1D1', '#E4DAD1', '#EEEADD', '#FFFFFF' );
- if ( in_array( strtoupper( '#' . ltrim( $background_color, '#' ) ), $light_colors_default_palette, true ) ) {
- echo 'class="has-default-light-palette-background"';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $background_color = get_theme_mod( 'background_color', 'D1E4DD' );
+ $should_respect_color_scheme = get_theme_mod( 'respect_user_color_preference', true );
+ if ( $should_respect_color_scheme && 127 <= Twenty_Twenty_One_Custom_Colors::get_relative_luminance_from_hex( $background_color ) ) {
+ echo 'class="respect-color-scheme-preference"';
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneheaderphp"></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/twentytwentyone/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/header.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/header.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * The header for our theme
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * The header.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * This is the template that displays all of the <head> section and everything up until main.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneimagephp"></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/twentytwentyone/image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/image.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/image.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,8 +42,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">',
</span><span class="cx" style="display: block; padding: 0 10px"> 'after' => '</nav>',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: There is a space after page. */
- 'pagelink' => esc_html__( 'Page ', 'twentytwentyone' ) . '%',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %: page number. */
+ 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ),
</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 class="lines" style="display: block; padding: 0 10px; color: #888">@@ -101,7 +101,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </footer><!-- .entry-footer -->
</span><span class="cx" style="display: block; padding: 0 10px"> </article><!-- #post-## -->
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If comments are open or we have at least one comment, load up the comment template.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If comments are open or there is at least one comment, load up the comment template.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( comments_open() || get_comments_number() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> comments_template();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneincbackcompatphp"></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/twentytwentyone/inc/back-compat.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/inc/back-compat.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/inc/back-compat.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,7 +39,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> echo '<div class="error"><p>';
</span><span class="cx" style="display: block; padding: 0 10px"> printf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: WordPress Version. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- esc_html__( 'This theme requires at least WordPress version 5.3. You are running version %s. Please upgrade and try again.', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ esc_html__( 'This theme requires WordPress 5.3 or newer. You are running version %s. Please upgrade.', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html( $GLOBALS['wp_version'] )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> echo '</p></div>';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -58,7 +58,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die(
</span><span class="cx" style="display: block; padding: 0 10px"> sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: WordPress Version. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- esc_html__( 'This theme requires at least WordPress version 5.3. You are running version %s. Please upgrade and try again.', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ esc_html__( 'This theme requires WordPress 5.3 or newer. You are running version %s. Please upgrade.', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html( $GLOBALS['wp_version'] )
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> '',
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -83,7 +83,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die(
</span><span class="cx" style="display: block; padding: 0 10px"> sprintf(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: WordPress Version. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- esc_html__( 'This theme requires at least WordPress version 5.3. You are running version %s. Please upgrade and try again.', 'twentytwentyone' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ esc_html__( 'This theme requires WordPress 5.3 or newer. You are running version %s. Please upgrade.', 'twentytwentyone' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html( $GLOBALS['wp_version'] )
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneinccustomcssphp"></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/twentytwentyone/inc/custom-css.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/inc/custom-css.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/inc/custom-css.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,7 +23,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function twenty_twenty_one_generate_css( $selector, $style, $value, $prefix = '', $suffix = '', $echo = true ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Bail early if we have no $selector elements or properties and $value.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Bail early if there is no $selector elements or properties and $value.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( ! $value || ! $selector ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return '';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,7 +34,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Note to reviewers: $css contains auto-generated CSS.
</span><span class="cx" style="display: block; padding: 0 10px"> * It is included inside <style> tags and can only be interpreted as CSS on the browser.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Using wp_strip_all_tags() here is sufficient escaping since we just need to avoid
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Using wp_strip_all_tags() here is sufficient escaping to avoid
</ins><span class="cx" style="display: block; padding: 0 10px"> * malicious attempts to close </style> and open a <script>.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> echo wp_strip_all_tags( $css ); // phpcs:ignore WordPress.Security.EscapeOutput
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneinctemplatefunctionsphp"></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/twentytwentyone/inc/template-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -270,8 +270,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function twenty_twenty_one_change_calendar_nav_arrows( $calendar_output ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $calendar_output = str_replace( '« ', twenty_twenty_one_get_icon_svg( 'ui', 'arrow_left' ), $calendar_output );
- $calendar_output = str_replace( ' »', twenty_twenty_one_get_icon_svg( 'ui', 'arrow_right' ), $calendar_output );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $calendar_output = str_replace( '« ', is_rtl() ? twenty_twenty_one_get_icon_svg( 'ui', 'arrow_right' ) : twenty_twenty_one_get_icon_svg( 'ui', 'arrow_left' ), $calendar_output );
+ $calendar_output = str_replace( ' »', is_rtl() ? twenty_twenty_one_get_icon_svg( 'ui', 'arrow_left' ) : twenty_twenty_one_get_icon_svg( 'ui', 'arrow_right' ), $calendar_output );
</ins><span class="cx" style="display: block; padding: 0 10px"> return $calendar_output;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'get_calendar', 'twenty_twenty_one_change_calendar_nav_arrows' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -381,7 +381,7 @@
</span><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"> // Return the specified styles.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return twenty_twenty_one_generate_css(
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return twenty_twenty_one_generate_css( // @phpstan-ignore-line.
</ins><span class="cx" style="display: block; padding: 0 10px"> implode( ',', $elements[ $type ] ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'font-family',
</span><span class="cx" style="display: block; padding: 0 10px"> implode( ',', $font_family[ $locale ] ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -398,8 +398,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $block_name The full block type name, or a partial match.
</span><span class="cx" style="display: block; padding: 0 10px"> * Example: `core/image`, `core-embed/*`.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string|null $content The content we need to search in. Use null for get_the_content().
- * @param int $instances How many instances of the block we want to print. Defaults to 1.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param string|null $content The content to search in. Use null for get_the_content().
+ * @param int $instances How many instances of the block will be printed (max). Defaults to 1.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool Returns true if a block was located & printed, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -422,10 +422,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Check if this the block we're looking for.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Check if this the block matches the $block_name.
</ins><span class="cx" style="display: block; padding: 0 10px"> $is_matching_block = false;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If the block ends with *, we should just try to match the first portion.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If the block ends with *, try to match the first portion.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( '*' === $block_name[-1] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $is_matching_block = 0 === strpos( $block['blockName'], rtrim( $block_name, '*' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -439,7 +439,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Add the block HTML.
</span><span class="cx" style="display: block; padding: 0 10px"> $blocks_content .= render_block( $block );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Break the loop if we've reached the $instances count.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Break the loop if the $instances count was reached.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( $instances_count >= $instances ) {
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneinctemplatetagsphp"></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/twentytwentyone/inc/template-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/inc/template-tags.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/inc/template-tags.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -73,6 +73,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Hide meta information on pages.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_single() ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( is_sticky() ) {
+ echo '<p>' . esc_html__( 'Featured post', 'twentytwentyone' ) . '</p>';
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> $post_format = get_post_format();
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'aside' === $post_format || 'status' === $post_format ) {
</span><span class="cx" style="display: block; padding: 0 10px"> echo '<p><a href="' . esc_url( get_permalink() ) . '">' . twenty_twenty_one_continue_reading_text() . '</a></p>'; // phpcs:ignore WordPress.Security.EscapeOutput
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonepagephp"></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/twentytwentyone/page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/page.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/page.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,7 +16,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> the_post();
</span><span class="cx" style="display: block; padding: 0 10px"> get_template_part( 'template-parts/content/content-page' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If comments are open or we have at least one comment, load up the comment template.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If comments are open or there is at least one comment, load up the comment template.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( comments_open() || get_comments_number() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> comments_template();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonesinglephp"></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/twentytwentyone/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/single.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/single.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,7 +27,7 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If comments are open or we have at least one comment, load up the comment template.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If comments are open or there is at least one comment, load up the comment template.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( comments_open() || get_comments_number() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> comments_template();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonestylertlcss"></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/twentytwentyone/style-rtl.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/style-rtl.css 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/style-rtl.css 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -256,7 +256,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--color-link: var(--global--color-primary);
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--color-link-hover: var(--global--color-primary-hover);
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--font-family: var(--global--font-primary);
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- --footer--font-size: var(--global--font-size-xs);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --footer--font-size: var(--global--font-size-sm);
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Block: Pull quote */
</span><span class="cx" style="display: block; padding: 0 10px"> --pullquote--font-family: var(--global--font-primary);
</span><span class="cx" style="display: block; padding: 0 10px"> --pullquote--font-size: var(--heading--font-size-h3);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -302,7 +302,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* OS dark theme preference */
</span><span class="cx" style="display: block; padding: 0 10px"> @media (prefers-color-scheme: dark) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference {
</ins><span class="cx" style="display: block; padding: 0 10px"> --global--color-background: var(--global--color-dark-gray);
</span><span class="cx" style="display: block; padding: 0 10px"> --global--color-primary: var(--global--color-light-gray);
</span><span class="cx" style="display: block; padding: 0 10px"> --global--color-secondary: var(--global--color-light-gray);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -312,7 +312,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> --button--color-background: var(--global--color-secondary);
</span><span class="cx" style="display: block; padding: 0 10px"> --button--color-background-active: var(--global--color-background);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference body {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: var(--global--color-background);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1004,11 +1004,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-content > *.alignleft, .entry-content > *.alignright,
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-content > *.alignleft:first-child + *,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.entry-content > *.alignright:first-child + *, .entry-content > *.alignfull {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.entry-content > *.alignright:first-child + *, .entry-content > *.alignfull.has-background {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-top: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.entry-content > *:last-child, .entry-content > *.alignfull {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.entry-content > *:last-child, .entry-content > *.alignfull.has-background {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2973,7 +2973,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table thead,
</span><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table tbody {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid var(--global--color-dark-gray);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
+ border: 1px solid;
</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"> table.wp-calendar-table caption {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2980,6 +2981,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: right;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: var(--global--spacing-unit);
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
</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"> .wp-calendar-nav {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4066,6 +4068,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> height: 100vh;
</span><span class="cx" style="display: block; padding: 0 10px"> z-index: 499;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border: 2px solid transparent;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .has-logo.has-title-and-tagline .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> position: fixed;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4077,6 +4080,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .admin-bar .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> height: calc(100vh - 46px);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .primary-navigation > .primary-menu-container:focus {
+ border: 2px solid var(--global--color-primary);
+ }
</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"> @media only screen and (max-width: 481px) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4966,4 +4972,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> section,
</span><span class="cx" style="display: block; padding: 0 10px"> footer {
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: none;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonestylecss"></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/twentytwentyone/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/style.css 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/style.css 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -256,7 +256,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--color-link: var(--global--color-primary);
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--color-link-hover: var(--global--color-primary-hover);
</span><span class="cx" style="display: block; padding: 0 10px"> --footer--font-family: var(--global--font-primary);
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- --footer--font-size: var(--global--font-size-xs);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --footer--font-size: var(--global--font-size-sm);
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Block: Pull quote */
</span><span class="cx" style="display: block; padding: 0 10px"> --pullquote--font-family: var(--global--font-primary);
</span><span class="cx" style="display: block; padding: 0 10px"> --pullquote--font-size: var(--heading--font-size-h3);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -302,7 +302,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* OS dark theme preference */
</span><span class="cx" style="display: block; padding: 0 10px"> @media (prefers-color-scheme: dark) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference {
</ins><span class="cx" style="display: block; padding: 0 10px"> --global--color-background: var(--global--color-dark-gray);
</span><span class="cx" style="display: block; padding: 0 10px"> --global--color-primary: var(--global--color-light-gray);
</span><span class="cx" style="display: block; padding: 0 10px"> --global--color-secondary: var(--global--color-light-gray);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -312,7 +312,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> --button--color-background: var(--global--color-secondary);
</span><span class="cx" style="display: block; padding: 0 10px"> --button--color-background-active: var(--global--color-background);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- html.has-default-light-palette-background body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ html.respect-color-scheme-preference body {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: var(--global--color-background);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1008,11 +1008,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-content > *.alignleft, .entry-content > *.alignright,
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-content > *.alignleft:first-child + *,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.entry-content > *.alignright:first-child + *, .entry-content > *.alignfull {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.entry-content > *.alignright:first-child + *, .entry-content > *.alignfull.has-background {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-top: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.entry-content > *:last-child, .entry-content > *.alignfull {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.entry-content > *:last-child, .entry-content > *.alignfull.has-background {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2977,7 +2977,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table thead,
</span><span class="cx" style="display: block; padding: 0 10px"> table.wp-calendar-table tbody {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid var(--global--color-dark-gray);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
+ border: 1px solid;
</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"> table.wp-calendar-table caption {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2984,6 +2985,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: left;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: var(--global--spacing-unit);
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: currentColor;
</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"> .wp-calendar-nav {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4075,6 +4077,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> height: 100vh;
</span><span class="cx" style="display: block; padding: 0 10px"> z-index: 499;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border: 2px solid transparent;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .has-logo.has-title-and-tagline .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> position: fixed;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4086,6 +4089,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .admin-bar .primary-navigation > .primary-menu-container {
</span><span class="cx" style="display: block; padding: 0 10px"> height: calc(100vh - 46px);
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .primary-navigation > .primary-menu-container:focus {
+ border: 2px solid var(--global--color-primary);
+ }
</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"> @media only screen and (max-width: 481px) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4977,4 +4983,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*# sourceMappingURL=style.css.map */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*# sourceMappingURL=style.css.map */
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonetemplatepartscontentcontentpagephp"></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/twentytwentyone/template-parts/content/content-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-page.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-page.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,8 +32,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">',
</span><span class="cx" style="display: block; padding: 0 10px"> 'after' => '</nav>',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: There is a space after page. */
- 'pagelink' => esc_html__( 'Page ', 'twentytwentyone' ) . '%',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %: page number. */
+ 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ),
</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>
<a id="trunksrcwpcontentthemestwentytwentyonetemplatepartscontentcontentsinglephp"></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/twentytwentyone/template-parts/content/content-single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,8 +26,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">',
</span><span class="cx" style="display: block; padding: 0 10px"> 'after' => '</nav>',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: There is a space after page. */
- 'pagelink' => esc_html__( 'Page ', 'twentytwentyone' ) . '%',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %: page number. */
+ 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ),
</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>
<a id="trunksrcwpcontentthemestwentytwentyonetemplatepartscontentcontentphp"></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/twentytwentyone/template-parts/content/content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/template-parts/content/content.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,10 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="entry-content">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> the_content(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- sprintf(
- twenty_twenty_one_continue_reading_text(),
- get_the_title()
- )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ twenty_twenty_one_continue_reading_text()
</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"> wp_link_pages(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,8 +32,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">',
</span><span class="cx" style="display: block; padding: 0 10px"> 'after' => '</nav>',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: There is a space after page. */
- 'pagelink' => esc_html__( 'Page ', 'twentytwentyone' ) . '%',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %: page number. */
+ 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ),
</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>
<a id="trunksrcwpcontentthemestwentytwentyonetemplatepartsexcerptexcerptchatphp"></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/twentytwentyone/template-parts/excerpt/excerpt-chat.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-chat.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-chat.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,7 +10,7 @@
</span><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"> // If there are paragraph blocks, print up to two.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Otherwise this is legacy content, and we can post the excerpt.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Otherwise this is legacy content, so print the excerpt.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( has_block( 'core/paragraph', get_the_content() ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> twenty_twenty_one_print_first_instance_of_block( 'core/paragraph', get_the_content(), 2 );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonetemplatepartsexcerptexcerptgalleryphp"></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/twentytwentyone/template-parts/excerpt/excerpt-gallery.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-gallery.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-gallery.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,7 +9,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Print the 1st gallery we can find.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Print the 1st gallery found.
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( has_block( 'core/gallery', get_the_content() ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> twenty_twenty_one_print_first_instance_of_block( 'core/gallery', get_the_content() );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyonetemplatepartsexcerptexcerptimagephp"></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/twentytwentyone/template-parts/excerpt/excerpt-image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-image.php 2020-10-20 18:22:39 UTC (rev 49246)
+++ trunk/src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-image.php 2020-10-20 18:24:33 UTC (rev 49247)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,7 +9,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// If there is no featured-image, print the first image block we can find.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// If there is no featured-image, print the first image block found.
</ins><span class="cx" style="display: block; padding: 0 10px"> if (
</span><span class="cx" style="display: block; padding: 0 10px"> ! twenty_twenty_one_can_show_post_thumbnail() &&
</span><span class="cx" style="display: block; padding: 0 10px"> has_block( 'core/image', get_the_content() )
</span></span></pre>
</div>
</div>
</body>
</html>