Administration: Update default fallback color for SVG icons.

Currently, when an SVG is used as a menu icon, the color is inconsistent with the other, default dashicons and the contrast ratio does not meet the minimum requirement for accessibility.

This updates the base color for the default `fresh` color scheme to ensure consistency and proper contrast.

Props swift, dschalk.
Fixes #44209.
Built from https://develop.svn.wordpress.org/trunk@44353


git-svn-id: http://core.svn.wordpress.org/trunk@44183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2018-12-20 19:01:48 +00:00
parent b06701a167
commit 4818f7e3f7
3 changed files with 3 additions and 3 deletions

View File

@ -925,7 +925,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' => '#82878c',
'base' => '#a0a5aa',
'focus' => '#00a0d2',
'current' => '#fff',
);

View File

@ -4043,7 +4043,7 @@ function register_admin_color_schemes() {
false,
array( '#222', '#333', '#0073aa', '#00a0d2' ),
array(
'base' => '#82878c',
'base' => '#a0a5aa',
'focus' => '#00a0d2',
'current' => '#fff',
)

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44352';
$wp_version = '5.1-alpha-44353';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.