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} selected={!!match}
sx={[ sx={[
{ {
borderTopLeftRadius: 18, borderRadius: 3,
borderBottomLeftRadius: 18, marginLeft: 1,
marginRight: 1,
textAlign: "center", textAlign: "center",
"& .MuiListItemText-primary": { color: "text.secondary" }, "& .MuiListItemText-primary": { color: "text.secondary" },
}, },
({ palette: { mode, primary } }) => { ({ palette: { mode, primary } }) => {
/* const bgcolor = const bgcolor =
mode === "light" mode === "light"
? alpha(primary.main, 0.15) ? alpha(primary.main, 0.15)
: alpha(primary.main, 0.35); */ : alpha(primary.main, 0.35);
const bgcolor = mode === "light" ? "#ffffff" : "#0E1621";
const color = mode === "light" ? primary.main : primary.light; const color = mode === "light" ? primary.main : primary.light;
return { return {