mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 10:33:43 +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}
|
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user