Skip to content

Commit 7116acc

Browse files
authored
style: auth pages theming (#942)
1 parent ae26b17 commit 7116acc

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

apps/app/components/auth-screens/not-authorized-view.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,22 @@ export const NotAuthorizedView: React.FC<Props> = ({ actionButton, type }) => {
3636
alt="ProjectSettingImg"
3737
/>
3838
</div>
39-
<h1 className="text-xl font-medium text-brand-base">
40-
Oops! You are not authorized to view this page
41-
</h1>
39+
<h1 className="text-xl font-medium">Oops! You are not authorized to view this page</h1>
4240

43-
<div className="w-full text-base text-brand-secondary max-w-md ">
41+
<div className="w-full max-w-md text-base text-brand-secondary">
4442
{user ? (
4543
<p>
4644
You have signed in as {user.email}. <br />
4745
<Link href={`/signin?next=${currentPath}`}>
48-
<a className="text-brand-base font-medium">Sign in</a>
46+
<a className="font-medium text-brand-base">Sign in</a>
4947
</Link>{" "}
5048
with different account that has access to this page.
5149
</p>
5250
) : (
5351
<p>
5452
You need to{" "}
5553
<Link href={`/signin?next=${currentPath}`}>
56-
<a className="text-brand-base font-medium">Sign in</a>
54+
<a className="font-medium text-brand-base">Sign in</a>
5755
</Link>{" "}
5856
with an account that has access to this page.
5957
</p>

apps/app/components/auth-screens/project/join-project.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ export const JoinProject: React.FC = () => {
4545
<div className="h-44 w-72">
4646
<Image src={JoinProjectImg} height="176" width="288" alt="JoinProject" />
4747
</div>
48-
<h1 className="text-xl font-medium text-gray-900">You are not a member of this project</h1>
48+
<h1 className="text-xl font-medium">You are not a member of this project</h1>
4949

50-
<div className="w-full max-w-md text-base text-gray-500 ">
50+
<div className="w-full max-w-md text-base text-brand-secondary">
5151
<p className="mx-auto w-full text-sm md:w-3/4">
5252
You are not a member of this project, but you can join this project by clicking the button
5353
below.

apps/app/components/auth-screens/workspace/not-a-member.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ export const NotAWorkspaceMember = () => {
2020
<div className="space-y-8 text-center">
2121
<div className="space-y-2">
2222
<h3 className="text-lg font-semibold">Not Authorized!</h3>
23-
<p className="text-sm text-gray-500 w-1/2 mx-auto">
23+
<p className="mx-auto w-1/2 text-sm text-brand-secondary">
2424
You{"'"}re not a member of this workspace. Please contact the workspace admin to get
2525
an invitation or check your pending invitations.
2626
</p>
2727
</div>
28-
<div className="flex items-center gap-2 justify-center">
28+
<div className="flex items-center justify-center gap-2">
2929
<Link href="/invitations">
3030
<a>
3131
<SecondaryButton>Check pending invites</SecondaryButton>

0 commit comments

Comments
 (0)