Created the default.js theme

This commit is contained in:
Mathias Wagner 2024-02-15 00:54:32 +01:00
parent 86c8a55cec
commit 7351a828b4
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -0,0 +1,72 @@
import { createTheme } from "@mui/material/styles";
const theme = createTheme({
palette: {
mode: "dark",
background: {
default: "#27232F",
darker: "#1A1722",
},
primary: {
main: "#ce93d8",
}
},
components: {
MuiDrawer: {
styleOverrides: {
paper: {
backgroundColor: '#1A1722'
}
}
},
MuiAppBar: {
styleOverrides: {
root: {
backgroundColor: '#1A1722'
}
}
},
MuiMenu: {
styleOverrides: {
paper: {
backgroundColor: '#1A1722'
}
}
},
MuiListItemButton: {
styleOverrides: {
root: {
borderRadius: 15,
margin: 4,
marginLeft: 7,
marginRight: 7
}
}
},
MuiCssBaseline: {
styleOverrides: {
body: {
"&::-webkit-scrollbar, & *::-webkit-scrollbar": {
width: 8,
},
"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": {
borderRadius: 8,
minHeight: 24,
backgroundColor: "#34333e",
},
"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": {
backgroundColor: "#3B3A4A"
}
},
},
},
},
shape: {
borderRadius: 10,
},
typography: {
fontFamily: ["Inter", "sans-serif",].join(",")
}
});
export default theme;