diff --git a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css index 47a71a23c9..95b274bbf7 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css @@ -351,11 +351,13 @@ a:hover { } .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { - color: #d1e4dd; + background: #000; + color: #fff; + text-decoration: none; } .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - color: #d1e4dd; + color: #fff; } .has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { @@ -379,7 +381,7 @@ a:hover { background-color: #f1f1f1; } -.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link:focus { +.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link { background: none; } diff --git a/wp-content/themes/twentytwentyone/assets/css/ie.css b/wp-content/themes/twentytwentyone/assets/css/ie.css index 32571c6d5c..c44222f5f8 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie.css @@ -2192,11 +2192,13 @@ a:hover { } .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { - color: #d1e4dd; + background: #000; + color: #fff; + text-decoration: none; } .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - color: #d1e4dd; + color: #fff; } .has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { @@ -2220,7 +2222,7 @@ a:hover { background-color: #f1f1f1; } -.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link:focus { +.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link { background: none; } diff --git a/wp-content/themes/twentytwentyone/assets/css/style-dark-mode-rtl.css b/wp-content/themes/twentytwentyone/assets/css/style-dark-mode-rtl.css index 5d90ba1803..8d3b486e0e 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-dark-mode-rtl.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-dark-mode-rtl.css @@ -17,18 +17,6 @@ --table--stripes-background-color: rgba(240, 240, 240, 0.15); } - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - background: #000; - color: #fff; - text-decoration: none; - } - - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link:focus, - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav.custom-logo-link:focus { - background: none; - } - .is-dark-theme.is-dark-theme img { filter: brightness(0.85) contrast(1.1); } diff --git a/wp-content/themes/twentytwentyone/assets/css/style-dark-mode.css b/wp-content/themes/twentytwentyone/assets/css/style-dark-mode.css index 25464a0ee8..149780e47e 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-dark-mode.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-dark-mode.css @@ -17,18 +17,6 @@ --table--stripes-background-color: rgba(240, 240, 240, 0.15); } - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - background: #000; - color: #fff; - text-decoration: none; - } - - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link:focus, - .is-dark-theme.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav.custom-logo-link:focus { - background: none; - } - .is-dark-theme.is-dark-theme img { filter: brightness(0.85) contrast(1.1); } diff --git a/wp-content/themes/twentytwentyone/assets/css/style-editor.css b/wp-content/themes/twentytwentyone/assets/css/style-editor.css index 67791c1eb0..a281aa9f93 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-editor.css @@ -488,9 +488,14 @@ a:hover { background: rgba(255, 255, 255, 0.9); } -.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), +.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { + background: var(--global--color-black); + color: var(--global--color-white); + text-decoration: none; +} + .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - color: var(--wp--style--color--link, var(--global--color-background)); + color: var(--wp--style--color--link, var(--global--color-white)); } .has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { @@ -514,7 +519,7 @@ a:hover { background-color: #f1f1f1; } -.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link:focus { +.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link { background: none; } diff --git a/wp-content/themes/twentytwentyone/assets/sass/04-elements/links.scss b/wp-content/themes/twentytwentyone/assets/sass/04-elements/links.scss index 4113e208fc..6c121e04ae 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/04-elements/links.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/04-elements/links.scss @@ -25,9 +25,14 @@ a:hover { background: rgba(255, 255, 255, .9); // Change text color when the body background is dark. - .is-dark-theme &, - .is-dark-theme & .meta-nav { - color: var(--wp--style--color--link, var(--global--color-background)); + .is-dark-theme & { + background: var(--global--color-black); + color: var(--global--color-white); + text-decoration: none; + + .meta-nav { + color: var(--wp--style--color--link, var(--global--color-white)); + } } // Change colors when the body background is white. @@ -53,10 +58,7 @@ a:hover { } &.custom-logo-link { - - &:focus { - background: none; - } + background: none; } img { diff --git a/wp-content/themes/twentytwentyone/assets/sass/style-dark-mode.scss b/wp-content/themes/twentytwentyone/assets/sass/style-dark-mode.scss index ea93e3efbd..f00df45ca7 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/style-dark-mode.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/style-dark-mode.scss @@ -16,20 +16,6 @@ --table--stripes-border-color: rgba(240, 240, 240, 0.15); --table--stripes-background-color: rgba(240, 240, 240, 0.15); - .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), - .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - background: #000; - color: #fff; - text-decoration: none; - - &.custom-logo-link { - - &:focus { - background: none; - } - } - } - img { filter: brightness(.85) contrast(1.1); } diff --git a/wp-content/themes/twentytwentyone/style-rtl.css b/wp-content/themes/twentytwentyone/style-rtl.css index 0ccb8eee57..172d5b9742 100644 --- a/wp-content/themes/twentytwentyone/style-rtl.css +++ b/wp-content/themes/twentytwentyone/style-rtl.css @@ -1660,9 +1660,14 @@ a:hover { background: rgba(255, 255, 255, 0.9); } -.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), +.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { + background: var(--global--color-black); + color: var(--global--color-white); + text-decoration: none; +} + .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - color: var(--wp--style--color--link, var(--global--color-background)); + color: var(--wp--style--color--link, var(--global--color-white)); } .has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { @@ -1686,7 +1691,7 @@ a:hover { background-color: #f1f1f1; } -.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link:focus { +.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link { background: none; } diff --git a/wp-content/themes/twentytwentyone/style.css b/wp-content/themes/twentytwentyone/style.css index 4511b4461e..f9e37c165d 100644 --- a/wp-content/themes/twentytwentyone/style.css +++ b/wp-content/themes/twentytwentyone/style.css @@ -1670,9 +1670,14 @@ a:hover { background: rgba(255, 255, 255, 0.9); } -.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button), +.is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { + background: var(--global--color-black); + color: var(--global--color-white); + text-decoration: none; +} + .is-dark-theme .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav { - color: var(--wp--style--color--link, var(--global--color-background)); + color: var(--wp--style--color--link, var(--global--color-white)); } .has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) { @@ -1696,7 +1701,7 @@ a:hover { background-color: #f1f1f1; } -.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link:focus { +.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link { background: none; } diff --git a/wp-includes/version.php b/wp-includes/version.php index b22e1f7670..0093541d41 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta3-50422'; +$wp_version = '5.7-beta3-50423'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.