@metamask/design-system-react-native
Version:
25 lines • 1.13 kB
JavaScript
import { AvatarIconSize, AvatarIconSeverity } from "../../types/index.mjs";
import { IconSize, IconColor } from "../Icon/index.mjs";
// Mappings
export const TWCLASSMAP_AVATARICON_SEVERITY_BACKGROUNDCOLOR = {
[]: 'bg-muted',
[]: 'bg-info-muted',
[]: 'bg-success-muted',
[]: 'bg-error-muted',
[]: 'bg-warning-muted',
};
export const MAP_AVATARICON_SIZE_ICONSIZE = {
[]: IconSize.Xs,
[]: IconSize.Sm,
[]: IconSize.Md,
[]: IconSize.Lg,
[]: IconSize.Xl, // 48px avatar -> 32px icon
};
export const MAP_AVATARICON_SEVERITY_ICONCOLOR = {
[]: IconColor.IconAlternative,
[]: IconColor.InfoDefault,
[]: IconColor.SuccessDefault,
[]: IconColor.ErrorDefault,
[]: IconColor.WarningDefault,
};
//# sourceMappingURL=AvatarIcon.constants.mjs.map