File size: 854 Bytes
f5071ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
import { Box, Text, useColorModeValue } from '@chakra-ui/react';
export const CustomizeProfileCard = ({ children, ...props }) => {
return (
<Box
bg={useColorModeValue('light.cardBg', 'dark.cardBg')}
borderRadius='5px'
className='shadow'
p='1rem 1rem 1.5rem'
mb='1.5rem'
{...props}
>
{children}
</Box>
);
};
export const titleStyles = {
fontSize: '2xl',
fontWeight: '700',
mb: 3,
};
export const Label = ({ children, ...props }) => (
<Text as='label' display='block' {...props}>
{children}
</Text>
);
export const SmallLabel = ({ children }) => {
return (
<Text
mb='3'
fontSize='15px'
color={useColorModeValue('light.colorTertiary', 'dark.colorTertiary')}
>
{children}
</Text>
);
};
|