🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(web): unify card surface across sign-in, sign-up and onboarding (#18259)
Der Gerätffea2421fb83
diff --git a/web/src/features/auth-credentials/components/ResetPasswordPage.tsx b/web/src/features/auth-credentials/components/ResetPasswordPage.tsxindex 40d1cd9b3c..0f3b954d0c 100644--- a/web/src/features/auth-credentials/components/ResetPasswordPage.tsx+++ b/web/src/features/auth-credentials/components/ResetPasswordPage.tsx@@ -198,7 +198,7 @@ export function ResetPasswordPage({)}</div>- <div className="bg-background mt-10 px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-12">+ <div className="bg-card mt-10 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:px-12"><div className="space-y-6"><Form {...form}><formdiff --git a/web/src/features/auth/EnterpriseSsoRequiredPage.tsx b/web/src/features/auth/EnterpriseSsoRequiredPage.tsxindex fa96491a50..b56fbd0a8d 100644--- a/web/src/features/auth/EnterpriseSsoRequiredPage.tsx+++ b/web/src/features/auth/EnterpriseSsoRequiredPage.tsx@@ -161,7 +161,7 @@ export default function EnterpriseSsoRequiredPage() {</p></div>- <div className="border-border bg-card mt-10 rounded-lg border px-6 py-8 shadow-sm sm:mx-auto sm:w-full sm:max-w-md">+ <div className="bg-card mt-10 rounded-lg px-6 py-8 shadow-sm sm:mx-auto sm:w-full sm:max-w-md"><Form {...form}><form className="space-y-6" onSubmit={form.handleSubmit(onSubmit)}><FormFielddiff --git a/web/src/features/auth/HfSpacesPage.tsx b/web/src/features/auth/HfSpacesPage.tsxindex 9a1913c61c..5d32945bd2 100644--- a/web/src/features/auth/HfSpacesPage.tsx+++ b/web/src/features/auth/HfSpacesPage.tsx@@ -38,7 +38,7 @@ export default function HfSpacesPage({ deploymentDomain }: PageProps) {</h2></div>- <div className="bg-background mt-14 px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-10">+ <div className="bg-card mt-14 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:px-10"><div className="space-y-8"><CodeView content={deploymentDomain} title="HF Space Host" />diff --git a/web/src/features/auth/SignInPage.tsx b/web/src/features/auth/SignInPage.tsxindex 6beedcbb53..4ab4b02e3b 100644--- a/web/src/features/auth/SignInPage.tsx+++ b/web/src/features/auth/SignInPage.tsx@@ -833,7 +833,7 @@ export default function SignInPage({</div>{isLangfuseCloud && (- <div className="bg-card mt-4 -mb-4 rounded-lg p-3 text-center text-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-6">+ <div className="bg-card mt-4 -mb-4 rounded-lg p-3 text-center text-sm shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:px-6">If you are experiencing issues signing in, please force refresh thispage (CMD + SHIFT + R) or clear your browser cache.{" "}<a@@ -847,7 +847,7 @@ export default function SignInPage({{isLangfuseCloud && <CloudRegionSwitch />}- <div className="bg-background mt-14 px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-10">+ <div className="bg-card mt-14 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:px-10"><div className="space-y-6">{/* Email / (optional) password form – only when credentials auth is enabled */}{authProviders.credentials && (diff --git a/web/src/features/auth/SignUpPage.tsx b/web/src/features/auth/SignUpPage.tsxindex f70b1e0341..d1c523aa6d 100644--- a/web/src/features/auth/SignUpPage.tsx+++ b/web/src/features/auth/SignUpPage.tsx@@ -491,7 +491,7 @@ function SignupPageShell({ children }: { children: React.ReactNode }) {{isLangfuseCloud && <CloudRegionSwitch isSignUpPage />}- <div className="bg-background mt-14 px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-10">+ <div className="bg-card mt-14 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:px-10">{children}</div>{env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== undefined && (diff --git a/web/src/features/auth/components/CloudRegionPicker.tsx b/web/src/features/auth/components/CloudRegionPicker.tsxindex eeda611b16..8ed0811be0 100644--- a/web/src/features/auth/components/CloudRegionPicker.tsx+++ b/web/src/features/auth/components/CloudRegionPicker.tsx@@ -28,7 +28,7 @@ export function CloudRegionPicker({isSignUpPage?: boolean;}) {return (- <div className="bg-card mt-8 -mb-10 rounded-lg px-6 py-6 text-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:rounded-lg sm:px-10">+ <div className="bg-card mt-8 -mb-10 rounded-lg px-6 py-6 text-sm shadow-sm sm:mx-auto sm:w-full sm:max-w-[480px] sm:px-10"><div className="flex w-full flex-col gap-2"><div><span className="text-sm leading-none font-bold">diff --git a/web/src/features/onboarding/components/OnboardingSurvey.tsx b/web/src/features/onboarding/components/OnboardingSurvey.tsxindex 555c54ef44..90157fe7d0 100644--- a/web/src/features/onboarding/components/OnboardingSurvey.tsx+++ b/web/src/features/onboarding/components/OnboardingSurvey.tsx@@ -38,7 +38,7 @@ export function OnboardingSurvey(props: OnboardingSurveyProps) {<LangfuseIcon size={32} /></div>- <div className="bg-background mt-6 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-12">+ <div className="bg-card mt-6 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-12"><div className="flex flex-col items-center text-center"><Spinner size="xl" variant="muted" /><h1 className="mt-6 text-xl font-bold">Setting up your project</h1>@@ -61,7 +61,7 @@ export function OnboardingSurvey(props: OnboardingSurveyProps) {<LangfuseIcon size={32} /></div>- <div className="bg-background mt-6 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-12">+ <div className="bg-card mt-6 rounded-lg px-6 py-10 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-12"><div className="flex flex-col items-center text-center"><h1 className="text-xl font-bold">Failed to load onboarding</h1><p className="text-muted-foreground mt-2 text-sm">@@ -85,7 +85,7 @@ export function OnboardingSurvey(props: OnboardingSurveyProps) {<LangfuseIcon size={32} /></div>- <div className="bg-background mt-6 rounded-lg px-6 py-6 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-10">+ <div className="bg-card mt-6 rounded-lg px-6 py-6 shadow-sm sm:mx-auto sm:mt-16 sm:w-full sm:max-w-[480px] sm:px-12 sm:py-10"><Form {...form}><form className="flex h-full flex-col" onSubmit={submitForm}><div className="flex-1">