Skip to content

Commit f3efdad

Browse files
authored
"Dev connecting" icon update + text color fix for the purple login buttons (#1835)
* Updates the large login buttons to the new purple style * Updates the dev checking connection icon to include 3 dots on the screen * Fixes svg property names
1 parent 182f5bc commit f3efdad

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

apps/webapp/app/assets/icons/ConnectionIcons.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ export function CheckingConnectionIcon({ className }: { className?: string }) {
6565
d="M18 6.5L6.00001 6.5C5.72387 6.5 5.50001 6.72386 5.50001 7L5.50001 15C5.50001 15.2761 5.72387 15.5 6.00001 15.5L18 15.5C18.2762 15.5 18.5 15.2761 18.5 15V7C18.5 6.72386 18.2762 6.5 18 6.5ZM6.00001 5C4.89545 5 4.00001 5.89543 4.00001 7L4.00001 15C4.00001 16.1046 4.89545 17 6.00001 17L18 17C19.1046 17 20 16.1046 20 15V7C20 5.89543 19.1046 5 18 5L6.00001 5Z"
6666
fill="#878C99"
6767
/>
68+
<circle cx="9" cy="11" r="1" fill="#878C99" />
69+
<circle cx="12" cy="11" r="1" fill="#878C99" />
70+
<circle cx="15" cy="11" r="1" fill="#878C99" />
6871
</svg>
6972
);
7073
}

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)