dark mode page add-doctor & user account
This commit is contained in:
@@ -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 }} />}
|
||||
/>
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user