Make WordPress Core

Changeset 62865


Ignore:
Timestamp:
07/28/2026 09:59:14 AM (13 days ago)
Author:
wildworks
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/login.css

    r62735 r62865  
    3333
    3434a: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 */
     
    340340.login #backtoblog a:focus,
    341341.login h1 a:focus {
    342         color: #043959;
     342        color: var(--wp-admin-theme-color-darker-20);
    343343}
    344344
Note: See TracChangeset for help on using the changeset viewer.