diff --git a/wp-content/themes/twentytwenty/assets/js/color-calculations.js b/wp-content/themes/twentytwenty/assets/js/color-calculations.js index 64808fefa6..9780797433 100644 --- a/wp-content/themes/twentytwenty/assets/js/color-calculations.js +++ b/wp-content/themes/twentytwenty/assets/js/color-calculations.js @@ -45,14 +45,14 @@ _twentyTwentyColor.prototype.setAccentColorsArray = function() { var colorObj = new Color( { h: self.accentHue, s: s, - l: l, + l: l } ), item; item = { color: colorObj, contrastBackground: colorObj.getDistanceLuminosityFrom( self.bgColorObj ), - contrastText: colorObj.getDistanceLuminosityFrom( self.textColorObj ), + contrastText: colorObj.getDistanceLuminosityFrom( self.textColorObj ) }; // Check a minimum of 4.5:1 contrast with the background and 3:1 with surrounding text. @@ -133,7 +133,7 @@ _twentyTwentyColor.prototype.getAccentColor = function() { * @param {number} accentHue - The hue for our accent color. * @return {Object} - this */ -function twentyTwentyColor( backgroundColor, accentHue ) { +function twentyTwentyColor( backgroundColor, accentHue ) { // jshint ignore:line var color = new _twentyTwentyColor( backgroundColor, accentHue ); color.setAccentColorsArray(); return color; diff --git a/wp-content/themes/twentytwenty/assets/js/customize-controls.js b/wp-content/themes/twentytwenty/assets/js/customize-controls.js index 4b90108c4a..2cc5c25562 100644 --- a/wp-content/themes/twentytwenty/assets/js/customize-controls.js +++ b/wp-content/themes/twentytwenty/assets/js/customize-controls.js @@ -64,21 +64,21 @@ value[ context ] = { text: colors.getTextColor(), accent: colors.getAccentColor().toCSS(), - background: backgroundColor, + background: backgroundColor }; // Get borders color. value[ context ].borders = Color( { h: colors.bgColorObj.h(), s: colors.bgColorObj.s() * 0.3922, - l: colors.isDark ? colors.bgColorObj.l() + 9 : colors.bgColorObj.l() - 9, + l: colors.isDark ? colors.bgColorObj.l() + 9 : colors.bgColorObj.l() - 9 } ).toCSS(); // Get secondary color. value[ context ].secondary = Color( { h: colors.bgColorObj.h(), s: colors.bgColorObj.s() / 2, - l: ( colors.textColorObj.l() * 0.57 ) + ( colors.bgColorObj.l() * 0.43 ), + l: ( colors.textColorObj.l() * 0.57 ) + ( colors.bgColorObj.l() * 0.43 ) } ).toCSS(); } diff --git a/wp-content/themes/twentytwenty/assets/js/index.js b/wp-content/themes/twentytwenty/assets/js/index.js index e422972c09..76577c6823 100644 --- a/wp-content/themes/twentytwenty/assets/js/index.js +++ b/wp-content/themes/twentytwenty/assets/js/index.js @@ -142,7 +142,7 @@ twentytwenty.coverModals = { position: 'fixed', width: '100%', top: getAdminBarHeight( true ), - left: 0, + left: 0 }; } @@ -205,7 +205,7 @@ twentytwenty.coverModals = { } else { modal.classList.remove( 'active' ); } - }, + } }; // twentytwenty.coverModals @@ -237,7 +237,7 @@ twentytwenty.focusManagement = { } } } ); - }, + } }; // twentytwenty.focusManagement @@ -285,7 +285,7 @@ twentytwenty.intrinsicRatioVideos = { video.style.width = iTargetWidth + 'px'; video.style.height = ( video.dataset.origheight * ratio ) + 'px'; } ); - }, + } }; // twentytwenty.instrinsicRatioVideos @@ -378,7 +378,7 @@ twentytwenty.smoothScroll = { } } ); } - }, + } }; // twentytwenty.smoothScroll @@ -404,7 +404,7 @@ twentytwenty.modalMenu = { } } ); } - }, + } }; // twentytwenty.modalMenu /* ----------------------------------------------------------------------------------------------- @@ -565,7 +565,7 @@ twentytwenty.toggles = { } ); } } ); - }, + } }; // twentytwenty.toggles diff --git a/wp-includes/version.php b/wp-includes/version.php index bcd820cfb2..267083dfeb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46276'; +$wp_version = '5.3-alpha-46277'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.