From df18aa74a0607ce9f4411a64e69904eee2afa84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Ka=CC=88gy?= Date: Sun, 15 Feb 2026 09:57:37 +0100 Subject: [PATCH] Admin: Update generic focus styles to use CSS variables. Replace hardcoded color values in the common link focus styles with CSS custom properties to match the pattern used in buttons and form elements. --- src/wp-admin/css/common.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 203e6d0e5cf0f..367be749962fb 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -279,8 +279,8 @@ a:focus, a:focus .media-icon img, a:focus .plugin-icon, .wp-person a:focus .gravatar { - color: #043959; - box-shadow: 0 0 0 2px #2271b1; + color: var(--wp-admin-theme-color-darker-20, #183ad6); + 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 */ outline: 2px solid transparent; }