style: step 11 - uniform text tokens in remaining components
This commit is contained in:
@@ -57,7 +57,7 @@ Mark each step `[x]` when complete. Commit the file with the step.
|
|||||||
- [x] **Step 8** — Fix: `components/Scanner.tsx` + `components/AIOnboarding.tsx`
|
- [x] **Step 8** — Fix: `components/Scanner.tsx` + `components/AIOnboarding.tsx`
|
||||||
- [x] **Step 9** — Fix: `components/admin/` (all 5 files)
|
- [x] **Step 9** — Fix: `components/admin/` (all 5 files)
|
||||||
- [x] **Step 10** — Fix: Modals (`CreateUserModal`, `ConfirmationModal`, `CategoryCreationModal`, `ItemComparisonModal`)
|
- [x] **Step 10** — Fix: Modals (`CreateUserModal`, `ConfirmationModal`, `CategoryCreationModal`, `ItemComparisonModal`)
|
||||||
- [ ] **Step 11** — Fix: `lib/` and remaining components
|
- [x] **Step 11** — Fix: `lib/` and remaining components
|
||||||
- [ ] **Step 12** — Final build verification + visual smoke check
|
- [ ] **Step 12** — Final build verification + visual smoke check
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export default function RootLayout({
|
|||||||
<meta name="format-detection" content="telephone=no" />
|
<meta name="format-detection" content="telephone=no" />
|
||||||
<meta name="mobile-web-app-capable" content="yes" />
|
<meta name="mobile-web-app-capable" content="yes" />
|
||||||
</head>
|
</head>
|
||||||
<body className="antialiased bg-background text-slate-100">
|
<body className="antialiased bg-background text-foreground">
|
||||||
{children}
|
{children}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ export default function AIOnboarding({ onCancel, onComplete, categories, invento
|
|||||||
<textarea
|
<textarea
|
||||||
value={extractedItems[editingIndex].OCR || extractedItems[editingIndex].ocr_text || ''}
|
value={extractedItems[editingIndex].OCR || extractedItems[editingIndex].ocr_text || ''}
|
||||||
onChange={(e) => updateEditingItem({ OCR: e.target.value })}
|
onChange={(e) => updateEditingItem({ OCR: e.target.value })}
|
||||||
className="bg-transparent w-full text-sm font-bold leading-tight outline-none resize-none h-10 text-slate-200 py-0 scrollbar-hide"
|
className="bg-transparent w-full text-sm font-bold leading-tight outline-none resize-none h-10 text-secondary py-0 scrollbar-hide"
|
||||||
placeholder="Heuristic string for local matching..."
|
placeholder="Heuristic string for local matching..."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default function PageShell({ children, requireAdmin = false }: PageShellP
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-background text-slate-100 flex flex-col">
|
<div className="min-h-screen bg-background text-foreground flex flex-col">
|
||||||
<Toaster position="top-center" />
|
<Toaster position="top-center" />
|
||||||
|
|
||||||
{/* Content Area */}
|
{/* Content Area */}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export default function StatCard({ label, value, icon: Icon }: StatCardProps) {
|
|||||||
<div className="flex justify-between items-center gap-2 p-3.5 bg-surface/70 border border-slate-800/50 rounded-2xl shadow-sm transition-all hover:bg-surface" role="status">
|
<div className="flex justify-between items-center gap-2 p-3.5 bg-surface/70 border border-slate-800/50 rounded-2xl shadow-sm transition-all hover:bg-surface" role="status">
|
||||||
<div className="flex items-center gap-2.5 min-w-0">
|
<div className="flex items-center gap-2.5 min-w-0">
|
||||||
{Icon && <Icon className="w-5 h-5 text-primary flex-shrink-0" aria-hidden="true" />}
|
{Icon && <Icon className="w-5 h-5 text-primary flex-shrink-0" aria-hidden="true" />}
|
||||||
<span className="text-base md:text-lg text-slate-300 font-semibold truncate">
|
<span className="text-base md:text-lg text-secondary font-semibold truncate">
|
||||||
{label}
|
{label}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user