@metamask/design-system-react
Version:
Design system react ui components
30 lines • 1.34 kB
JavaScript
import { AvatarBaseSize } from "../../types/index.mjs";
export const TWCLASSMAP_AVATARBASE_SIZE_DIMENSION = {
[]: 'h-4 w-4',
[]: 'h-6 w-6',
[]: 'h-8 w-8',
[]: 'h-10 w-10',
[]: 'h-12 w-12', // 48px
};
export const TWCLASSMAP_AVATARBASE_HASBORDER_SIZE_DIMENSION = {
[]: 'h-[18px] w-[18px]',
[]: 'h-[26px] w-[26px]',
[]: 'h-[34px] w-[34px]',
[]: 'h-[44px] w-[44px]',
[]: 'h-[52px] w-[52px]', // 48px with 2px border on each side
};
export const TWCLASSMAP_AVATARBASE_SIZE_BORDERRADIUSS_SQUARE = {
[]: 'rounded-sm',
[]: 'rounded-md',
[]: 'rounded-lg',
[]: 'rounded-[10px]',
[]: 'rounded-xl', // 12px
};
export const TWCLASSMAP_AVATARBASE_SIZE_BORDER = {
[]: 'border-background-default border',
[]: 'border-background-default border',
[]: 'border-background-default border',
[]: 'border-background-default border-2',
[]: 'border-background-default border-2', // 2px border
};
//# sourceMappingURL=AvatarBase.constants.mjs.map