style: step 5 - uniform text tokens in admin and logs pages

This commit is contained in:
2026-04-19 11:57:36 +03:00
parent fa27817f7c
commit b5d4c5678c
2 changed files with 4 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ Mark each step `[x]` when complete. Commit the file with the step.
- [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)
- [x] **Step 4** — Fix: `app/inventory/page.tsx` text tokens
- [ ] **Step 5** — Fix: `app/admin/page.tsx` + `app/logs/page.tsx` text tokens
- [x] **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
- [ ] **Step 8** — Fix: `components/Scanner.tsx` + `components/AIOnboarding.tsx`

View File

@@ -190,7 +190,7 @@ export default function LogsPage() {
<Search size={32} />
</div>
<div>
<p className="text-xl font-black text-slate-300 tracking-tight">No events found</p>
<p className="text-xl font-black text-secondary tracking-tight">No events found</p>
<p className="text-xs text-secondary font-bold mt-1">Refine your strategic filters</p>
</div>
</div>
@@ -268,7 +268,7 @@ export default function LogsPage() {
<div className="grid grid-cols-2 gap-4">
<div className="space-y-1 bg-background/50 p-4 rounded-2xl border border-slate-800/50">
<p className="text-[11px] font-bold text-muted tracking-widest">Protocol Operator</p>
<p className="text-sm font-black text-slate-200">{selectedLog.username || 'Automated Process'}</p>
<p className="text-sm font-black text-secondary">{selectedLog.username || 'Automated Process'}</p>
</div>
<div className="space-y-1 bg-background/50 p-4 rounded-2xl border border-slate-800/50">
<p className="text-[11px] font-bold text-muted tracking-widest">Quantity Delta</p>
@@ -306,7 +306,7 @@ export default function LogsPage() {
(val && key !== 'image_url' && key !== 'id') ? (
<div key={key} className="bg-background/20 p-3 rounded-xl border border-slate-800/20">
<p className="text-[10px] font-bold text-muted mb-1 tracking-tight opacity-70">{key.replace('_', ' ')}</p>
<p className="text-xs font-bold text-slate-300 truncate" title={String(val)}>{String(val)}</p>
<p className="text-xs font-bold text-secondary truncate" title={String(val)}>{String(val)}</p>
</div>
) : null
))}