mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
chore: Adjust style
This commit is contained in:
parent
64a283c3a6
commit
290a024a9e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user