Define visual and animation policy

This commit is contained in:
2025-12-24 12:54:00 -05:00
committed by GitHub
parent c96d52d6ef
commit 514f50128a

31
ui/INVARIANTS.md Normal file
View File

@@ -0,0 +1,31 @@
Visual intent:
- Modern
- Confident
- Technical
- High-signal
Animation principles:
- Animation communicates state or priority
- Animation is purposeful, not decorative
- Motion is fast and subtle
Allowed animation:
- Severity change (escalation/de-escalation)
- New finding arrival
- Hover affordances
- Panel expand/collapse
- Workflow transitions
Restricted animation:
- No looping animations
- No animation that blocks interaction
- No animation longer than 300ms
- No animation on critical-path actions
Graphics:
- Data-driven visuals encouraged
- Motion may reinforce severity or confidence
- Visual emphasis must align with severity
Rule:
Flash is allowed when it clarifies meaning.