From 8015a7835769e22df02e90a93fc9ddacd1ae9fe9 Mon Sep 17 00:00:00 2001 From: Sean S Date: Mon, 30 Jun 2025 20:53:05 -0400 Subject: [PATCH] Complete DaisyUI removal - Replace remaining btn classes with standard Tailwind - Replace text-primary with text-blue-600 - Replace focus:ring-primary with focus:ring-blue-500 - Replace bg-primary-100 with bg-blue-100 - Update all form inputs and buttons - Clean up all DaisyUI dependencies --- src/app/(main)/account/login/page.tsx | 6 +++--- src/app/(main)/build/page.tsx | 8 ++++---- src/app/(main)/parts/page.tsx | 26 ++++++++++++------------- src/app/(main)/products/[slug]/page.tsx | 10 +++++----- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/app/(main)/account/login/page.tsx b/src/app/(main)/account/login/page.tsx index 26e3275..1370f52 100644 --- a/src/app/(main)/account/login/page.tsx +++ b/src/app/(main)/account/login/page.tsx @@ -75,7 +75,7 @@ export default function LoginPage() { required value={email} onChange={e => setEmail(e.target.value)} - className="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-zinc-700 placeholder-gray-500 dark:placeholder-zinc-400 text-gray-900 dark:text-white bg-white dark:bg-zinc-800 rounded-t-md focus:outline-none focus:ring-primary-500 focus:border-primary-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-zinc-700 placeholder-gray-500 dark:placeholder-zinc-400 text-gray-900 dark:text-white bg-white dark:bg-zinc-800 rounded-t-md focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm" placeholder="Email address" disabled={loading} /> @@ -92,7 +92,7 @@ export default function LoginPage() { required value={password} onChange={e => setPassword(e.target.value)} - className="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 dark:border-zinc-700 placeholder-gray-500 dark:placeholder-zinc-400 text-gray-900 dark:text-white bg-white dark:bg-zinc-800 rounded-b-md focus:outline-none focus:ring-primary-500 focus:border-primary-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-zinc-700 placeholder-gray-500 dark:placeholder-zinc-400 text-gray-900 dark:text-white bg-white dark:bg-zinc-800 rounded-b-md focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm" placeholder="Password" disabled={loading} /> @@ -151,7 +151,7 @@ export default function LoginPage() { - @@ -278,7 +278,7 @@ export default function ProductDetailsPage() {
-
+
${offer.price.toFixed(2)}
{offer.inStock !== undefined && ( @@ -291,7 +291,7 @@ export default function ProductDetailsPage() { href={offer.url} target="_blank" rel="noopener noreferrer" - className="btn btn-primary" + className="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded-md transition-colors" > View Deal