Skip to content

Commit 72159d2

Browse files
committed
Set background colors.
1 parent c615fff commit 72159d2

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

‎src/wp-admin/css/about.css‎

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,18 @@
2020
*/
2121

2222
.about__container {
23-
/* Section backgrounds */
24-
--background: #3858e9;
25-
--subtle-background: #f4f4f4;
23+
/*
24+
* Section backgrounds
25+
*
26+
* Section header backgrounds are set to the dominant color of the
27+
* image to avoid display issues if the image fails to load.
28+
*/
29+
--background: #eeece5;
30+
--background-credits: #3858e9;
31+
--background-freedoms: #757575;
32+
--background-privacy: #323232;
33+
--background-get-involved: #eeece5;
34+
--subtle-background: #F3F2EE;
2635

2736
/* Main text color */
2837
--text: #1e1e1e;
@@ -628,18 +637,22 @@
628637

629638
.credits-php .about__header {
630639
background-image: url(../images/about-header-credits.svg?ver=7.2);
640+
background-color: var(--background-credits);
631641
}
632642

633643
.freedoms-php .about__header {
634644
background-image: url(../images/about-header-freedoms.svg?ver=7.2);
645+
background-color: var(--background-freedoms);
635646
}
636647

637648
.privacy-php .about__header {
638649
background-image: url(../images/about-header-privacy.svg?ver=7.2);
650+
background-color: var(--background-privacy);
639651
}
640652

641653
.contribute-php .about__header {
642654
background-image: url(../images/about-header-get-involved.svg?ver=7.2);
655+
background-color: var(--background-get-involved);
643656
}
644657

645658
[dir="rtl"] .about__header {

0 commit comments

Comments
 (0)