mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-20 10:03:43 +03:00
Add bbPress and BuddyPress
This commit is contained in:
parent
11b9bf3604
commit
5415a5be4e
|
@ -7,7 +7,7 @@
|
|||
flex-wrap: wrap;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
|
||||
|
||||
li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -194,3 +194,19 @@
|
|||
.badge-test-team:before {
|
||||
color: rgb(136, 79, 174);
|
||||
}
|
||||
|
||||
.badge-bbpress {
|
||||
background: rgba(45, 142, 66, 0.25);
|
||||
box-shadow: 0 0 0 4px rgb(45, 142, 66);
|
||||
}
|
||||
.badge-bbpress:before {
|
||||
color: rgb(45, 142, 66);
|
||||
}
|
||||
|
||||
.badge-buddypress {
|
||||
background: rgba(216, 72, 0, 0.25);
|
||||
box-shadow: 0 0 0 4px rgb(216, 72, 0);
|
||||
}
|
||||
.badge-buddypress:before {
|
||||
color: rgb(216, 72, 0);
|
||||
}
|
||||
|
|
|
@ -224,6 +224,14 @@ function get_badge_classes( $team ) {
|
|||
$classes = array( 'badge-accessibility', 'dashicons-universal-access' );
|
||||
break;
|
||||
|
||||
case 'bbpress':
|
||||
$classes = array( 'badge-bbpress', 'dashicons-buddicons-bbpress-logo' );
|
||||
break;
|
||||
|
||||
case 'buddypress':
|
||||
$classes = array( 'badge-buddypress', 'dashicons-buddicons-buddypress-logo' );
|
||||
break;
|
||||
|
||||
case 'cli':
|
||||
$classes = array( 'badge-wp-cli', 'dashicons-arrow-right-alt2' );
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue