Make WordPress Core


Ignore:
Timestamp:
12/20/2018 07:00:39 PM (5 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r44291 r44353  
    926926        // Fall back to the default set of icon colors if the default scheme is missing.
    927927        $icon_colors = array(
    928             'base'    => '#82878c',
     928            'base'    => '#a0a5aa',
    929929            'focus'   => '#00a0d2',
    930930            'current' => '#fff',
Note: See TracChangeset for help on using the changeset viewer.