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} onChange={handleChange}
style={{ marginBottom: '1.5em' }} 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> </Button>
</Form> </Form>

View File

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

View File

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

View File

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