From 780949cd62fb6fd48d793ea10f82c964bec389d4 Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Fri, 26 Dec 2025 20:28:24 -0600 Subject: [PATCH] fix: UX dark/light fixes. Still blue --- docs/PROMPTS.md | 7 +- frontend/src/components/Layout.tsx | 13 ++- .../onboarding/components/AddVehicleStep.tsx | 14 +-- .../onboarding/components/CompleteStep.tsx | 20 ++-- .../onboarding/components/PreferencesStep.tsx | 36 ++----- .../mobile/OnboardingMobileScreen.tsx | 16 +-- .../onboarding/pages/OnboardingPage.tsx | 18 ++-- .../vehicles/components/VehicleImage.tsx | 6 +- frontend/src/shared-minimal/theme/md3Theme.ts | 100 ++++++++++++++++++ 9 files changed, 155 insertions(+), 75 deletions(-) diff --git a/docs/PROMPTS.md b/docs/PROMPTS.md index 47e043f..535edff 100644 --- a/docs/PROMPTS.md +++ b/docs/PROMPTS.md @@ -102,10 +102,9 @@ You are a senior software engineer specializsing in NodeJS, Typescript, front en *** CONTEXT *** - This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s. - Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change. -- Currently the log is washed out when using the light theme. See image. -- We need to put a background shape or static color to make the logo visible +- Currently the onboarding drop downs are washed out when using the light theme. See image. +- The colors need to change to have more contrast but retain the MUI theme for drop down. *** CHANGES TO IMPLEMENT *** - Research this code base and ask iterative questions to compile a complete plan. -- Give options for how to put a background behind the logo -- Research if it's possible to put a rounded rectangle behind it similar to the "Settings" button. The rounded ends need to be smaller then the settings button if possible. \ No newline at end of file +- The URL is here. https://motovaultpro.com/onboarding \ No newline at end of file diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index 694fbd7..629bc26 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -52,13 +52,12 @@ export const Layout: React.FC = ({ children, mobileMode = false }) // Mobile layout if (mobileMode) { return ( -
+
= ({ children, mobileMode = false }) // Desktop layout return ( - +
{/* Sidebar */} = ({ children, mobileMode = false }) onClick={toggleSidebar} /> )} - +
); }; diff --git a/frontend/src/features/onboarding/components/AddVehicleStep.tsx b/frontend/src/features/onboarding/components/AddVehicleStep.tsx index 6581ab2..67837ae 100644 --- a/frontend/src/features/onboarding/components/AddVehicleStep.tsx +++ b/frontend/src/features/onboarding/components/AddVehicleStep.tsx @@ -34,9 +34,9 @@ export const AddVehicleStep: React.FC = ({ return (
-
+
= ({ />
-

Add Your First Vehicle

-

+

Add Your First Vehicle

+

Add a vehicle now or skip this step and add it later from your garage.

@@ -71,7 +71,7 @@ export const AddVehicleStep: React.FC = ({
-
+