Make WordPress Core

Changeset 44353


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.

Location:
trunk/src
Files:
2 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',
  • trunk/src/wp-includes/general-template.php

    r44134 r44353  
    40444044        array( '#222', '#333', '#0073aa', '#00a0d2' ),
    40454045        array(
    4046             'base'    => '#82878c',
     4046            'base'    => '#a0a5aa',
    40474047            'focus'   => '#00a0d2',
    40484048            'current' => '#fff',
Note: See TracChangeset for help on using the changeset viewer.