# devraphalima/escalaio architecture

> Architecture diagram of the GitHub repository devraphalima/escalaio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/devraphalima/escalaio
- Repository: https://github.com/devraphalima/escalaio

## Overview

The repository appears to be an Expo Router starter app rather than a documented business product: its visible workflow is navigating sample tabs and a modal, which render themed text and starter help content. The graph covers the inspected routes and shared UI/theme modules; the README does not describe additional product capabilities, and no backend or domain-specific workflow is evidenced.

Main entry points: [`components/Themed.tsx`](https://github.com/devraphalima/escalaio/blob/main/components/Themed.tsx) (Themed primitives), [`app/(tabs)/_layout.tsx`](https://github.com/devraphalima/escalaio/blob/main/app/(tabs)/_layout.tsx) (Tab layout), [`components/EditScreenInfo.tsx`](https://github.com/devraphalima/escalaio/blob/main/components/EditScreenInfo.tsx) (Starter help), [`app/_layout.tsx`](https://github.com/devraphalima/escalaio/blob/main/app/_layout.tsx) (Root layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App navigation"]
  node_root["Root layout<br/>[_layout.tsx]"]
  node_tabs_layout["Tab layout<br/>[_layout.tsx]"]
end

subgraph group_screens["Sample screens"]
  node_tab_one["Tab one<br/>[index.tsx]"]
  node_tab_two["Tab two<br/>[two.tsx]"]
  node_modal["Modal screen<br/>[modal.tsx]"]
  node_not_found["Not-found screen<br/>[+not-found.tsx]"]
  node_html["HTML document<br/>[+html.tsx]"]
end

subgraph group_shared["Shared UI and theme"]
  node_edit_info["Starter help<br/>[EditScreenInfo.tsx]"]
  node_external_link["External link<br/>[ExternalLink.tsx]"]
  node_styled_text["Monospace text<br/>[StyledText.tsx]"]
  node_themed["Themed primitives<br/>[Themed.tsx]"]
  node_colors["Theme colors<br/>[Colors.ts]"]
  node_color_hook["Color scheme hook<br/>[useColorScheme.ts]"]
  node_color_web["Web color hook"]
  node_client_value["Client-only value"]
  node_client_value_web["Web client value"]
end

node_user(("App user"))

node_user -.->|"opens app"| node_root
node_root -->|"mounts tabs"| node_tabs_layout
node_root -->|"mounts modal"| node_modal
node_tabs_layout -->|"registers tab"| node_tab_one
node_tabs_layout -->|"registers tab"| node_tab_two
node_tabs_layout -->|"links modal"| node_modal
node_root -->|"reads scheme"| node_color_hook
node_tabs_layout -->|"reads scheme"| node_color_hook
node_tabs_layout -->|"reads palette"| node_colors
node_tabs_layout -->|"reads value"| node_client_value
node_tab_one -->|"renders help"| node_edit_info
node_tab_one -->|"renders primitives"| node_themed
node_tab_two -->|"renders help"| node_edit_info
node_tab_two -->|"renders primitives"| node_themed
node_modal -->|"renders help"| node_edit_info
node_modal -->|"renders primitives"| node_themed
node_not_found -->|"uses primitives"| node_themed
node_edit_info -->|"renders link"| node_external_link
node_edit_info -->|"renders filename"| node_styled_text
node_edit_info -->|"renders primitives"| node_themed
node_edit_info -->|"reads tint"| node_colors
node_styled_text -->|"wraps text"| node_themed
node_themed -->|"reads scheme"| node_color_hook
node_themed -->|"reads palette"| node_colors

click node_root "https://github.com/devraphalima/escalaio/blob/main/app/_layout.tsx"
click node_tabs_layout "https://github.com/devraphalima/escalaio/blob/main/app/(tabs)/_layout.tsx"
click node_tab_one "https://github.com/devraphalima/escalaio/blob/main/app/(tabs)/index.tsx"
click node_tab_two "https://github.com/devraphalima/escalaio/blob/main/app/(tabs)/two.tsx"
click node_modal "https://github.com/devraphalima/escalaio/blob/main/app/modal.tsx"
click node_not_found "https://github.com/devraphalima/escalaio/blob/main/app/%2Bnot-found.tsx"
click node_html "https://github.com/devraphalima/escalaio/blob/main/app/%2Bhtml.tsx"
click node_edit_info "https://github.com/devraphalima/escalaio/blob/main/components/EditScreenInfo.tsx"
click node_external_link "https://github.com/devraphalima/escalaio/blob/main/components/ExternalLink.tsx"
click node_styled_text "https://github.com/devraphalima/escalaio/blob/main/components/StyledText.tsx"
click node_themed "https://github.com/devraphalima/escalaio/blob/main/components/Themed.tsx"
click node_colors "https://github.com/devraphalima/escalaio/blob/main/constants/Colors.ts"
click node_color_hook "https://github.com/devraphalima/escalaio/blob/main/components/useColorScheme.ts"
click node_color_web "https://github.com/devraphalima/escalaio/blob/main/components/useColorScheme.web.ts"
click node_client_value "https://github.com/devraphalima/escalaio/blob/main/components/useClientOnlyValue.ts"
click node_client_value_web "https://github.com/devraphalima/escalaio/blob/main/components/useClientOnlyValue.web.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_root,node_tabs_layout,node_user toneBlue
class node_tab_one,node_tab_two,node_modal,node_not_found,node_html toneAmber
class node_edit_info,node_external_link,node_styled_text,node_themed,node_colors,node_color_hook,node_color_web,node_client_value,node_client_value_web toneMint
```

## Components

### App navigation

- [Root layout](https://github.com/devraphalima/escalaio/blob/main/app/_layout.tsx): `app/_layout.tsx`
- [Tab layout](https://github.com/devraphalima/escalaio/blob/main/app/(tabs)/_layout.tsx): `app/(tabs)/_layout.tsx`

### Sample screens

- [Tab one](https://github.com/devraphalima/escalaio/blob/main/app/(tabs)/index.tsx): `app/(tabs)/index.tsx`
- [Tab two](https://github.com/devraphalima/escalaio/blob/main/app/(tabs)/two.tsx): `app/(tabs)/two.tsx`
- [Modal screen](https://github.com/devraphalima/escalaio/blob/main/app/modal.tsx): `app/modal.tsx`
- [Not-found screen](https://github.com/devraphalima/escalaio/blob/main/app/%2Bnot-found.tsx): `app/+not-found.tsx`
- [HTML document](https://github.com/devraphalima/escalaio/blob/main/app/%2Bhtml.tsx): `app/+html.tsx`

### Shared UI and theme

- [Starter help](https://github.com/devraphalima/escalaio/blob/main/components/EditScreenInfo.tsx): `components/EditScreenInfo.tsx`
- [External link](https://github.com/devraphalima/escalaio/blob/main/components/ExternalLink.tsx): `components/ExternalLink.tsx`
- [Monospace text](https://github.com/devraphalima/escalaio/blob/main/components/StyledText.tsx): `components/StyledText.tsx`
- [Themed primitives](https://github.com/devraphalima/escalaio/blob/main/components/Themed.tsx): `components/Themed.tsx`
- [Theme colors](https://github.com/devraphalima/escalaio/blob/main/constants/Colors.ts): `constants/Colors.ts`
- [Color scheme hook](https://github.com/devraphalima/escalaio/blob/main/components/useColorScheme.ts): `components/useColorScheme.ts`
- [Web color hook](https://github.com/devraphalima/escalaio/blob/main/components/useColorScheme.web.ts): `components/useColorScheme.web.ts`
- [Client-only value](https://github.com/devraphalima/escalaio/blob/main/components/useClientOnlyValue.ts): `components/useClientOnlyValue.ts`
- [Web client value](https://github.com/devraphalima/escalaio/blob/main/components/useClientOnlyValue.web.ts): `components/useClientOnlyValue.web.ts`

### Other components

- **App user**

## Connections

- App user → Root layout: opens app
- Root layout → Tab layout: mounts tabs (evidence: `app/_layout.tsx`)
- Root layout → Modal screen: mounts modal (evidence: `app/_layout.tsx`)
- Tab layout → Tab one: registers tab (evidence: `app/(tabs)/_layout.tsx`)
- Tab layout → Tab two: registers tab (evidence: `app/(tabs)/_layout.tsx`)
- Tab layout → Modal screen: links modal (evidence: `app/(tabs)/_layout.tsx`)
- Root layout → Color scheme hook: reads scheme (evidence: `app/_layout.tsx`)
- Tab layout → Color scheme hook: reads scheme (evidence: `app/(tabs)/_layout.tsx`)
- Tab layout → Theme colors: reads palette (evidence: `app/(tabs)/_layout.tsx`)
- Tab layout → Client-only value: reads value (evidence: `app/(tabs)/_layout.tsx`)
- Tab one → Starter help: renders help (evidence: `app/(tabs)/index.tsx`)
- Tab one → Themed primitives: renders primitives (evidence: `app/(tabs)/index.tsx`)
- Tab two → Starter help: renders help (evidence: `app/(tabs)/two.tsx`)
- Tab two → Themed primitives: renders primitives (evidence: `app/(tabs)/two.tsx`)
- Modal screen → Starter help: renders help (evidence: `app/modal.tsx`)
- Modal screen → Themed primitives: renders primitives (evidence: `app/modal.tsx`)
- Not-found screen → Themed primitives: uses primitives (evidence: `app/+not-found.tsx`)
- Starter help → External link: renders link (evidence: `components/EditScreenInfo.tsx`)
- Starter help → Monospace text: renders filename (evidence: `components/EditScreenInfo.tsx`)
- Starter help → Themed primitives: renders primitives (evidence: `components/EditScreenInfo.tsx`)
- Starter help → Theme colors: reads tint (evidence: `components/EditScreenInfo.tsx`)
- Monospace text → Themed primitives: wraps text (evidence: `components/StyledText.tsx`)
- Themed primitives → Color scheme hook: reads scheme (evidence: `components/Themed.tsx`)
- Themed primitives → Theme colors: reads palette (evidence: `components/Themed.tsx`)
