Problem
In LearnerProfile.tsx (lines 15-20), TIER_COLORS maps 'Gold' and 'Bronze' both to 'amber', and 'Silver' to 'muted'. Different tiers should have visually distinct colors.
User impact: The tier badges for Gold and Bronze learners look identical, defeating the purpose of visual tier differentiation.
Root Cause
Color mapping was typed incorrectly during initial development.
What To Build
- Fix TIER_COLORS to use distinct colors:
- Gold → amber/yellow
- Silver → gray/slate
- Bronze → orange/copper
- Starter → blue
- Verify against colors.ts constants
Files To Touch
src/pages/LearnerProfile.tsx — lines 15-20 fix color mapping
Acceptance Criteria
Mandatory Checks
Problem
In LearnerProfile.tsx (lines 15-20),
TIER_COLORSmaps'Gold'and'Bronze'both to'amber', and'Silver'to'muted'. Different tiers should have visually distinct colors.User impact: The tier badges for Gold and Bronze learners look identical, defeating the purpose of visual tier differentiation.
Root Cause
Color mapping was typed incorrectly during initial development.
What To Build
Files To Touch
src/pages/LearnerProfile.tsx— lines 15-20 fix color mappingAcceptance Criteria
Mandatory Checks