🔖 chore: Update Login button style

This commit is contained in:
Martial BE 2024-04-16 13:16:42 +08:00
parent 9ccf1381e8
commit 5606a104f6
No known key found for this signature in database
GPG Key ID: D06C32DF0EDB9084
2 changed files with 8 additions and 9 deletions

View File

@ -145,6 +145,11 @@ export default function themeTypography(theme) {
},
SubCard: {
border: theme.mode === 'dark' ? '1px solid rgba(227, 232, 239, 0.2)' : '1px solid rgb(227, 232, 239)'
},
LoginButton: {
color: theme.darkTextPrimary,
backgroundColor: theme.mode === 'dark' ? theme.backgroundDefault : theme.colors?.grey50,
borderColor: theme.mode === 'dark' ? theme.colors?.grey700 : theme.colors?.grey100
}
};
}

View File

@ -85,9 +85,7 @@ const LoginForm = ({ ...others }) => {
size="large"
variant="outlined"
sx={{
color: 'grey.700',
backgroundColor: theme.palette.grey[50],
borderColor: theme.palette.grey[100]
...theme.typography.LoginButton
}}
>
<Box sx={{ mr: { xs: 1, sm: 2, width: 20 }, display: 'flex', alignItems: 'center' }}>
@ -108,9 +106,7 @@ const LoginForm = ({ ...others }) => {
size="large"
variant="outlined"
sx={{
color: 'grey.700',
backgroundColor: theme.palette.grey[50],
borderColor: theme.palette.grey[100]
...theme.typography.LoginButton
}}
>
<Box sx={{ mr: { xs: 1, sm: 2, width: 20 }, display: 'flex', alignItems: 'center' }}>
@ -132,9 +128,7 @@ const LoginForm = ({ ...others }) => {
size="large"
variant="outlined"
sx={{
color: 'grey.700',
backgroundColor: theme.palette.grey[50],
borderColor: theme.palette.grey[100]
...theme.typography.LoginButton
}}
>
<Box sx={{ mr: { xs: 1, sm: 2, width: 20 }, display: 'flex', alignItems: 'center' }}>