style: Increased light color contrast to prevent blurring on some displays

This commit is contained in:
wonfen
2024-11-26 01:05:30 +08:00
parent c4986eec50
commit 9696c7cec0
6 changed files with 24 additions and 10 deletions

View File

@@ -49,7 +49,7 @@ export const Switch = styled((props: SwitchProps) => (
},
"& .MuiSwitch-track": {
borderRadius: 26 / 2,
backgroundColor: theme.palette.mode === "light" ? "#E9E9EA" : "#39393D",
backgroundColor: theme.palette.mode === "light" ? "#BBBBBB" : "#39393D",
opacity: 1,
transition: theme.transitions.create(["background-color"], {
duration: 500,