Skip to content

Commit 3a9e901

Browse files
committed
Login and Registration: Correct focus color for links.
The hover color for links on the login screen was updated to use the admin color scheme CSS variables, but the focus color was left hardcoded. Update the focus color to use the same variable, so it matches hover and follows the selected admin color scheme. Follow-up to [61681], [62113]. Props dhruvang21, hasnainashfaq, nimeshatxecurify, shailu25, softglaze, sumitsingh, vedantere, wildworks. Fixes #64953. git-svn-id: https://develop.svn.wordpress.org/trunk@62865 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0ccf72e commit 3a9e901

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-admin/css/login.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ a:active {
3232
}
3333

3434
a:focus {
35-
color: #043959;
35+
color: var(--wp-admin-theme-color-darker-20);
3636
box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
3737
/* Only visible in Windows High Contrast mode */
3838
outline: 2px solid transparent;
@@ -339,7 +339,7 @@ p {
339339
.login #nav a:focus,
340340
.login #backtoblog a:focus,
341341
.login h1 a:focus {
342-
color: #043959;
342+
color: var(--wp-admin-theme-color-darker-20);
343343
}
344344

345345
.login .privacy-policy-page-link {

0 commit comments

Comments
 (0)