1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00

UX Icon: Replace fa-user (#17809)

* updated fa-user

* updated color
This commit is contained in:
Nidhi Kumari 2023-02-21 18:59:19 +05:30 committed by GitHub
parent 3bb36e8142
commit 123098d77a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,10 +5,12 @@ import {
TextColor,
BackgroundColor,
BorderColor,
Color,
} from '../../../helpers/constants/design-system';
import Box from '../../ui/box/box';
import { Icon, ICON_NAMES } from '../icon';
import README from './README.mdx';
import { AvatarBase } from './avatar-base';
import { AVATAR_BASE_SIZES } from './avatar-base.constants';
@ -121,10 +123,7 @@ export const Children = (args) => (
backgroundColor={BackgroundColor.infoMuted}
borderColor={BorderColor.infoMuted}
>
<i
className="fa fa-user"
style={{ color: 'var(--color-info-default)' }}
/>
<Icon name={ICON_NAMES.USER} color={Color.infoDefault} />
</AvatarBase>
</Box>
);