feat: enforce custom Theme colors app-wide, add debug sample trips and poll

Replace all system colors (.secondary, Color(.secondarySystemBackground),
etc.) with Theme.textPrimary/textSecondary/textMuted/cardBackground/
surfaceGlow across 13 views. Remove PostHog debug logging. Add debug
settings for sample trips and hardcoded group poll preview.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-02-13 08:54:19 -06:00
parent ff6f4b6c2c
commit 1c97f35754
16 changed files with 580 additions and 73 deletions

View File

@@ -137,7 +137,7 @@ struct AddItemSheet: View {
// Search field
HStack {
Image(systemName: "magnifyingglass")
.foregroundStyle(.secondary)
.foregroundStyle(Theme.textMuted(colorScheme))
.accessibilityHidden(true)
TextField("Search for a place...", text: $searchQuery)
.textFieldStyle(.plain)
@@ -155,14 +155,14 @@ struct AddItemSheet: View {
selectedPlace = nil
} label: {
Image(systemName: "xmark.circle.fill")
.foregroundStyle(.secondary)
.foregroundStyle(Theme.textMuted(colorScheme))
}
.minimumHitTarget()
.accessibilityLabel("Clear search")
}
}
.padding(10)
.background(Color(.systemGray6))
.background(Theme.cardBackgroundElevated(colorScheme))
.cornerRadius(10)
// Search results
@@ -181,7 +181,7 @@ struct AddItemSheet: View {
}
}
.frame(maxHeight: 300)
.background(Color(.systemBackground))
.background(Theme.cardBackground(colorScheme))
.cornerRadius(10)
} else if !searchQuery.isEmpty && !isSearching {
Text("No results found")