# northonh/actionintent architecture

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

- Interactive diagram: https://gitdiagram.com/northonh/actionintent
- Repository: https://github.com/northonh/actionintent

## Overview

ActionIntent is a small Android Jetpack Compose app that displays a greeting and, when present, the launch intent action. The workflow begins when Android launches the activity; it passes the intent action into the Compose screen, which renders the result within the app theme. Theme configuration is the only meaningful internal layer shown. The excerpts do not include the manifest, so intent filters and external launch sources are not established.

Main entry points: [`app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Theme.kt`](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Theme.kt) (ActionIntentTheme), [`app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt`](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt) (MainActivity), [`app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Color.kt`](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Color.kt) (Color schemes), [`app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Type.kt`](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Type.kt) (Typography)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Android app"]
  node_activity["MainActivity<br/>[MainActivity.kt]"]
end

subgraph group_presentation["Compose presentation"]
  node_screen["MainScreen<br/>[MainActivity.kt]"]
end

subgraph group_theme["Theme styling"]
  node_theme["ActionIntentTheme<br/>[Theme.kt]"]
  node_colors["Color schemes<br/>[Color.kt]"]
  node_typography["Typography<br/>[Type.kt]"]
end

node_android(("Android system"))

node_android -->|"launches"| node_activity
node_activity -->|"passes action"| node_screen
node_activity -->|"wraps content"| node_theme
node_theme -->|"styles"| node_screen
node_theme -->|"uses schemes"| node_colors
node_theme -->|"uses typography"| node_typography

click node_activity "https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt"
click node_screen "https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt"
click node_theme "https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Theme.kt"
click node_colors "https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Color.kt"
click node_typography "https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Type.kt"

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_activity toneBlue
class node_screen toneAmber
class node_theme,node_colors,node_typography toneMint
class node_android toneIndigo
```

## Components

### Android app

- [MainActivity](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt): `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt`

### Compose presentation

- [MainScreen](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt): `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt`

### Theme styling

- [ActionIntentTheme](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Theme.kt): `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Theme.kt`
- [Color schemes](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Color.kt): `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Color.kt`
- [Typography](https://github.com/northonh/actionintent/blob/master/app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Type.kt): `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Type.kt`

### Other components

- **Android system**

## Connections

- Android system → MainActivity: launches
- MainActivity → MainScreen: passes action (evidence: `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt`)
- MainActivity → ActionIntentTheme: wraps content (evidence: `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt`)
- ActionIntentTheme → MainScreen: styles (evidence: `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/MainActivity.kt`)
- ActionIntentTheme → Color schemes: uses schemes (evidence: `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Theme.kt`)
- ActionIntentTheme → Typography: uses typography (evidence: `app/src/main/java/br/edu/ifsp/scl/prdm/sc090578/actionintent/ui/theme/Theme.kt`)
