WordPress.org

Make WordPress Core

Changeset 41711


Ignore:
Timestamp:
10/03/17 16:01:57 (2 months ago)
Author:
afercia
Message:

Accessibility: Change all the #f00 and red to the official WordPress accent red.

WordPress should exclusively use colors from the official colors palette, see
https://make.wordpress.org/design/handbook/design-guide/foundations/colors/
Partially addresses accessibility color contrast ratio issues.

See #35622.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r41648 r41711  
    22602260.attention, 
    22612261.error-message { 
    2262     color: red; 
     2262    color: #dc3232; 
    22632263    font-weight: 600; 
    22642264} 
  • trunk/src/wp-admin/css/customize-nav-menus.css

    r41697 r41711  
    440440    box-shadow: none; 
    441441    outline: none; 
    442     color: #f00; 
     442    color: #dc3232; 
    443443} 
    444444 
     
    565565#available-menu-items .new-content-item .create-item-input.invalid, 
    566566#available-menu-items .new-content-item .create-item-input.invalid:focus { 
    567     border: 1px solid #f00; 
     567    border: 1px solid #dc3232; 
    568568} 
    569569 
  • trunk/src/wp-admin/css/media.css

    r41569 r41711  
    10951095 
    10961096span.imgedit-scale-warn { 
    1097     color: red; 
     1097    color: #dc3232; 
    10981098    font-size: 20px; 
    10991099    font-style: normal; 
  • trunk/src/wp-admin/css/widgets.css

    r41621 r41711  
    156156 
    157157.media-frame #embed-url-field.invalid { 
    158     border: 1px solid #f00; 
     158    border: 1px solid #dc3232; 
    159159} 
    160160 
  • trunk/src/wp-includes/css/media-views.css

    r41062 r41711  
    14451445.selection-info .clear-selection:hover, 
    14461446.selection-info .clear-selection:focus { 
    1447     color: red; 
     1447    color: #dc3232; 
    14481448} 
    14491449 
     
    16651665.media-modal .untrash-attachment:hover, 
    16661666.media-modal .untrash-attachment:focus { 
    1667     color: red; 
     1667    color: #dc3232; 
    16681668} 
    16691669 
  • trunk/src/wp-includes/js/mediaelement/wp-mediaelement.css

    r41198 r41711  
    9393 
    9494.media-embed-details .setting a:hover { 
    95     color: #f00; 
     95    color: #dc3232; 
    9696} 
    9797 
Note: See TracChangeset for help on using the changeset viewer.