Make WordPress Core

Changeset 48277


Ignore:
Timestamp:
07/02/2020 02:53:37 PM (4 years ago)
Author:
youknowriad
Message:

Color schemes: Add new modern color scheme option.

This PR adds a new color scheme option, which uses a high luminosity blue spot color, almost-black menu, and pure white for menu items.
This helps increase contrast, and bring more consistency with some of the higher contrast colors used in the block editor.

Props joen, ibdz, shaunandrews.
Fixes #50504.

Location:
trunk/src
Files:
2 added
2 edited

Legend:

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

    r48241 r48277  
    935935                    'fresh' => '',
    936936                    'light' => '',
     937                    'modern' => '',
    937938                ),
    938939                $_wp_admin_css_colors
  • trunk/src/wp-includes/general-template.php

    r48275 r48277  
    43684368
    43694369    wp_admin_css_color(
     4370        'modern',
     4371        _x( 'Modern', 'admin color scheme' ),
     4372        admin_url( "css/colors/modern/colors$suffix.css" ),
     4373        array( '#1e1e1e', '#3858e9', '#e26f56' ),
     4374        array(
     4375            'base'    => '#1e1e1e',
     4376            'focus'   => '#3858e9',
     4377            'current' => '#e26f56',
     4378        )
     4379    );
     4380
     4381    wp_admin_css_color(
    43704382        'blue',
    43714383        _x( 'Blue', 'admin color scheme' ),
Note: See TracChangeset for help on using the changeset viewer.