From 3cce3b13b01b33afca6397e7c02dcc97f7eb6d21 Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Thu, 24 Oct 2019 17:18:01 -0700 Subject: [PATCH] Theme: Add badge for Test team --- themes/wporg-5ftf/css/components/_team-badges.scss | 8 ++++++-- themes/wporg-5ftf/functions.php | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/themes/wporg-5ftf/css/components/_team-badges.scss b/themes/wporg-5ftf/css/components/_team-badges.scss index 01850a2..6316449 100644 --- a/themes/wporg-5ftf/css/components/_team-badges.scss +++ b/themes/wporg-5ftf/css/components/_team-badges.scss @@ -165,6 +165,10 @@ color: rgb(0, 204, 58); } -.badge-test { - // TODO +.badge-test-team { + background: rgba(136, 79, 174, 0.25); + box-shadow: 0 0 0 4px rgb(136, 79, 174); +} +.badge-test-team:before { + color: rgb(136, 79, 174); } diff --git a/themes/wporg-5ftf/functions.php b/themes/wporg-5ftf/functions.php index 1beb795..ddd2627 100644 --- a/themes/wporg-5ftf/functions.php +++ b/themes/wporg-5ftf/functions.php @@ -273,7 +273,7 @@ function get_badge_classes( $team ) { break; case 'test': - $classes = array( 'badge-test' ); // TODO + $classes = array( 'badge-test-team', 'dashicons-desktop' ); break; case 'themes':