aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx b/server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx
index 95c7d81dc86..3d533ef2fa4 100644
--- a/server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx
+++ b/server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import classNames from 'classnames';
import { Pill } from 'design-system';
import React from 'react';
import { translate } from '../../helpers/l10n';
@@ -63,8 +62,8 @@ export function CleanCodeAttributePill(props: Readonly<Props>) {
},
]}
>
- <Pill variant="neutral" data-guiding-id="issue-1" className={className}>
- <span className={classNames({ 'sw-font-semibold': !!cleanCodeAttribute })}>
+ <Pill variant="accent" data-guiding-id="issue-1" className={className}>
+ <span className="sw-font-semibold">
{translate(type, 'clean_code_attribute_category', cleanCodeAttributeCategory)}
</span>
{cleanCodeAttribute && (