Merge pull request #1331 from omnivore-app/fix/signup-forms

Set background colours on email forms as these pages arent themed
This commit is contained in:
Jackson Harper 2022-10-18 17:53:55 +08:00 committed by GitHub
commit 6c6e1485d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 0 deletions

View file

@ -51,6 +51,7 @@ export function EmailForgotPassword(): JSX.Element {
name="email"
value={email}
placeholder="Email"
css={{ bg: 'white '}}
onChange={(e) => { e.preventDefault(); setEmail(e.target.value); }}
/>
</SpanBox>

View file

@ -55,6 +55,7 @@ export function EmailLogin(): JSX.Element {
name="email"
value={email}
placeholder="Email"
css={{ bg: 'white '}}
onChange={(e) => { e.preventDefault(); setEmail(e.target.value); }}
/>
</SpanBox>
@ -67,6 +68,7 @@ export function EmailLogin(): JSX.Element {
name="password"
value={password}
placeholder="Password"
css={{ bg: 'white '}}
onChange={(e) => setPassword(e.target.value)}
/>
</SpanBox>

View file

@ -61,6 +61,7 @@ export function EmailResetPassword(): JSX.Element {
name="password"
value={password}
placeholder="Password"
css={{ bg: 'white '}}
onChange={(e) => { e.preventDefault(); setPassword(e.target.value); }}
/>
<FormLabel css={{ fontSize: '12px' }}>(Password must be at least 8 chars)</FormLabel>

View file

@ -73,6 +73,7 @@ export function EmailSignup(): JSX.Element {
name="email"
value={email}
placeholder="Email"
css={{ bg: 'white '}}
onChange={(e) => { e.preventDefault(); setEmail(e.target.value); }}
/>
</SpanBox>
@ -85,6 +86,7 @@ export function EmailSignup(): JSX.Element {
name="password"
value={password}
placeholder="Password"
css={{ bg: 'white '}}
onChange={(e) => setPassword(e.target.value)}
/>
</SpanBox>
@ -97,6 +99,7 @@ export function EmailSignup(): JSX.Element {
name="name"
value={fullname}
placeholder="Full Name"
css={{ bg: 'white '}}
onChange={(e) => setFullname(e.target.value)}
/>
</SpanBox>
@ -109,6 +112,7 @@ export function EmailSignup(): JSX.Element {
name="username"
value={username}
placeholder="Username"
css={{ bg: 'white '}}
onChange={handleUsernameChange}
/>
</SpanBox>