import { createTheme } from '@mui/material/styles'; // 创建完整的MUI主题 const theme = createTheme({ palette: { primary: { main: '#667eea', light: '#8898f7', dark: '#5a67d8', }, secondary: { main: '#4fd1c5', light: '#6ee7db', dark: '#38b2ac', }, background: { default: '#f8f9fa', paper: '#ffffff', }, text: { primary: '#1a202c', secondary: '#4a5568', }, }, typography: { fontFamily: '"Inter", "Roboto", "Helvetica", "Arial", sans-serif', h1: { fontWeight: 700, }, h2: { fontWeight: 600, }, h3: { fontWeight: 600, }, body1: { lineHeight: 1.6, }, }, components: { MuiButton: { styleOverrides: { root: { borderRadius: 8, textTransform: 'none', fontWeight: 500, }, }, }, MuiPaper: { styleOverrides: { root: { borderRadius: 12, boxShadow: '0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1)', }, }, }, MuiAvatar: { styleOverrides: { root: { boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)', }, }, }, }, }); export default theme;