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

let darkTheme = createTheme({
  palette: {
    mode: 'dark',
    primary: {
      main: '#b8e1ff',
    },
    secondary: {
      main: '#f990ca',
    },
    warning: {
      main: '#f9bf90',
    },
    error: {
      main: '#ffada7',
    },
    info: {
      main: '#2ea8ff',
    },
    success: {
      main: '#caf990',
    },
    background: {
      default: '#0f1115',
      paper: '#0d1019',
    },
  },
});

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

export default darkTheme;
