From fc3579aa96bc58ada20e8086b808a69178c5709b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D1=80=D0=BE=D0=BB=D0=B5=D0=B2=20=D0=94=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=BB?= <105650840+pan1caisreal@users.noreply.github.com> Date: Fri, 23 Aug 2024 15:28:12 +0300 Subject: [PATCH] =?UTF-8?q?bug(UIKIT-1719,TagBadge):=20=D0=98=D1=81=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=86=D0=B2=D0=B5?= =?UTF-8?q?=D1=82=D0=B0=20=D0=BA=20TagBadge=20(#1108)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/components/src/Tag/styles.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/components/src/Tag/styles.ts b/packages/components/src/Tag/styles.ts index 3287b2e38..c9594407b 100644 --- a/packages/components/src/Tag/styles.ts +++ b/packages/components/src/Tag/styles.ts @@ -1,5 +1,4 @@ import { Chip, type ChipProps } from '@mui/material'; -import { badgeClasses } from '@mui/base'; import { styled } from '../styles'; import { type Theme } from '../theme'; @@ -328,21 +327,4 @@ export const StyledTag = styled(Chip, { width: 16px; height: 16px; } - - & .${badgeClasses.badge} { - ${({ theme, customColor, customVariant }) => - (customColor === 'grey' || customColor === 'default') && - customVariant === 'light' && - ` - background-color: ${theme.palette.grey[800]}; - color: ${theme.palette.common.white}; - `}; - - ${({ theme, customColor, customVariant }) => - (customColor === 'grey' || customColor === 'default') && - customVariant === 'contained' && - ` - color: ${theme.palette.grey[800]}; - `}; - } `;