Spaces:
Sleeping
Sleeping
File size: 1,146 Bytes
d32e728 | 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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | import { createTheme } from '@mui/material';
// Custom theme with fruit-inspired colors
const theme = createTheme({
palette: {
primary: {
main: '#4caf50',
light: '#80e27e',
dark: '#087f23'
},
secondary: {
main: '#ff9800',
dark: '#c66900'
},
error: {
main: '#f44336',
light: '#ff7961',
dark: '#ba000d'
},
background: {
default: '#f5f5f5',
paper: '#ffffff'
}
},
typography: {
fontFamily: '"Poppins", "Roboto", "Helvetica", "Arial", sans-serif',
h4: {
fontWeight: 600
}
},
shape: {
borderRadius: 12
},
components: {
MuiButton: {
styleOverrides: {
root: {
borderRadius: 30,
textTransform: 'none',
fontWeight: 600,
padding: '10px 20px'
}
}
},
MuiPaper: {
styleOverrides: {
root: {
boxShadow: '0 8px 24px rgba(0, 0, 0, 0.12)'
}
}
},
MuiChip: {
styleOverrides: {
root: {
fontWeight: 600,
fontSize: '0.9rem'
}
}
}
}
});
export default theme; |