Make WordPress Core


Ignore:
Timestamp:
01/26/2021 06:53:55 PM (4 years ago)
Author:
ryelle
Message:

Administration: Standardize colors used in CSS to a single palette.

This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.

Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw

Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r49992 r50025  
    43934393        _x( 'Default', 'admin color scheme' ),
    43944394        false,
    4395         array( '#222', '#333', '#0073aa', '#00a0d2' ),
     4395        array( '#1d2327', '#2c3338', '#3582c4', '#72aee6' ),
    43964396        array(
    4397             'base'    => '#a0a5aa',
    4398             'focus'   => '#00a0d2',
     4397            'base'    => '#a7aaad',
     4398            'focus'   => '#72aee6',
    43994399            'current' => '#fff',
    44004400        )
Note: See TracChangeset for help on using the changeset viewer.