import createTheme from "@mui/material/styles/createTheme"; declare module "@mui/material/styles" { interface TypeBackground { paperLight?: string; paperDark?: string; paperDarker?: string; textField?: string; gradient?: string; } } export const htmlFontSize = 16; const theme = createTheme({ palette: { mode: "dark", primary: { main: "#9D00FF", light: "#BD85E0", dark: "#8501D7", }, secondary: { main: "#fff", light: "#fff", dark: "#A5A5A5", }, background: { paper: "#292929", default: "#323232", // custom paperLight: "#787878", paperDark: "#292929", paperDarker: "#1c1c1c", textField: "#454545", gradient: "radial-gradient(152.41% 152.41% at 50% 50%, #7C7C7C 0%, #525252 25.15%, #323232 42.89%)", }, divider: "#555555", action: { focus: "#1976d2", hover: "#454545", selected: "#454545", }, }, components: { MuiAlert: { defaultProps: { variant: "outlined", }, styleOverrides: { icon: { marginRight: 8, }, root: { width: "100%", padding: "0 8px", "&:not(:last-child)": { marginBottom: 20, }, }, message: { display: "flex", alignItems: "center", }, }, }, MuiBreadcrumbs: { styleOverrides: { li: { lineHeight: 1, }, }, }, MuiButton: { defaultProps: { variant: "contained", }, }, MuiDialogActions: { styleOverrides: { root: { padding: 60, paddingTop: 0, justifyContent: "flex-start", }, }, }, MuiDialogContent: { styleOverrides: { root: { padding: 60, }, }, }, MuiDialogTitle: { styleOverrides: { root: { padding: 60, fontSize: 32, }, }, }, MuiList: { styleOverrides: { root: { paddingTop: 0, paddingBottom: 0, }, }, }, MuiListItemButton: { styleOverrides: { root: { paddingLeft: 10, }, }, }, MuiListItemSecondaryAction: { styleOverrides: { root: { right: 0, }, }, }, MuiPaper: { styleOverrides: { root: { borderRadius: 0, boxShadow: "none", }, }, }, MuiSelect: { defaultProps: { variant: "filled", }, }, MuiTextField: { defaultProps: { variant: "filled", }, }, }, typography: { fontFamily: ["DM Sans", "sans-serif"].join(","), fontSize: 12, body1: { letterSpacing: "1px", }, body2: { letterSpacing: "1px", }, button: { fontWeight: "bold", textTransform: "initial", }, }, }); export default theme;