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: |
|
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)
Change History (18)
#2
@
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
@
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
}
#4
@
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:
@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
@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
screenshot 1 with focus link