fix(ui): eliminate remaining blue — shift info token to warm teal

- --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) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-21 13:08:50 -05:00
parent 8ca00b0301
commit 357258d1c7
2 changed files with 4 additions and 4 deletions

View File

@@ -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'
}