-
+
Sign in to your account
-
+
RBAC Authentication System
@@ -58,7 +58,12 @@ export function Login({ onLoginSuccess }: LoginProps) {
type="email"
autoComplete="email"
required
- className="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm"
+ className="appearance-none rounded-none relative block w-full px-3 py-2
+ border border-gray-300 dark:border-gray-700
+ bg-white dark:bg-gray-800
+ placeholder-gray-500 dark:placeholder-gray-400
+ text-gray-900 dark:text-gray-100
+ rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm"
placeholder="Email address"
value={email}
onChange={(e) => setEmail(e.target.value)}
diff --git a/management-dashboard-web-app/src/index.css b/management-dashboard-web-app/src/index.css
index 8169f40..fee4611 100755
--- a/management-dashboard-web-app/src/index.css
+++ b/management-dashboard-web-app/src/index.css
@@ -1,4 +1,4 @@
-@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
+@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap") layer(base);
@import "tailwindcss";
@@ -179,7 +179,7 @@
::before,
::backdrop,
::file-selector-button {
- border-color: var(--color-gray-200);
+ border-color: var(--color-gray-200, currentColor);
}
button:not(:disabled),
@@ -188,7 +188,7 @@
}
body {
- @apply relative font-normal font-outfit z-1 bg-gray-50 dark:bg-gray-900 dark:text-gray-300;
+ @apply relative font-normal font-outfit z-1 bg-gray-50 dark:bg-gray-900;
}
}