From fd6678da29725d413c2d1c5207fd73e8c1b7178d Mon Sep 17 00:00:00 2001 From: webrooster Date: Thu, 30 Mar 2023 15:56:03 +0200 Subject: [PATCH] fix(Avatar): bg color --- .../components/user/Avatar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/design-system-component-library-yeahyeahyeah/components/user/Avatar.tsx b/packages/design-system-component-library-yeahyeahyeah/components/user/Avatar.tsx index 1b5a55d..2cf2caf 100644 --- a/packages/design-system-component-library-yeahyeahyeah/components/user/Avatar.tsx +++ b/packages/design-system-component-library-yeahyeahyeah/components/user/Avatar.tsx @@ -44,7 +44,7 @@ interface IImageProps { const Figure = styled.figure.attrs({ className: 'group' })(() => Styles); const Styles = ({ variant }: IImageProps) => [ - variant === 'small' && tw`h-40 w-40 min-w-[40px]`, + variant === 'small' && tw`h-40 w-40 min-w-[40px] bg-none border-0`, variant === 'medium' && tw`h-[72px] w-[72px] min-w-[72px] border-4`, variant === 'large' && tw`h-96 w-96 border-4`, variant === 'xlarge' && tw`h-160 w-160 border-4 min-w-[160px]`, @@ -53,7 +53,7 @@ const Styles = ({ variant }: IImageProps) => [ justify-center items-center border-slate-200 - bg-violet-600 + bg-slate-200 rounded-full cursor-pointer object-cover