Make WordPress Core

Opened 7 weeks ago

Last modified 6 weeks ago

#64953 new defect (bug)

The login page still shows the old color for the “← Go to [Website Name]” link.

Reported by: sumitsingh's profile sumitsingh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Login and Registration Keywords: has-screenshots has-patch
Focuses: ui, css, administration Cc:

Description

Issue: The “← Go to [site name]” link on the login page is still using the old color and does not match the updated styling.

Attachments (7)

f736c2a1-212f-4e24-ac85-152975bae7b6.png (29.4 KB) - added by sumitsingh 7 weeks ago.
screenshot 1 with focus link
4698007a-fdb1-443e-b50c-76150d956364.png (29.3 KB) - added by sumitsingh 7 weeks ago.
screenshot 1 with old color link
image-03-26-2026_11_18_AM.png (59.5 KB) - added by sumitsingh 7 weeks ago.
Here also old color for "Get support for resetting your password." link on focus
image-03-26-2026_11_37_AM.png (71.1 KB) - added by sumitsingh 7 weeks ago.
Hover on still old color for Upload files and Media Library tabs
image-03-26-2026_11_38_AM.png (63.1 KB) - added by sumitsingh 7 weeks ago.
Drop to upload file overlay color aslo old one
image-03-26-2026_12_02_PM.png (258.6 KB) - added by sumitsingh 7 weeks ago.
hover in old color on login and registration
Screenshot from 2026-03-26 13-43-29.png (306.6 KB) - added by nimeshatxecurify 7 weeks ago.
WordPress Playground test with trunk

Download all attachments as: .zip

Change History (18)

@sumitsingh
7 weeks ago

screenshot 1 with focus link

@sumitsingh
7 weeks ago

screenshot 1 with old color link

@sumitsingh
7 weeks ago

Here also old color for "Get support for resetting your password." link on focus

#1 @gautammkgarg
7 weeks ago

Facing same issue

PHP: 8.5
WordPress Version: 7.0-RC1

@sumitsingh
7 weeks ago

Hover on still old color for Upload files and Media Library tabs

@sumitsingh
7 weeks ago

Drop to upload file overlay color aslo old one

#2 @huzaifaalmesbah
7 weeks ago

Have you tested login page hover issue on RC1 or trunk?

This issue was fixed after RC1: changeset:62113 could you check on trunk and confirm if it still occurs?

#3 @sumitsingh
7 weeks ago

Hey @huzaifaalmesbah, I have checked before this ticket but still I can see with the latest "Currently your site is set to update to version 7.0-RC1-62113. " and it seems it still has the old color in some class. For more information you can see the last screenhsot

It's an issue still in focus mode.

.login #backtoblog a:focus, .login #nav a:focus, .login h1 a:focus {
    color: #043959; // old color code on focus
}
Last edited 7 weeks ago by sumitsingh (previous) (diff)

@sumitsingh
7 weeks ago

hover in old color on login and registration

@nimeshatxecurify
7 weeks ago

WordPress Playground test with trunk

#4 @wildworks
7 weeks ago

We have only updated the hover state color. I believe the focus color also needs to be addressed in this ticket.

This ticket was mentioned in Slack in #core by sumitsingh. View the logs.


7 weeks ago

This ticket was mentioned in PR #11375 on WordPress/wordpress-develop by @opurockey.


7 weeks ago
#6

  • Keywords has-patch added

Ticket: https://core.trac.wordpress.org/ticket/64953

## Description:

This PR updates the color usage in media-view.css to align with the modern WordPress admin color system by replacing hardcoded/legacy color values with standardized admin color variables.

As part of ongoing efforts in WordPress core to reduce color inconsistencies and adopt a unified color palette using CSS custom properties, admin styles are being refactored to use semantic color tokens instead of fixed values.

## Changes Made:

  • Replaced legacy color values used in: :hover :focus
  • interactive states and UI elements
  • Updated styles to use: WP admin color variables (e.g. --wp-admin-theme-color, --wp-admin-theme-color-darker-*, etc.)
  • Removed outdated or hardcoded hex values to ensure consistency with the admin color system

## Why This Change:

  • Ensures visual consistency across WordPress admin UI
  • Improves maintainability by centralizing color definitions
  • Aligns with WordPress core direction of using CSS custom properties for theming and extensibility
  • Improves compatibility with different admin color schemes and future design updates

## Impact:

  • No functional changes
  • Purely visual/style refactor
  • Affects only media-view components in admin
  • Better integration with admin color schemes-

## Testing Instructions:

  • Open Media Library (Grid and List view)
  • Hover and focus on: Media items Buttons and controls
  • Verify: Colors match WP admin theme, No regressions in hover/focus states
  • Test across different admin color schemes

## Screenshot:

https://github.com/user-attachments/assets/1dc6b763-2b83-4e38-bfd2-4f1f32d951e3

@wildworks commented on PR #11375:


7 weeks ago
#7

@OpuRockey Thanks for the PR! However, This PR appears to modify components that are completely unrelated to ticket 64953. Could you clarify which ticket this PR is intended to resolve?

@opurockey commented on PR #11375:


7 weeks ago
#8

@t-hamano , This PR is actually related to comments mentioned is this ticket.

https://github.com/user-attachments/assets/53192b20-77ef-4155-a14b-dfc2ae47799e
https://github.com/user-attachments/assets/dfcf7ce1-77eb-40ed-b779-03ba8d0ac182

Would you like me to create seperate ticket or this?

@wildworks commented on PR #11375:


7 weeks ago
#9

Would you like me to create seperate ticket or this?

I think so. I don't think unrelated components should be handled in a single ticket.

@opurockey commented on PR #11375:


7 weeks ago
#10

@t-hamano , Created a seperate ticket for this.

@wildworks commented on PR #11375:


6 weeks ago
#11

Closing this PR in favor of #11409

Note: See TracTickets for help on using tickets.