From 2b39addca26a486334de3392c57f59ac275bac49 Mon Sep 17 00:00:00 2001 From: Rupok Date: Thu, 11 Jun 2020 13:07:30 +0600 Subject: [PATCH] Fix badge icon for themes team --- themes/wporg-5ftf/css/components/_team-badges.scss | 8 +++++++- themes/wporg-5ftf/functions.php | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/themes/wporg-5ftf/css/components/_team-badges.scss b/themes/wporg-5ftf/css/components/_team-badges.scss index ecda2b5..8d80f59 100644 --- a/themes/wporg-5ftf/css/components/_team-badges.scss +++ b/themes/wporg-5ftf/css/components/_team-badges.scss @@ -42,7 +42,13 @@ box-sizing: border-box; position: relative; } - +.badge-themes { + background: white; + box-shadow: 0 0 0 4px rgb(78, 50, 136); +} +.badge-themes::before { + color: rgb(78, 50, 136); +} .badge-themes-reviewer { background: rgba(78, 50, 136, 0.25); box-shadow: 0 0 0 4px rgb(78, 50, 136); diff --git a/themes/wporg-5ftf/functions.php b/themes/wporg-5ftf/functions.php index 0de3557..5137f38 100644 --- a/themes/wporg-5ftf/functions.php +++ b/themes/wporg-5ftf/functions.php @@ -272,6 +272,10 @@ function get_badge_classes( $team ) { $classes = array( 'badge-test-team', 'dashicons-desktop' ); break; + case 'themes team': + $classes = array( 'badge-themes', 'dashicons-admin-appearance' ); + break; + case 'theme review team': $classes = array( 'badge-themes-reviewer', 'dashicons-admin-appearance' ); break;