chore: Adjust style

This commit is contained in:
WhizPanda 2023-12-02 23:20:04 +08:00
parent 64a283c3a6
commit 290a024a9e

View File

@ -17,17 +17,17 @@ export const LayoutItem = (props: LinkProps) => {
selected={!!match}
sx={[
{
borderTopLeftRadius: 18,
borderBottomLeftRadius: 18,
borderRadius: 3,
marginLeft: 1,
marginRight: 1,
textAlign: "center",
"& .MuiListItemText-primary": { color: "text.secondary" },
},
({ palette: { mode, primary } }) => {
/* const bgcolor =
const bgcolor =
mode === "light"
? alpha(primary.main, 0.15)
: alpha(primary.main, 0.35); */
const bgcolor = mode === "light" ? "#ffffff" : "#0E1621";
: alpha(primary.main, 0.35);
const color = mode === "light" ? primary.main : primary.light;
return {