From 357258d1c790e5f6fd85429b3d2570cd0428abea Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Sat, 21 Mar 2026 13:08:50 -0500 Subject: [PATCH] =?UTF-8?q?fix(ui):=20eliminate=20remaining=20blue=20?= =?UTF-8?q?=E2=80=94=20shift=20info=20token=20to=20warm=20teal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - --info light: 217 91% 50% (blue) → 180 20% 40% (desaturated warm teal) - --info dark: 217 60% 60% (blue) → 180 20% 50% (warm teal) - Audit log: device_ actions use accent instead of info, firmware uses warning instead of raw purple - Fixes 40+ references to text-info/bg-info across the codebase without touching each file — token shift handles them all Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/audit/AuditLogTable.tsx | 4 ++-- frontend/src/index.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/audit/AuditLogTable.tsx b/frontend/src/components/audit/AuditLogTable.tsx index 223b214..f9b893e 100644 --- a/frontend/src/components/audit/AuditLogTable.tsx +++ b/frontend/src/components/audit/AuditLogTable.tsx @@ -77,10 +77,10 @@ function formatRelativeTime(iso: string): string { /** Maps action string to a styled badge color. */ function actionBadgeClasses(action: string): string { if (action.startsWith('config_')) return 'bg-accent/10 text-accent border-accent/20' - if (action.startsWith('device_')) return 'bg-info/10 text-info border-info/20' + if (action.startsWith('device_')) return 'bg-accent/10 text-accent border-accent/20' if (action.startsWith('alert_')) return 'bg-warning/10 text-warning border-warning/20' if (action === 'login' || action === 'logout') return 'bg-success/10 text-success border-success/20' - if (action.startsWith('firmware')) return 'bg-purple-500/10 text-purple-400 border-purple-500/20' + if (action.startsWith('firmware')) return 'bg-warning/10 text-warning border-warning/20' if (action.startsWith('bulk_')) return 'bg-error/10 text-error border-error/20' return 'bg-elevated text-text-secondary border-border' } diff --git a/frontend/src/index.css b/frontend/src/index.css index f5a0cb9..52ce6f2 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -50,7 +50,7 @@ --success: 140 35% 35%; /* #3a7a4a */ --warning: 43 66% 36%; /* #9a7a20 */ --error: 11 48% 44%; /* #a85040 */ - --info: 217 91% 50%; + --info: 180 20% 40%; /* #528080 — desaturated warm teal */ --online: 140 35% 35%; --offline: 11 48% 44%; @@ -110,7 +110,7 @@ --success: 133 22% 45%; /* #5a8a62 */ --warning: 38 54% 50%; /* #c49a3a */ --error: 8 42% 53%; /* #c06050 */ - --info: 217 60% 60%; + --info: 180 20% 50%; /* #668f8f — desaturated warm teal */ --online: 133 22% 45%; --offline: 8 42% 53%;