Login: Update logo and switch to modern admin color scheme#737
Closed
obenland wants to merge 2 commits into
Closed
Login: Update logo and switch to modern admin color scheme#737obenland wants to merge 2 commits into
obenland wants to merge 2 commits into
Conversation
Uses the standard gray logo color (#32373C) instead of the legacy WordPress blue, per the recommendation in the ticket. Drops the PNG fallback for the background image, SVG backgrounds have been supported by all browsers since 2011. Fixes #8177. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The block library styles set --wp-admin-theme-color to a legacy blue on :root, which the login button picks up on the theme-rendered routes. wp-login.php gets the admin-color-modern body class from core and renders in blueberry. Adding the same class to the theme's body classes makes both screens use the newer wp-admin coloring; the admin-schemes stylesheet that defines it is already enqueued. See #8177. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8177
Changes the login logo from the legacy WordPress blue to the standard gray, and brings the theme-rendered login screens in line with the newer wp-admin coloring that
wp-login.phpalready uses, as suggested by @dd32 in the ticket.Logo
wporg-logo.svgto#32373C— the logotype text paths were already that color.login.css. Thebackground-image: none, url(...svg)double declaration was a fallback for IE8/Android 2.x; SVG backgrounds have been supported by all browsers since 2011.?2cache buster to the SVG URL so cached copies of the blue logo get invalidated. The stylesheet itself is versioned viafilemtime()and busts automatically.wporg-logo.png.Coloring
admin-color-modernbody class on the theme-rendered routes. The block library inline styles set--wp-admin-theme-color: #007cbaon:root, which the login button (var(--wp-admin-theme-color, #3858e9)) picked up — so https://login.wordpress.org/ rendered with the legacy blue whilewp-login.php(which gets the class from core) rendered blueberry. Theadmin-schemesstylesheet defining the class is already enqueued, and the body-level variables override the:rootones, so buttons and input focus rings now match wp-admin on both screens.🤖 Generated with Claude Code