update badge component with blur and backdrop

This commit is contained in:
Abhinav 2022-11-07 15:42:30 +05:30
parent 3ae9184501
commit e62f02ec0b

View file

@ -3,8 +3,9 @@ import { CSSProperties } from '@mui/styled-engine';
export const Badge = styled(Paper)(({ theme }) => ({
padding: '2px 4px',
backgroundColor: theme.palette.glass.main,
color: theme.palette.glass.contrastText,
backgroundColor: theme.palette.backdrop.main,
filter: `blur(${theme.palette.blur.muted})`,
color: theme.palette.primary.contrastText,
textTransform: 'uppercase',
...(theme.typography.mini as CSSProperties),
}));