Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Improve auth styling

Tomas Valenta41ce420508ed
diff --git a/apps/docs/src/components/AuthForm.tsx b/apps/docs/src/components/AuthForm.tsx
index 54efee448..b6f480c08 100644
--- a/apps/docs/src/components/AuthForm.tsx
+++ b/apps/docs/src/components/AuthForm.tsx
@@ -58,6 +58,7 @@ function AuthForm() {
extend: true,
className: {
button: 'auth-button',
+ divider: 'auth-divider',
},
}}
localization={{
@@ -79,7 +80,7 @@ function AuthForm() {
redirectTo={redirectTo}
/>
</div>
- <div className="flex flex-1 flex-col space-x-2">
+ <div className="flex flex-1 flex-col pt-4">
{view === 'sign_up' &&
<div className="flex items-center justify-start gap-2">
<span className="text-zinc-400">Already have an account?</span>
diff --git a/apps/docs/src/styles/tailwind.css b/apps/docs/src/styles/tailwind.css
index 877e8d952..598d6137f 100644
--- a/apps/docs/src/styles/tailwind.css
+++ b/apps/docs/src/styles/tailwind.css
@@ -53,7 +53,11 @@
}
div button.supabase-auth-ui_ui-button.auth-button {
- @apply rounded-full;
+ @apply rounded-full bg-zinc-800 border-zinc-700 hover:border-zinc-500 transition hover:bg-zinc-800 text-sm text-zinc-100;
+ }
+
+ .supabase-auth-ui_ui-divider.auth-divider {
+ @apply border-zinc-900/5;
}
#auth-sign-up button,
@@ -67,15 +71,14 @@
#auth-forgot-password label,
#auth-sign-up label,
#auth-sign-in label {
- @apply text-sm font-medium text-zinc-500;
+ @apply text-sm font-medium text-zinc-500 transition;
}
#auth-forgot-password input,
#auth-sign-up input,
#auth-sign-in input {
- @apply rounded-full bg-zinc-800 text-zinc-100 border-zinc-700 hover:border-zinc-600;
- /* @apply bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-brand-400/10 dark:text-brand-400 dark:ring-1 dark:ring-inset dark:ring-brand-400/20 dark:hover:bg-brand-400/10 dark:hover:text-brand-300 dark:hover:ring-brand-300; */
+ @apply rounded-full bg-zinc-900 text-zinc-200 border-zinc-700 hover:border-zinc-500 transition text-sm;
}
}