Skip to content

Commit 0b2e16d

Browse files
committed
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.
1 parent dfc639d commit 0b2e16d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/wp-admin/css/admin-menu.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ div.wp-menu-image::before {
303303
}
304304

305305
#adminmenu div.wp-menu-image {
306-
color: #a7aaad;
307-
color: rgba(240, 246, 252, 0.6);
306+
color: #dcdcde;
307+
color: rgba(240, 246, 252, 0.85);
308308
transition: color 0.1s ease-in-out;
309309
}
310310

‎src/wp-admin/includes/misc.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ function wp_color_scheme_settings() {
10811081
} else {
10821082
// Fall back to the default set of icon colors if the default scheme is missing.
10831083
$icon_colors = array(
1084-
'base' => '#a7aaad',
1084+
'base' => '#d0d6dc',
10851085
'focus' => '#72aee6',
10861086
'current' => '#fff',
10871087
);

‎src/wp-includes/css/admin-bar.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ html:lang(he-il) .rtl #wpadminbar * {
289289
#wpadminbar .ab-icon,
290290
#wpadminbar .ab-item::before {
291291
position: relative;
292-
color: #a7aaad;
293-
color: rgba(240, 246, 252, 0.6);
292+
color: #dcdcde;
293+
color: rgba(240, 246, 252, 0.85);
294294
transition: color 0.1s ease-in-out;
295295
}
296296

‎src/wp-includes/general-template.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5245,7 +5245,7 @@ function register_admin_color_schemes() {
52455245
false,
52465246
array( '#1d2327', '#2c3338', '#2271b1', '#72aee6' ),
52475247
array(
5248-
'base' => '#a7aaad',
5248+
'base' => '#d0d6dc',
52495249
'focus' => '#72aee6',
52505250
'current' => '#fff',
52515251
)

0 commit comments

Comments
 (0)