Make WordPress Core


Ignore:
Timestamp:
05/10/2022 04:43:44 PM (22 months ago)
Author:
ryelle
Message:

Administration: Update design of the Dashboard welcome panel.

This updates the panel to match the 6.0 About page styles, with the 6.0 graphic changing color based on the selected admin color scheme.

Props fcoveram, critterverse, joedolson, SergeyBiryukov.
Fixes #55532.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_admin.scss

    r52562 r53383  
    784784
    785785/* Welcome Panel */
    786 
    787786.welcome-panel {
    788     background-color: $highlight-color;
     787    background-color: mix($dashboard-accent-1, white, 12%);
     788}
     789
     790.welcome-panel-header-image .about-six {
     791    fill: $dashboard-accent-1;
     792}
     793
     794.welcome-panel-header-image .about-zero {
     795    fill: $dashboard-accent-2;
    789796}
    790797
    791798[class*="welcome-panel-icon"] {
    792     @if ( $scheme-name == "light" ) {
    793         background-color: $icon-color;
    794     } @else {
    795         background-color: $base-color;
    796     }
    797 }
     799    background-color: $dashboard-icon-background;
     800}
Note: See TracChangeset for help on using the changeset viewer.