dark mode page add-doctor & user account

This commit is contained in:
Ehsan
2024-10-16 20:59:11 +03:30
parent b561b111ec
commit dee7f1ec27
14 changed files with 61 additions and 33 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ const MaterialUISwitch = styled(Switch)(({ theme }) => ({
function SwitchTable({ value }) {
return (
<FormGroup>
<FormGroup className="custom-switch">
<FormControlLabel
control={<MaterialUISwitch defaultChecked={value} sx={{ m: 1 }} />}
/>
+8
View File
@@ -600,6 +600,14 @@ html {
border-radius: 20px;
}
.dark .custom-switch .MuiSwitch-track {
border: 1px solid #343645 !important;
}
.dark .custom-switch .MuiSwitch-thumb::before {
background: #d7d8ed;
}
/* End Of Dark Style */
/* Dark Date Picker */