Skip to content

Commit 958c6a7

Browse files
committed
added font
1 parent f17b80b commit 958c6a7

2 files changed

Lines changed: 19 additions & 16 deletions

File tree

client/src/pages/login.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ export default function Login() {
7373

7474
<div className="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
7575
<form onSubmit={handleSubmit} className="space-y-6">
76-
<label className="block text-sm/6 font-medium text-gray-100">
77-
Username
78-
</label>
7976
<div className="mt-2">
77+
<label className="block text-sm/6 font-medium text-gray-100">
78+
Username
79+
</label>
8080
<input
8181
id="username"
8282
type="text"
@@ -87,10 +87,10 @@ export default function Login() {
8787
/>
8888
</div>
8989

90-
<label className="block text-sm/6 font-medium text-gray-100">
91-
Email
92-
</label>
9390
<div className="mt-2">
91+
<label className="block text-sm/6 font-medium text-gray-100">
92+
Email
93+
</label>
9494
<input
9595
id="email"
9696
type="email"
@@ -102,17 +102,17 @@ export default function Login() {
102102
</div>
103103

104104
<div>
105-
<div className="flex items-center justify-between">
106-
<label className="block text-sm/6 font-medium text-gray-100">
107-
Password
108-
</label>
109-
<div className="text-sm">
110-
<a className="font-semibold text-indigo-400 hover:text-indigo-300">
111-
Forgot password?
112-
</a>
113-
</div>
114-
</div>
115105
<div className="mt-2">
106+
<div className="flex items-center justify-between">
107+
<label className="block text-sm/6 font-medium text-gray-100">
108+
Password
109+
</label>
110+
<div className="text-sm">
111+
<a className="font-semibold text-indigo-400 hover:text-indigo-300">
112+
Forgot password?
113+
</a>
114+
</div>
115+
</div>
116116
<input
117117
id="password"
118118
type="password"

client/src/styles/globals.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
@layer base {
88
:root {
9+
10+
@apply font-inter;
911
--background: 0 0% 100%;
1012
--foreground: 222.2 84% 4.9%;
1113

@@ -91,6 +93,7 @@
9193

9294
@layer base {
9395
body {
96+
@apply font-inter;
9497
@apply bg-background text-foreground;
9598
}
9699
}

0 commit comments

Comments
 (0)