mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 12:08:32 +08:00
chore: Adjust style
This commit is contained in:
1 parent
5f4c7076ab
commit
225b829c1a
1 file changed
+5
-5
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user