chore: update default theme style

This commit is contained in:
JustSong 2025-02-01 00:13:09 +08:00
parent 6818ed5ca8
commit 4db834da95
4 changed files with 25 additions and 4 deletions

View File

@ -135,7 +135,16 @@ const LoginForm = () => {
onChange={handleChange}
style={{ marginBottom: '1.5em' }}
/>
<Button color='blue' fluid size='large' onClick={handleSubmit}>
<Button
fluid
size='large'
style={{
background: '#2F73FF', // 使用更现代的蓝色
color: 'white',
marginBottom: '1.5em',
}}
onClick={handleSubmit}
>
登录
</Button>
</Form>

View File

@ -133,7 +133,11 @@ const PasswordResetConfirm = () => {
onClick={handleSubmit}
loading={loading}
disabled={disableButton}
style={{ marginBottom: '1em' }}
style={{
background: '#2F73FF', // 使用更现代的蓝色
color: 'white',
marginBottom: '1.5em',
}}
>
{disableButton ? '密码重置完成' : '提交'}
</Button>

View File

@ -127,7 +127,11 @@ const PasswordResetForm = () => {
onClick={handleSubmit}
loading={loading}
disabled={disableButton}
style={{ marginBottom: '1em' }}
style={{
background: '#2F73FF', // 使用更现代的蓝色
color: 'white',
marginBottom: '1.5em',
}}
>
{disableButton ? `重试 (${countdown})` : '提交'}
</Button>

View File

@ -208,10 +208,14 @@ const RegisterForm = () => {
)}
<Button
color='blue'
fluid
size='large'
onClick={handleSubmit}
style={{
background: '#2F73FF', // 使用更现代的蓝色
color: 'white',
marginBottom: '1.5em',
}}
loading={loading}
>
注册