Skip to content

"Dev connecting" icon update + text color fix for the purple login buttons #1835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/webapp/app/assets/icons/ConnectionIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ export function CheckingConnectionIcon({ className }: { className?: string }) {
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"
fill="#878C99"
/>
<circle cx="9" cy="11" r="1" fill="#878C99" />
<circle cx="12" cy="11" r="1" fill="#878C99" />
<circle cx="15" cy="11" r="1" fill="#878C99" />
</svg>
);
}
8 changes: 4 additions & 4 deletions apps/webapp/app/routes/login._index/route.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { EnvelopeIcon } from "@heroicons/react/20/solid";
import type { LoaderFunctionArgs, MetaFunction } from "@remix-run/node";
import { Form } from "@remix-run/react";
import { GitHubDarkIcon } from "@trigger.dev/companyicons";
import { GitHubLightIcon } from "@trigger.dev/companyicons";
import { redirect, typedjson, useTypedLoaderData } from "remix-typedjson";
import { LoginPageLayout } from "~/components/LoginPageLayout";
import { Button, LinkButton } from "~/components/primitives/Buttons";
Expand Down Expand Up @@ -89,13 +89,13 @@ export default function LoginPage() {
fullWidth
data-action="continue with github"
>
<GitHubDarkIcon className={"mr-2 size-5"} />
<span className="text-charcoal-900">Continue with GitHub</span>
<GitHubLightIcon className={"mr-2 size-5"} />
<span className="text-text-bright">Continue with GitHub</span>
</Button>
)}
<LinkButton
to="/login/magic"
variant="tertiary/extra-large"
variant="secondary/extra-large"
fullWidth
data-action="continue with email"
className="text-text-bright"
Expand Down
8 changes: 4 additions & 4 deletions apps/webapp/app/routes/login.magic/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,14 @@ export default function LoginMagicLinkPage() {
data-action="send a magic link"
>
{isLoading ? (
<Spinner className="mr-2 size-5 text-background-dimmed" color="dark" />
<Spinner className="mr-2 size-5" color="white" />
) : (
<EnvelopeIcon className="mr-2 size-5 text-background-dimmed" />
<EnvelopeIcon className="mr-2 size-5 text-text-bright" />
)}
{isLoading ? (
<span className="text-background-dimmed">Sending…</span>
<span className="text-text-bright">Sending…</span>
) : (
<span className="text-background-dimmed">Send a magic link</span>
<span className="text-text-bright">Send a magic link</span>
)}
</Button>
{magicLinkError && <FormError>{magicLinkError}</FormError>}
Expand Down