Skip to content

Commit 44d3897

Browse files
committed
Updates the large login buttons to the new purple style
1 parent 174484f commit 44d3897

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

apps/webapp/app/routes/login._index/route.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { EnvelopeIcon } from "@heroicons/react/20/solid";
22
import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node";
33
import { Form } from "@remix-run/react";
4-
import { GitHubDarkIcon } from "@trigger.dev/companyicons";
4+
import { GitHubLightIcon } from "@trigger.dev/companyicons";
55
import { redirect, typedjson, useTypedLoaderData } from "remix-typedjson";
66
import { LoginPageLayout } from "~/components/LoginPageLayout";
77
import { Button, LinkButton } from "~/components/primitives/Buttons";
@@ -89,13 +89,13 @@ export default function LoginPage() {
8989
fullWidth
9090
data-action="continue with github"
9191
>
92-
<GitHubDarkIcon className={"mr-2 size-5"} />
93-
<span className="text-charcoal-900">Continue with GitHub</span>
92+
<GitHubLightIcon className={"mr-2 size-5"} />
93+
<span className="text-text-bright">Continue with GitHub</span>
9494
</Button>
9595
)}
9696
<LinkButton
9797
to="/login/magic"
98-
variant="tertiary/extra-large"
98+
variant="secondary/extra-large"
9999
fullWidth
100100
data-action="continue with email"
101101
className="text-text-bright"

apps/webapp/app/routes/login.magic/route.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ export default function LoginMagicLinkPage() {
175175
data-action="send a magic link"
176176
>
177177
{isLoading ? (
178-
<Spinner className="mr-2 size-5 text-background-dimmed" color="dark" />
178+
<Spinner className="mr-2 size-5" color="white" />
179179
) : (
180-
<EnvelopeIcon className="mr-2 size-5 text-background-dimmed" />
180+
<EnvelopeIcon className="mr-2 size-5 text-text-bright" />
181181
)}
182182
{isLoading ? (
183-
<span className="text-background-dimmed">Sending…</span>
183+
<span className="text-text-bright">Sending…</span>
184184
) : (
185-
<span className="text-background-dimmed">Send a magic link</span>
185+
<span className="text-text-bright">Send a magic link</span>
186186
)}
187187
</Button>
188188
{magicLinkError && <FormError>{magicLinkError}</FormError>}

0 commit comments

Comments
 (0)