complete story 13.1

This commit is contained in:
Naser Mansour
2026-01-04 22:34:05 +02:00
parent 37d9276a2c
commit b5ef8f9d28
3 changed files with 181 additions and 12 deletions
@@ -76,15 +76,15 @@
## Dev Checklist
- [ ] Update Arabic link light variant classes
- [ ] Update English link light variant classes
- [ ] Update separator light variant class
- [ ] Verify dark variant unchanged
- [ ] Test on login page
- [ ] Test on forgot-password page
- [ ] Test RTL (Arabic) layout
- [ ] Test LTR (English) layout
- [ ] Verify contrast ratios
- [x] Update Arabic link light variant classes
- [x] Update English link light variant classes
- [x] Update separator light variant class
- [x] Verify dark variant unchanged
- [x] Test on login page
- [x] Test on forgot-password page
- [x] Test RTL (Arabic) layout
- [x] Test LTR (English) layout
- [x] Verify contrast ratios
## Estimation
@@ -94,3 +94,35 @@
## Dependencies
- Epic 12 completed (brand colors defined)
---
## Dev Agent Record
### Status
Ready for Review
### Agent Model Used
Claude Opus 4.5
### File List
| File | Action |
|------|--------|
| `resources/views/components/language-toggle.blade.php` | Modified |
| `tests/Feature/Components/LanguageToggleTest.php` | Created |
### Change Log
- Updated light variant inactive text from `text-body/70` to `text-primary`
- Updated light variant hover text from `hover:text-body` to `hover:text-cta-hover`
- Updated light variant hover background from `hover:bg-active-hover` to `hover:bg-primary/10`
- Updated light variant separator from `text-body/30` to `text-primary/50`
- Dark variant styling preserved unchanged
- Active state styling preserved unchanged
- Created comprehensive test suite (12 tests, 30 assertions)
### Completion Notes
- All acceptance criteria implemented
- Light variant now uses Dark Forest Green (#2D3624) for inactive text - meets WCAG AA contrast on Warm Cream (#F4F1EA)
- Hover states use Darker Gold (#8A7555) for better visual feedback
- Separator visibility improved with 50% opacity primary color
- Dark variant and active states remain unchanged as specified