Skip to content

Commit

Permalink
remove white background on dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecasal committed Dec 7, 2023
1 parent d108649 commit 8001094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Newsletter = ({ className, title, description, buttonText }: NewsletterPro
Name
</Label>
</VisuallyHidden>
<Input id="name" type="text" placeholder="Enter your name" name="name" required defaultValue={name.defaultValue} className={name.error ? 'bg-danger-background border-danger-foreground' : ''} />
<Input id="name" type="text" placeholder="Enter your name" name="name" required defaultValue={name.defaultValue} className={name.error ? 'border-danger-foreground' : ''} />
<P size="xs" className="ml-3.5 text-danger-foreground">
{name.error}&nbsp;
</P>
Expand All @@ -73,7 +73,7 @@ const Newsletter = ({ className, title, description, buttonText }: NewsletterPro
Email address
</Label>
</VisuallyHidden>
<Input id="email-address" type="email" placeholder="Enter your email" name="email" autoComplete="email" required defaultValue={email.defaultValue} className={email.error ? 'bg-danger-background border-danger-foreground' : ''} />
<Input id="email-address" type="email" placeholder="Enter your email" name="email" autoComplete="email" required defaultValue={email.defaultValue} className={email.error ? 'border-danger-foreground' : ''} />
<P size="xs" className="ml-3.5 text-danger-foreground">
{email.error}&nbsp;
</P>
Expand Down

0 comments on commit 8001094

Please sign in to comment.