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

View File

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