// material-ui import FormControlLabel from '@mui/material/FormControlLabel'; import Grid from '@mui/material/Grid'; import Radio from '@mui/material/Radio'; import RadioGroup from '@mui/material/RadioGroup'; import Stack from '@mui/material/Stack'; import Typography from '@mui/material/Typography'; // project imports import useConfig from 'hooks/useConfig'; import MainCard from 'ui-component/cards/MainCard'; // ==============================|| CUSTOMIZATION - FONT FAMILY ||============================== // export default function FontFamilyPage() { const { state: { fontFamily }, setField } = useConfig(); const handleFontChange = (event) => { setField('fontFamily', event.target.value); }; const fonts = [ { id: 'inter', value: `'Inter', sans-serif`, label: 'Inter' }, { id: 'poppins', value: `'Poppins', sans-serif`, label: 'Poppins' }, { id: 'roboto', value: `'Roboto', sans-serif`, label: 'Roboto' } ]; return ( FONT STYLE {fonts.map((item, index) => ( ({ p: 0.75, bgcolor: fontFamily === item.value ? 'primary.light' : 'grey.50' })} > } label={ {item.label} } /> ))} ); }