diff --git a/docs/superpowers/plans/2026-04-19-ui-uniformity.md b/docs/superpowers/plans/2026-04-19-ui-uniformity.md index 6095a0a3..f43537a2 100644 --- a/docs/superpowers/plans/2026-04-19-ui-uniformity.md +++ b/docs/superpowers/plans/2026-04-19-ui-uniformity.md @@ -56,7 +56,7 @@ Mark each step `[x]` when complete. Commit the file with the step. - [x] **Step 7** — Fix: `components/IdentityCheckOverlay.tsx` text tokens - [x] **Step 8** — Fix: `components/Scanner.tsx` + `components/AIOnboarding.tsx` - [x] **Step 9** — Fix: `components/admin/` (all 5 files) -- [ ] **Step 10** — Fix: Modals (`CreateUserModal`, `ConfirmationModal`, `CategoryCreationModal`, `ItemComparisonModal`) +- [x] **Step 10** — Fix: Modals (`CreateUserModal`, `ConfirmationModal`, `CategoryCreationModal`, `ItemComparisonModal`) - [ ] **Step 11** — Fix: `lib/` and remaining components - [ ] **Step 12** — Final build verification + visual smoke check diff --git a/frontend/components/CategoryCreationModal.tsx b/frontend/components/CategoryCreationModal.tsx index a1c6f47b..26757cd7 100644 --- a/frontend/components/CategoryCreationModal.tsx +++ b/frontend/components/CategoryCreationModal.tsx @@ -62,7 +62,7 @@ export default function CategoryCreationModal({ diff --git a/frontend/components/ConfirmationModal.tsx b/frontend/components/ConfirmationModal.tsx index 45a5e6db..9d9e88b7 100644 --- a/frontend/components/ConfirmationModal.tsx +++ b/frontend/components/ConfirmationModal.tsx @@ -67,7 +67,7 @@ export default function ConfirmationModal({ diff --git a/frontend/components/CreateUserModal.tsx b/frontend/components/CreateUserModal.tsx index db4671d6..95fbc044 100644 --- a/frontend/components/CreateUserModal.tsx +++ b/frontend/components/CreateUserModal.tsx @@ -77,7 +77,7 @@ export default function CreateUserModal({ show, onClose, onUserCreated }: Create

Create User

diff --git a/frontend/components/ItemComparisonModal.tsx b/frontend/components/ItemComparisonModal.tsx index 57fb622e..d1e38200 100644 --- a/frontend/components/ItemComparisonModal.tsx +++ b/frontend/components/ItemComparisonModal.tsx @@ -72,7 +72,7 @@ export default function ItemComparisonModal({ different ? 'bg-amber-500/10 border border-amber-500/20' : 'bg-slate-800/30' }`} > -
{field.label}
+
{field.label}
{existing}
@@ -86,7 +86,7 @@ export default function ItemComparisonModal({ {!hasChanges && (
-

✓ Items are identical. No update needed.

+

✓ Items are identical. No update needed.

)} @@ -96,7 +96,7 @@ export default function ItemComparisonModal({ onClick={onSkip} disabled={loading} aria-label="Skip this item comparison" - className="flex-1 flex items-center justify-center gap-2 py-4 bg-slate-800 hover:bg-slate-700 text-slate-200 rounded-2xl text-sm font-black cursor-pointer transition-all active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed border border-slate-700 focus:ring-2 focus:ring-blue-500 focus:outline-none" + className="flex-1 flex items-center justify-center gap-2 py-4 bg-slate-800 hover:bg-slate-700 text-secondary rounded-2xl text-sm font-black cursor-pointer transition-all active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed border border-slate-700 focus:ring-2 focus:ring-blue-500 focus:outline-none" > Skip diff --git a/frontend/components/LogsOverlay.tsx b/frontend/components/LogsOverlay.tsx index 5698a082..ee26497f 100644 --- a/frontend/components/LogsOverlay.tsx +++ b/frontend/components/LogsOverlay.tsx @@ -48,7 +48,7 @@ export default function LogsOverlay({ show, onClose, logs, inventory }: LogsOver {log.username || 'System'}
- + {inventory.find(i => i.id === log.target_item_id)?.name || `Item #${log.target_item_id}`}