Make WordPress Core


Ignore:
Timestamp:
03/01/2023 04:40:29 PM (3 years ago)
Author:
ryelle
Message:

Administration: Update the Dashboard welcome banner for 6.2.

Props richtabor, markoserb, laurlittle.
See #57759.

File:
1 edited

Legend:

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

    r55048 r55451  
    789789
    790790/* Welcome Panel */
    791 .welcome-panel {
    792         background-color: $dashboard-accent-1;
    793 }
    794 
    795 .welcome-panel-header-image circle {
    796         stroke: $dashboard-accent-2;
    797         fill: $dashboard-accent-1;
    798 }
    799 
    800 [class*="welcome-panel-icon"] {
    801         background-color: $dashboard-icon-background;
    802 }
     791@if ( $custom-welcome-panel == "true" ) {
     792        .welcome-panel {
     793                background-color: $dashboard-accent-1;
     794        }
     795
     796        .welcome-panel-header-image .curve,
     797        .welcome-panel-header-image .dot {
     798                fill: $dashboard-accent-2;
     799        }
     800
     801        [class*="welcome-panel-icon"] {
     802                background-color: $dashboard-icon-background;
     803        }
     804}
Note: See TracChangeset for help on using the changeset viewer.