From ff2549c25471449a8f998d7c32d66999cf4b3510 Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Thu, 29 Oct 2026 14:34:26 +0700 Subject: [PATCH 1/3] Administration: Brighten the icon color of the Fresh admin color scheme. The admin menu and toolbar icons are now mostly outline SVG icons with a thin stroke, which look washed out at the Fresh scheme's `0.6` opacity, and unbalanced next to the opaque menu and toolbar text. Raise the opacity to `0.85` for both Dashicons and SVG icons, so they keep the same color. Also update the base icon color of the scheme to match, which is used to paint menu icons given as base64-encoded SVG. --- src/wp-admin/css/admin-menu.css | 4 ++-- src/wp-admin/includes/misc.php | 2 +- src/wp-includes/css/admin-bar.css | 4 ++-- src/wp-includes/general-template.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css index db332e8d9a5c2..d16b61e1d3e4e 100644 --- a/src/wp-admin/css/admin-menu.css +++ b/src/wp-admin/css/admin-menu.css @@ -303,8 +303,8 @@ div.wp-menu-image::before { } #adminmenu div.wp-menu-image { - color: #a7aaad; - color: rgba(240, 246, 252, 0.6); + color: #dcdcde; + color: rgba(240, 246, 252, 0.85); transition: color 0.1s ease-in-out; } diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index d71ea1a8e607d..f3ed2ddb98aaf 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -1080,7 +1080,7 @@ function wp_color_scheme_settings() { } else { // Fall back to the default set of icon colors if the default scheme is missing. $icon_colors = array( - 'base' => '#a7aaad', + 'base' => '#d0d6dc', 'focus' => '#72aee6', 'current' => '#fff', ); diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 7a2d686786b78..14c4da3b01e5a 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -296,8 +296,8 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar .ab-icon, #wpadminbar .ab-item::before { position: relative; - color: #a7aaad; - color: rgba(240, 246, 252, 0.6); + color: #dcdcde; + color: rgba(240, 246, 252, 0.85); transition: color 0.1s ease-in-out; } diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 914b0bff3bcab..d737c0e5ce712 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -5244,7 +5244,7 @@ function register_admin_color_schemes() { false, array( '#1d2327', '#2c3338', '#2271b1', '#72aee6' ), array( - 'base' => '#a7aaad', + 'base' => '#d0d6dc', 'focus' => '#72aee6', 'current' => '#fff', ) From e03e5a9059fe2c3dd1ad49e828431e47371eaf2a Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Thu, 29 Oct 2026 19:32:27 +0700 Subject: [PATCH 2/3] Address comments; update to #c3c4c7 --- src/wp-admin/css/admin-menu.css | 5 ++--- src/wp-admin/includes/misc.php | 2 +- src/wp-includes/css/admin-bar.css | 3 +-- src/wp-includes/general-template.php | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css index d16b61e1d3e4e..3f8158cc01953 100644 --- a/src/wp-admin/css/admin-menu.css +++ b/src/wp-admin/css/admin-menu.css @@ -303,8 +303,7 @@ div.wp-menu-image::before { } #adminmenu div.wp-menu-image { - color: #dcdcde; - color: rgba(240, 246, 252, 0.85); + color: #c3c4c7; transition: color 0.1s ease-in-out; } @@ -482,7 +481,7 @@ ul#adminmenu > li.current > a.current::after { position: relative; overflow: visible; background: none; - color: #a7aaad; + color: #c3c4c7; cursor: pointer; } diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index f3ed2ddb98aaf..0b412dd56511f 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -1080,7 +1080,7 @@ function wp_color_scheme_settings() { } else { // Fall back to the default set of icon colors if the default scheme is missing. $icon_colors = array( - 'base' => '#d0d6dc', + 'base' => '#c3c4c7', 'focus' => '#72aee6', 'current' => '#fff', ); diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 14c4da3b01e5a..0254aa5ee0c2c 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -296,8 +296,7 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar .ab-icon, #wpadminbar .ab-item::before { position: relative; - color: #dcdcde; - color: rgba(240, 246, 252, 0.85); + color: #c3c4c7; transition: color 0.1s ease-in-out; } diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index d737c0e5ce712..eb6e185f5b49d 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -5244,7 +5244,7 @@ function register_admin_color_schemes() { false, array( '#1d2327', '#2c3338', '#2271b1', '#72aee6' ), array( - 'base' => '#d0d6dc', + 'base' => '#c3c4c7', 'focus' => '#72aee6', 'current' => '#fff', ) From b6b0a2b79c7f77e80316811db293e5c45dcb6e09 Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Tue, 3 Nov 2026 11:58:36 +0700 Subject: [PATCH 3/3] Update values in tests --- .../tests/admin/includes/misc/adminColorSchemePicker.php | 6 +++--- .../tests/admin/includes/misc/wpColorSchemeSettings.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php b/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php index 015f85d3cc401..7bde246c2bcca 100644 --- a/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php +++ b/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php @@ -39,7 +39,7 @@ public function test_admin_color_scheme_picker_default_selection() { 'url' => 'fresh.css', 'colors' => array( '#1d2327', '#2c3338', '#2271b1', '#72aee6' ), 'icon_colors' => array( - 'base' => '#a7aaad', + 'base' => '#c3c4c7', 'focus' => '#72aee6', 'current' => '#fff', ), @@ -84,7 +84,7 @@ public function test_admin_color_scheme_picker_custom_selection() { 'name' => 'Default', 'url' => 'fresh.css', 'colors' => array( '#1d2327' ), - 'icon_colors' => array( 'base' => '#a7aaad' ), + 'icon_colors' => array( 'base' => '#c3c4c7' ), ), 'blue' => (object) array( 'name' => 'Blue', @@ -130,7 +130,7 @@ public function test_admin_color_scheme_picker_invalid_selection_fallback() { 'name' => 'Default', 'url' => 'fresh.css', 'colors' => array( '#1d2327' ), - 'icon_colors' => array( 'base' => '#a7aaad' ), + 'icon_colors' => array( 'base' => '#c3c4c7' ), ), 'modern' => (object) array( 'name' => 'Modern', diff --git a/tests/phpunit/tests/admin/includes/misc/wpColorSchemeSettings.php b/tests/phpunit/tests/admin/includes/misc/wpColorSchemeSettings.php index 59876f267fba5..4cd3a26a14be0 100644 --- a/tests/phpunit/tests/admin/includes/misc/wpColorSchemeSettings.php +++ b/tests/phpunit/tests/admin/includes/misc/wpColorSchemeSettings.php @@ -117,7 +117,7 @@ public function test_wp_color_scheme_settings_no_icon_colors_fallback() { $expected = array( 'icons' => array( - 'base' => '#a7aaad', + 'base' => '#c3c4c7', 'focus' => '#72aee6', 'current' => '#fff', ),