From fd10d0db6a1f147f3a911010c028bcb0b90726d6 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 23 May 2026 03:06:46 -0400 Subject: [PATCH] style: unify marketplace color system across all pages (light + dark) Apply a consistent design token set across every public page: - Page bg: stone-50 / dark:stone-950 - Cards/surfaces: white / dark:stone-900 (via .card class) - Primary text: stone-900 / dark:stone-100 - Secondary text: stone-600 / dark:stone-400 - Muted/label: stone-500 / dark:stone-500, stone-400 / dark:stone-500 - Accent kicker: amber-700 / dark:amber-400 - Image placeholder: stone-100 / dark:stone-800 - Primary button: stone-900 white / dark:white dark:stone-900 - Amber button: amber-500 white / dark:amber-400 dark:stone-900 - Status available: emerald-100 emerald-700 / dark:emerald-950/50 dark:emerald-400 - Status unavailable: rose-100 rose-700 / dark:rose-950/50 dark:rose-400 Also: remove dead medium-theme CSS overrides from globals.css, add dark:[color-scheme:dark] to date/time inputs so browser native pickers adapt, and unify amber accent to amber-400 in dark. Co-Authored-By: Claude Sonnet 4.6 --- .../(public)/explore/ExploreSearchForm.tsx | 83 ++++++------ .../(public)/explore/ExploreVehicleGrid.tsx | 24 ++-- .../src/app/(public)/explore/[slug]/page.tsx | 46 +++---- .../explore/[slug]/vehicles/[id]/page.tsx | 8 +- .../src/app/(public)/explore/page.tsx | 40 +++--- .../src/app/(public)/features/page.tsx | 18 +-- .../app/(public)/pricing/PricingClient.tsx | 46 +++---- .../(public)/pricing/PricingPageContent.tsx | 20 +-- .../src/app/(public)/review/page.tsx | 70 +++++------ apps/marketplace/src/app/globals.css | 119 ------------------ .../src/components/FooterContentPage.tsx | 20 +-- 11 files changed, 185 insertions(+), 309 deletions(-) diff --git a/apps/marketplace/src/app/(public)/explore/ExploreSearchForm.tsx b/apps/marketplace/src/app/(public)/explore/ExploreSearchForm.tsx index 4755d7f..ccd2975 100644 --- a/apps/marketplace/src/app/(public)/explore/ExploreSearchForm.tsx +++ b/apps/marketplace/src/app/(public)/explore/ExploreSearchForm.tsx @@ -23,13 +23,8 @@ function toUtcDateTime(date: string, time: string) { return `${date}T${time || '10:00'}:00.000Z` } -function inputClassName(hasLeadingIcon = true) { - return `w-full border-0 bg-white px-4 py-4 text-sm text-stone-900 outline-none placeholder:text-stone-400 ${hasLeadingIcon ? 'pl-2' : ''}` -} - -function selectClassName() { - return 'w-full border-0 bg-white py-4 text-sm text-stone-900 outline-none' -} +const inputBase = 'w-full border-0 bg-white dark:bg-stone-800 px-4 py-4 text-sm text-stone-900 dark:text-stone-100 outline-none placeholder:text-stone-400 dark:placeholder:text-stone-500' +const selectBase = 'w-full border-0 bg-white dark:bg-stone-800 py-4 text-sm text-stone-900 dark:text-stone-100 outline-none' export default function ExploreSearchForm({ pickupLocation, @@ -103,17 +98,17 @@ export default function ExploreSearchForm({ } return ( -
-

{dict.searchTitle}

+
+

{dict.searchTitle}

-
- -
-
-