From 85edd2044d6b39e9a4d26f8399bad4d6e279c529 Mon Sep 17 00:00:00 2001 From: hbhalodia Date: Fri, 27 Mar 2026 12:19:55 +0530 Subject: [PATCH 1/3] Fix link color to use new admin color on install and setup pages --- src/wp-admin/css/install.css | 4 ++-- src/wp-includes/functions.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index 4173e9a228fda..65be8ef9c0910 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -16,12 +16,12 @@ body { } a { - color: #2271b1; + color: var(--wp-admin-theme-color-darker-10); } a:hover, a:active { - color: #135e96; + color: var(--wp-admin-theme-color-darker-20); } a:focus { diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 262b069e6da22..99d7e7f282fd9 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -3974,11 +3974,11 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { font-size: 14px ; } a { - color: #2271b1; + color: #2145e6; } a:hover, a:active { - color: #135e96; + color: #183ad6; } a:focus { color: #043959; From b5041606b6cd9b937fdb20242b9e429e7fb84ccb Mon Sep 17 00:00:00 2001 From: hbhalodia Date: Sat, 28 Mar 2026 12:40:47 +0530 Subject: [PATCH 2/3] Update the focus color to use same as active and hover --- src/wp-admin/css/install.css | 2 +- src/wp-includes/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index 65be8ef9c0910..39094c5e367b6 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -25,7 +25,7 @@ a:active { } a:focus { - color: #043959; + color: var(--wp-admin-theme-color-darker-20); border-radius: 2px; box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); /* Only visible in Windows High Contrast mode */ diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 99d7e7f282fd9..0a962c0e37931 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -3981,7 +3981,7 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { color: #183ad6; } a:focus { - color: #043959; + color: #183ad6; box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9); outline: 2px solid transparent; } From f4a2392183f66d774f4839d7343f1371d5e52b3b Mon Sep 17 00:00:00 2001 From: hbhalodia Date: Sat, 28 Mar 2026 12:44:09 +0530 Subject: [PATCH 3/3] Update variable to use the name --- src/wp-admin/css/install.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index 39094c5e367b6..5d2d534e51603 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -16,7 +16,7 @@ body { } a { - color: var(--wp-admin-theme-color-darker-10); + color: var(--wp-admin-theme-color); } a:hover,