Spaces:
Sleeping
Sleeping
File size: 756 Bytes
15975c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import { Stack, Typography, useTheme } from '@mui/material';
export const BaseColorView = () => {
const { palette } = useTheme();
return (
<Stack direction='row' spacing={1} sx={{ my: 1 }}>
<Typography
paddingRight={0.5}
variant='h6'
fontWeight="bold">
Base Color
</Typography >
<Typography
variant='button'
alignSelf={'center'}
fontWeight="bold"
sx={{ borderRadius: 50, px: 0.9, bgcolor: palette.primary.main, color: palette.primary.contrastText, textTransform: 'capitalize' }} >
{palette.primary.main}
</Typography >
</Stack>
);
}; |