From 4818f7e3f735778cd199e8fee6047e8a0fa3b1c6 Mon Sep 17 00:00:00 2001 From: desrosj Date: Thu, 20 Dec 2018 19:01:48 +0000 Subject: [PATCH] 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 --- wp-admin/includes/misc.php | 2 +- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index fc57d206bd..7880e82608 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -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', ); diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 0c497f5212..4d39696eb7 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -4043,7 +4043,7 @@ function register_admin_color_schemes() { false, array( '#222', '#333', '#0073aa', '#00a0d2' ), array( - 'base' => '#82878c', + 'base' => '#a0a5aa', 'focus' => '#00a0d2', 'current' => '#fff', ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 5ecb2ae149..1e25b15f2e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.