Make WordPress Core


Ignore:
Timestamp:
01/11/2022 06:25:38 PM (3 years ago)
Author:
ryelle
Message:

Administration: Update design of the Dashboard welcome panel.

Tone down the brightness of the dashboard panel by using a white background behind the main text, and use the highlight color from each color scheme for the main background. This also introduces a $scheme-name SCSS variable to allow overrides for specific color schemes.

Props critterverse, sabernhardt, joedolson, audrasjb.
See #54489.

File:
1 edited

Legend:

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

    r50549 r52562  
    782782    }
    783783}
     784
     785/* Welcome Panel */
     786
     787.welcome-panel {
     788    background-color: $highlight-color;
     789}
     790
     791[class*="welcome-panel-icon"] {
     792    @if ( $scheme-name == "light" ) {
     793        background-color: $icon-color;
     794    } @else {
     795        background-color: $base-color;
     796    }
     797}
Note: See TracChangeset for help on using the changeset viewer.