How cannic2/daily-dhikr works
Daily Dhikr is an Expo/React Native app for remembrance: users browse categorized adhkar or select a dhikr, tap the tasbeeh counter, and retain counter totals between sessions. Root and tab layouts provide navigation; settings and system-aware light/dark theming are additional app capabilities. The map reflects sampled screen behavior and documented storage/theme capabilities; settings behavior beyond its screen and some navigation wiring was not sampled.
Main entry points: (tabs)/_layout.tsx Tab navigation · index.tsx Tasbeeh counter · use-theme-color.ts Theme color hook · app/_layout.tsx Root layout
Components 17
App screens
- Tasbeeh counter
app/(tabs)/index.tsx - Adhkar browser
app/(tabs)/adhkar.tsx - Settings screen
app/(tabs)/settings.tsx
Dhikr content
- Dhikr catalog
constants/dhikr-data.ts
Navigation and presentation
- Root layout
app/_layout.tsx - Tab navigation
app/(tabs)/_layout.tsx - Theme tokens
constants/theme.ts - System color scheme
hooks/use-color-scheme.ts - Theme color hook
hooks/use-theme-color.ts - Themed text
components/themed-text.tsx - Themed view
components/themed-view.tsx - Parallax view
components/parallax-scroll-view.tsx - Collapsible UI
components/ui/collapsible.tsx - Icon mapping
components/ui/icon-symbol.tsx - Haptic tab button
components/haptic-tab.tsx
Device services
- Local persistent storage
Other components
- App user
Connections 24
- App user → Root layout: opens app
README.md - Root layout → Tab navigation: routes to
app/_layout.tsx - Tab navigation → Tasbeeh counter: routes to
- Tab navigation → Adhkar browser: routes to
- Tab navigation → Settings screen: routes to
- App user → Tasbeeh counter: taps counter
app/(tabs)/index.tsx - Tasbeeh counter → Dhikr catalog: filters dhikr
app/(tabs)/index.tsx - Adhkar browser → Dhikr catalog: filters entries
app/(tabs)/adhkar.tsx - Tasbeeh counter → Local persistent storage: reads and writes
app/(tabs)/index.tsx - Tasbeeh counter → System color scheme: reads scheme
app/(tabs)/index.tsx - Adhkar browser → System color scheme: reads scheme
app/(tabs)/adhkar.tsx - Root layout → System color scheme: reads scheme
app/_layout.tsx - Root layout → Theme tokens: uses palette
app/_layout.tsx - System color scheme → Theme color hook: provides scheme
hooks/use-theme-color.ts - Theme color hook → Theme tokens: selects colors
hooks/use-theme-color.ts - Themed text → Theme color hook: gets text color
components/themed-text.tsx - Themed view → Theme color hook: gets background
components/themed-view.tsx - Parallax view → Themed view: renders content
components/parallax-scroll-view.tsx - Parallax view → Theme color hook: gets background
components/parallax-scroll-view.tsx - Collapsible UI → Themed text: renders title
components/ui/collapsible.tsx - Collapsible UI → Themed view: renders panels
components/ui/collapsible.tsx - Collapsible UI → Icon mapping: renders icon
components/ui/collapsible.tsx - Tab navigation → Haptic tab button: uses tab button
app/(tabs)/_layout.tsx - Tab navigation → Icon mapping: uses icons
app/(tabs)/_layout.tsx