fix(core): update background of sign-in button and input (#11118)

This commit is contained in:
CatsJuice
2025-04-10 03:24:37 +00:00
parent d70588f5b7
commit bf293d8dca
2 changed files with 10 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ export const SignInStep = ({
<OAuth redirectUrl={state.redirectUrl} />
<AuthInput
className={style.authInput}
label={t['com.affine.settings.email']()}
placeholder={t['com.affine.auth.sign.email.placeholder']()}
onChange={setEmail}
@@ -176,6 +177,7 @@ export const SignInStep = ({
/>
<Button
className={style.signInButton}
style={{ width: '100%' }}
size="extraLarge"
data-testid="continue-login-button"

View File

@@ -84,3 +84,11 @@ export const skipSection = style({
flexDirection: 'column',
alignItems: 'center',
});
export const authInput = style({
backgroundColor: cssVarV2.button.signinbutton.background,
});
export const signInButton = style({
backgroundColor: cssVarV2.button.signinbutton.background,
});