mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
fix(core): update background of sign-in button and input (#11118)
This commit is contained in:
@@ -165,6 +165,7 @@ export const SignInStep = ({
|
|||||||
<OAuth redirectUrl={state.redirectUrl} />
|
<OAuth redirectUrl={state.redirectUrl} />
|
||||||
|
|
||||||
<AuthInput
|
<AuthInput
|
||||||
|
className={style.authInput}
|
||||||
label={t['com.affine.settings.email']()}
|
label={t['com.affine.settings.email']()}
|
||||||
placeholder={t['com.affine.auth.sign.email.placeholder']()}
|
placeholder={t['com.affine.auth.sign.email.placeholder']()}
|
||||||
onChange={setEmail}
|
onChange={setEmail}
|
||||||
@@ -176,6 +177,7 @@ export const SignInStep = ({
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
className={style.signInButton}
|
||||||
style={{ width: '100%' }}
|
style={{ width: '100%' }}
|
||||||
size="extraLarge"
|
size="extraLarge"
|
||||||
data-testid="continue-login-button"
|
data-testid="continue-login-button"
|
||||||
|
|||||||
@@ -84,3 +84,11 @@ export const skipSection = style({
|
|||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const authInput = style({
|
||||||
|
backgroundColor: cssVarV2.button.signinbutton.background,
|
||||||
|
});
|
||||||
|
|
||||||
|
export const signInButton = style({
|
||||||
|
backgroundColor: cssVarV2.button.signinbutton.background,
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user