refactor: migrate dashboard components to Design System v4

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michael Chihlas
2026-03-22 02:00:35 -04:00
parent 56ff792f8e
commit 96a4130c0e
18 changed files with 116 additions and 116 deletions

View File

@@ -28,7 +28,7 @@ export function PendingEscalations() {
return (
<div
className="glass-card-static overflow-hidden"
className="card-flat overflow-hidden"
style={{ borderColor: 'rgba(251, 191, 36, 0.2)' }}
>
<div
@@ -37,7 +37,7 @@ export function PendingEscalations() {
>
<div className="flex items-center gap-2">
<AlertTriangle size={14} className="text-amber-400" />
<h3 className="font-heading text-sm font-bold text-foreground">
<h3 className="font-heading text-sm font-bold text-[#e2e5eb]">
Pending Escalations
<span className="ml-2 inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-amber-400/10 px-1.5 text-[0.625rem] font-bold text-amber-400">
{escalations.length}
@@ -46,7 +46,7 @@ export function PendingEscalations() {
</div>
<Link
to="/escalations"
className="text-[0.6875rem] text-muted-foreground hover:text-foreground transition-colors"
className="text-[0.6875rem] text-[#848b9b] hover:text-[#e2e5eb] transition-colors"
>
View all
</Link>
@@ -64,13 +64,13 @@ export function PendingEscalations() {
>
<span className="h-2 w-2 shrink-0 rounded-full bg-amber-400 animate-pulse" />
<div className="flex-1 min-w-0">
<div className="text-sm text-foreground truncate">
<div className="text-sm text-[#e2e5eb] truncate">
{esc.problem_summary || 'Escalated session'}
</div>
<div className="text-[0.6875rem] text-muted-foreground">
<div className="text-[0.6875rem] text-[#848b9b]">
{esc.problem_domain || 'General'}
<span className="mx-1.5 text-[var(--text-dimmed)]">&middot;</span>
<span className="font-label text-[0.625rem]">{timeAgo(esc.created_at)}</span>
<span className="font-sans text-xs">{timeAgo(esc.created_at)}</span>
</div>
</div>
<button