import { createTheme } from '@mui/material';
import typography from '../overrides/typography';
import MuiSnackbarContent from '../overrides/MuiSnackbarContent';

let lightTheme = createTheme({
  palette: {
    mode: 'light',
    primary: {
      main: '#000b29',
    },
    secondary: {
      main: '#9d002a',
    },
    error: {
      main: '#d10000',
    },
    warning: {
      main: '#ff9800',
    },
    info: {
      main: '#2196f3',
    },
    success: {
      main: '#4caf50',
    },
    background: {
      default: '#fafafa',
      paper: '#ffffff',
    },
  },
});

lightTheme = createTheme(lightTheme, {
  typography: {
    ...typography(lightTheme),
  },
  components: {
    ...MuiSnackbarContent,
  },
});

export default lightTheme;
