Fix CaseraIconView to use theme color instead of hardcoded orange

- Add backgroundColor parameter to CaseraIconView and PulsingIconView
- Update ResidenceCard to pass Color.appPrimary for themed icon background
- Icon now matches the app's current theme like PropertyHeaderCard

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2025-12-13 01:11:56 -06:00
parent 311a30ed2d
commit 3140c75815
2 changed files with 34 additions and 19 deletions

View File

@@ -15,11 +15,11 @@ struct ResidenceCard: View {
HStack(spacing: AppSpacing.sm) {
VStack {
if hasOverdueTasks {
PulsingIconView()
PulsingIconView(backgroundColor: Color.appPrimary)
.frame(width: 44, height: 44)
.padding([.trailing], AppSpacing.md)
} else {
CaseraIconView()
CaseraIconView(backgroundColor: Color.appPrimary)
.frame(width: 44, height: 44)
.padding([.trailing], AppSpacing.md)
}