diff --git a/app/component/SwitchTable.js b/app/component/SwitchTable.js
index c922b9d..c16314f 100644
--- a/app/component/SwitchTable.js
+++ b/app/component/SwitchTable.js
@@ -3,7 +3,7 @@ import { styled } from "@mui/material/styles";
const MaterialUISwitch = styled(Switch)(({ theme }) => ({
width: 63,
- height: 34,
+ height: 38,
padding: 7,
"& .MuiSwitch-switchBase": {
margin: 1,
@@ -11,23 +11,19 @@ const MaterialUISwitch = styled(Switch)(({ theme }) => ({
transform: "translateX(6px)",
"&.Mui-checked": {
color: "#fff",
- transform: "translateX(22px)",
+ transform: "translateX(24px)",
"& .MuiSwitch-thumb:before": {
- backgroundImage: `url('data:image/svg+xml;utf8,')`,
+ background: "#5559CE",
+ borderRadius: "50%",
},
"& + .MuiSwitch-track": {
opacity: 1,
- backgroundColor: "#aab4be",
- ...theme.applyStyles("dark", {
- backgroundColor: "#8796A5",
- }),
+ backgroundColor: "#c7cef4",
},
},
},
"& .MuiSwitch-thumb": {
- backgroundColor: "#001e3c",
+ background: "#d7d7d7",
width: 32,
height: 32,
"&::before": {
@@ -39,21 +35,16 @@ const MaterialUISwitch = styled(Switch)(({ theme }) => ({
top: 0,
backgroundRepeat: "no-repeat",
backgroundPosition: "center",
- backgroundImage: `url('data:image/svg+xml;utf8,')`,
+ background: "#d7d7d7",
+ borderRadius: "50%",
},
- ...theme.applyStyles("dark", {
- backgroundColor: "#003892",
- }),
},
"& .MuiSwitch-track": {
opacity: 1,
- backgroundColor: "#aab4be",
- borderRadius: 20 / 2,
- ...theme.applyStyles("dark", {
- backgroundColor: "#8796A5",
- }),
+ background: "transparent",
+ border: "1px solid #d7d7d7",
+ borderRadius: "27px",
+ transform: "translateY(-2px)",
},
}));
@@ -61,8 +52,7 @@ function SwitchTable({ value }) {
return (
}
- label="MUI switch"
+ control={}
/>
);