diff --git a/docs/superpowers/plans/2026-04-19-ui-uniformity.md b/docs/superpowers/plans/2026-04-19-ui-uniformity.md index eb1e5666..c4c0545d 100644 --- a/docs/superpowers/plans/2026-04-19-ui-uniformity.md +++ b/docs/superpowers/plans/2026-04-19-ui-uniformity.md @@ -50,7 +50,7 @@ Mark each step `[x]` when complete. Commit the file with the step. - [x] **Step 1** — Audit & document all violations (no code changes) - [x] **Step 2** — Fix: `app/login/page.tsx` text tokens (no violations found — already clean) - [x] **Step 3** — Fix: `app/page.tsx` text tokens (scanner/main page) -- [ ] **Step 4** — Fix: `app/inventory/page.tsx` text tokens +- [x] **Step 4** — Fix: `app/inventory/page.tsx` text tokens - [ ] **Step 5** — Fix: `app/admin/page.tsx` + `app/logs/page.tsx` text tokens - [ ] **Step 6** — Fix: `components/AdminOverlay.tsx` text tokens - [ ] **Step 7** — Fix: `components/IdentityCheckOverlay.tsx` text tokens diff --git a/frontend/app/inventory/page.tsx b/frontend/app/inventory/page.tsx index b4f3ce5c..c38a3eed 100644 --- a/frontend/app/inventory/page.tsx +++ b/frontend/app/inventory/page.tsx @@ -391,7 +391,7 @@ export default function InventoryPage() {

{isEditing ? "Edit Item" : selectedItem.name} {!isEditing && ( - + In Stock: {selectedItem.quantity} )} @@ -437,16 +437,16 @@ export default function InventoryPage() { type="text" value={editedItem.name || ''} onChange={e => setEditedItem({...editedItem, name: e.target.value})} - className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-secondary placeholder:text-muted" />
- setEditedItem({...editedItem, part_number: e.target.value})} - className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-secondary placeholder:text-muted" />
@@ -457,7 +457,7 @@ export default function InventoryPage() { list="existing-categories" value={editedItem.category || ''} onChange={e => setEditedItem({ ...editedItem, category: e.target.value })} - className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-secondary placeholder:text-muted" placeholder="e.g. storage" /> @@ -473,7 +473,7 @@ export default function InventoryPage() { list="existing-types" value={editedItem.type || ''} onChange={e => setEditedItem({...editedItem, type: e.target.value})} - className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-secondary" />
@@ -482,7 +482,7 @@ export default function InventoryPage() { type="text" value={editedItem.connector || ''} onChange={e => setEditedItem({...editedItem, connector: e.target.value})} - className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-secondary" placeholder="e.g. LC/UPC" />
@@ -492,7 +492,7 @@ export default function InventoryPage() { type="text" value={editedItem.size || ''} onChange={e => setEditedItem({...editedItem, size: e.target.value})} - className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-secondary" placeholder="e.g. 1.6TB" /> @@ -502,7 +502,7 @@ export default function InventoryPage() { type="text" value={editedItem.color || ''} onChange={e => setEditedItem({...editedItem, color: e.target.value})} - className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-slate-100" + className="w-full bg-background border border-slate-800 rounded-xl py-3 px-4 text-sm font-bold outline-none text-secondary" placeholder="e.g. Blue" /> @@ -514,7 +514,7 @@ export default function InventoryPage() { list="existing-boxes" value={editedItem.box_label || ''} onChange={e => setEditedItem({...editedItem, box_label: e.target.value})} - className="w-full bg-background border border-slate-800 rounded-xl py-3 pl-4 pr-12 text-sm font-bold outline-none text-slate-100 placeholder:text-slate-700 focus:border-primary transition-colors" + className="w-full bg-background border border-slate-800 rounded-xl py-3 pl-4 pr-12 text-sm font-bold outline-none text-secondary placeholder:text-muted focus:border-primary transition-colors" placeholder="e.g. Box 5" />