Improve ChanjeTem a fix dark-mode flickering

This commit is contained in:
2023-07-24 23:12:52 +04:00
parent 8c4022e2e7
commit 9568cefbd6
3 changed files with 32 additions and 65 deletions
+4 -2
View File
@@ -29,8 +29,10 @@ const Root = styled('div')((
[`& .${classes.footer}`]: {
padding: theme.spacing(1, 2),
marginTop: 'auto',
backgroundColor:
theme.palette.mode === 'light' ? theme.palette.grey[100] : '#1E3526'
backgroundColor: theme.palette.grey[100],
[theme.getColorSchemeSelector('dark')]: {
backgroundColor: '#1E3526'
}
},
[`& .${classes.text}`]: {