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%;