Update avatar component

This commit is contained in:
Hazem Krimi
2021-04-22 01:53:09 +01:00
parent 7e7355de80
commit d9e2eb72c0
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -6,11 +6,12 @@ type WrapperProps = {
};
export const Wrapper = styled.div<WrapperProps>`
user-select: none;
border-radius: 50%;
background: ${({ theme, color }) =>
color ? theme.colors[color].main : theme.colors.client.main};
color: ${({ theme }) => theme.colors.white.main};
display: grid;
display: inline-grid;
justify-content: center;
align-items: center;
font-weight: bold;