Created the default.js theme
This commit is contained in:
parent
86c8a55cec
commit
7351a828b4
72
webui/src/common/themes/default.js
Normal file
72
webui/src/common/themes/default.js
Normal 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;
|
Reference in New Issue
Block a user