Skip to content

Commit

Permalink
login styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pantheredeye committed Dec 13, 2024
1 parent d51bfe5 commit ad9b20e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions web/src/pages/LoginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const LoginPage = () => {
</h2>
</div>
<div className="mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]">
<div className="bg-white px-6 py-12 shadow sm:rounded-lg sm:px-12">
<div className="mx-auto max-w-7xl rounded-xl bg-gray-800 p-2 sm:p-8 shadow-2xl">
<Form
onSubmit={onSubmit}
className="space-y-6"
Expand All @@ -71,7 +71,7 @@ const LoginPage = () => {
<div>
<Label
name="email"
className="block text-sm font-medium leading-6 text-gray-900"
className="block text-sm font-medium text-gray-200"
errorClassName="block text-sm font-medium leading-6 text-red-600"
>
Email address
Expand All @@ -82,7 +82,7 @@ const LoginPage = () => {
ref={emailRef}
autoComplete="email"
required
className="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
className="block w-full rounded-xl border border-gray-700 bg-gray-800 py-1.5 text-gray-200 placeholder-gray-500 focus:border-indigo-500 focus:ring-indigo-500"
errorClassName="block w-full rounded-md border-0 py-1.5 text-red-600 shadow-sm ring-1 ring-inset ring-red-300 placeholder:text-red-400 focus:ring-2 focus:ring-inset focus:ring-red-600 sm:text-sm sm:leading-6"
validation={{
required: {
Expand All @@ -100,7 +100,7 @@ const LoginPage = () => {
<div>
<Label
name="password"
className="block text-sm font-medium leading-6 text-gray-900"
className="block text-sm font-medium text-gray-200"
errorClassName="block text-sm font-medium leading-6 text-red-600"
>
Password
Expand All @@ -110,7 +110,7 @@ const LoginPage = () => {
name="password"
autoComplete="current-password"
required
className="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
className="block w-full rounded-xl border border-gray-700 bg-gray-800 py-1.5 text-gray-200 placeholder-gray-500 focus:border-indigo-500 focus:ring-indigo-500"
errorClassName="block w-full rounded-md border-0 py-1.5 text-red-600 shadow-sm ring-1 ring-inset ring-red-300 placeholder:text-red-400 focus:ring-2 focus:ring-inset focus:ring-red-600 sm:text-sm sm:leading-6"
validation={{
required: {
Expand All @@ -131,11 +131,11 @@ const LoginPage = () => {
id="remember-me"
name="remember-me"
type="checkbox"
className="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"
className="block w-full rounded-xl border border-gray-700 bg-gray-800 py-1.5 text-gray-200 placeholder-gray-500 focus:border-indigo-500 focus:ring-indigo-500"
/>
<label
htmlFor="remember-me"
className="ml-3 block text-sm leading-6 text-gray-900"
className="block text-sm font-medium text-gray-200"
>
Remember me
</label>
Expand Down

0 comments on commit ad9b20e

Please sign in to comment.