| name | semantic-color-system |
| description | Use when designing alert, error, success, warning, and info states. Semantic colors are NOT brand colors.
|
Semantic Color System
Brand colors stay brand. Semantic colors (success green, warning amber, error red, info blue) come from separate set. Don't pollute brand with semantic.
Semantic color set
Universal semantic palette:
- Success green: #10803a (use for: confirmation, completion)
- Warning amber: #c47a0a (use for: caution, attention)
- Error red: #c8170d (use for: failure, deletion)
- Info blue: #2563cd (use for: tooltip, neutral notice)
These are universal — don't override with brand accent.
Where semantic colors appear
- Toast notifications (success green for save)
- Form validation errors (error red)
- Confirmation modals (warning amber for destructive)
- Info banners (info blue)
- Status indicators (any of the above)
NEVER use brand accent for these — confuses brand language with system feedback.
Accessibility check
All semantic colors must have 4.5:1 contrast against background. Test against cream AND ink backgrounds (light + dark mode). Adjust shade if needed.
Where this fits in the X3 empire
Used in CardPrepAI alerts, toasts, form validation.