From 61fd5313a20b15accd8ccb8fd63111beb9d15bf6 Mon Sep 17 00:00:00 2001 From: Daniel Bedeleanu Date: Sat, 18 Apr 2026 14:11:56 +0000 Subject: [PATCH] refactor: remove decorative gradients per distill principles - Scanner: Replace gradient scan line with solid primary color (keeps animation, removes glow) - AIOnboarding: Replace gradient overlay with solid semi-transparent black - IdentityCheckOverlay: Remove purely decorative 'accent light' gradient Aligns with design principle: no decoration without function. Industrial aesthetic demands honest materials and intentional visual treatments. --- frontend/components/AIOnboarding.tsx | 2 +- frontend/components/IdentityCheckOverlay.tsx | 2 -- frontend/components/Scanner.tsx | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/components/AIOnboarding.tsx b/frontend/components/AIOnboarding.tsx index 099e2348..41a7ee0a 100644 --- a/frontend/components/AIOnboarding.tsx +++ b/frontend/components/AIOnboarding.tsx @@ -360,7 +360,7 @@ export default function AIOnboarding({ onCancel, onComplete, categories, invento
Captured label -
+
{uploading && (
diff --git a/frontend/components/IdentityCheckOverlay.tsx b/frontend/components/IdentityCheckOverlay.tsx index 124f3b65..f3fe2e5e 100644 --- a/frontend/components/IdentityCheckOverlay.tsx +++ b/frontend/components/IdentityCheckOverlay.tsx @@ -62,8 +62,6 @@ const IdentityCheckOverlay = memo(({ show, users, onAuthenticated }: IdentityChe return (
- {/* Subtle accent light */} -
diff --git a/frontend/components/Scanner.tsx b/frontend/components/Scanner.tsx index 103cb1e4..93d6e204 100644 --- a/frontend/components/Scanner.tsx +++ b/frontend/components/Scanner.tsx @@ -225,7 +225,7 @@ export default function Scanner({ onScanSuccess, onOCRMatch, paused }: ScannerPr
{isStarted && !paused && !isSelecting && ( -
+
)}