Skip to content

Commit 26e6def

Browse files
authored
Add custom CSS for sustainability team badge. (#261)
Fixes #258.
1 parent 176cea1 commit 26e6def

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

themes/wporg-5ftf/css/components/_team-badges.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,11 @@
213213
.badge-test-team:before {
214214
color: rgb(136, 79, 174);
215215
}
216+
217+
.badge-sustainability-team {
218+
background: rgba(23, 127, 106, 0.25);
219+
box-shadow: 0 0 0 4px rgb(23, 127, 106);
220+
}
221+
.badge-sustainability-team:before {
222+
color: rgb(23, 127, 106);
223+
}

themes/wporg-5ftf/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ function get_badge_classes( $team ) {
298298
break;
299299

300300
case 'sustainability team':
301-
$classes = array( 'badge-meta', 'dashicons-admin-site-alt3' );
301+
$classes = array( 'badge-sustainability-team', 'dashicons-admin-site-alt3' );
302302
break;
303303

304304
case 'test team':

0 commit comments

Comments
 (0)