# obitheway/cloak-of-night architecture

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

- Interactive diagram: https://gitdiagram.com/obitheway/cloak-of-night
- Repository: https://github.com/obitheway/cloak-of-night

## Overview

Cloak of Night is a static Omarchy desktop theme, not an application with an in-repository runtime. Users install and apply it through Omarchy; the palette drives generated desktop colors, while included files provide wallpapers, shell styles, and optional editor/window/icon customizations. The README documents these relationships, but no source excerpts were supplied, so links among optional extras are limited to those explicitly described.

Main entry points: [`gtk-icons`](https://github.com/obitheway/cloak-of-night/tree/master/gtk-icons) (GTK folder icons), [`extras/10-cloak-of-night-folders`](https://github.com/obitheway/cloak-of-night/blob/master/extras/10-cloak-of-night-folders) (Folder theme hook), [`extras/vim/colors/omarchy.vim`](https://github.com/obitheway/cloak-of-night/blob/master/extras/vim/colors/omarchy.vim) (Vim colorscheme), [`colors.toml`](https://github.com/obitheway/cloak-of-night/blob/master/colors.toml) (Color palette)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_theme["Theme configuration"]
  node_palette["Color palette<br/>[colors.toml]"]
  node_shell["Shell styles"]
  node_hyprland["Window effects<br/>[hyprland.lua]"]
  node_keyboard["Keyboard lighting<br/>[keyboard.rgb]"]
end

subgraph group_visuals["Visual assets"]
  node_wallpapers["Wallpapers"]
  node_gtk["GTK folder icons"]
end

subgraph group_extras["Optional extras"]
  node_neovim["Neovim palette<br/>[neovim.lua]"]
  node_folderhook["Folder theme hook"]
  node_vim["Vim colorscheme<br/>[omarchy.vim]"]
end

node_user(("Theme user"))
node_omarchy["Omarchy theme system"]
node_gnome["GNOME icon settings"]

node_user -->|"applies theme"| node_omarchy
node_omarchy -->|"generates colors"| node_palette
node_omarchy -->|"applies styles"| node_shell
node_omarchy -->|"cycles backgrounds"| node_wallpapers
node_user -->|"installs config"| node_hyprland
node_user -->|"installs override"| node_neovim
node_user -->|"applies theme"| node_keyboard
node_user -->|"links icon theme"| node_gtk
node_user -->|"installs hook"| node_folderhook
node_folderhook -->|"reapplies icons"| node_gtk
node_user -->|"sets icon theme"| node_gnome
node_gnome -->|"selects icons"| node_gtk
node_user -->|"installs colorscheme"| node_vim
node_vim -->|"reads active palette"| node_palette

click node_palette "https://github.com/obitheway/cloak-of-night/blob/master/colors.toml"
click node_shell "https://github.com/obitheway/cloak-of-night/blob/master/shell.launcher.toml"
click node_hyprland "https://github.com/obitheway/cloak-of-night/blob/master/hyprland.lua"
click node_keyboard "https://github.com/obitheway/cloak-of-night/blob/master/keyboard.rgb"
click node_wallpapers "https://github.com/obitheway/cloak-of-night/tree/master/backgrounds"
click node_gtk "https://github.com/obitheway/cloak-of-night/tree/master/gtk-icons"
click node_neovim "https://github.com/obitheway/cloak-of-night/blob/master/neovim.lua"
click node_folderhook "https://github.com/obitheway/cloak-of-night/blob/master/extras/10-cloak-of-night-folders"
click node_vim "https://github.com/obitheway/cloak-of-night/blob/master/extras/vim/colors/omarchy.vim"

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_palette,node_shell,node_hyprland,node_keyboard,node_user toneBlue
class node_wallpapers,node_gtk toneAmber
class node_neovim,node_folderhook,node_vim toneMint
class node_omarchy,node_gnome toneIndigo
```

## Components

### Theme configuration

- [Color palette](https://github.com/obitheway/cloak-of-night/blob/master/colors.toml): `colors.toml`
- [Shell styles](https://github.com/obitheway/cloak-of-night/blob/master/shell.launcher.toml): `shell.launcher.toml`
- [Window effects](https://github.com/obitheway/cloak-of-night/blob/master/hyprland.lua): `hyprland.lua`
- [Keyboard lighting](https://github.com/obitheway/cloak-of-night/blob/master/keyboard.rgb): `keyboard.rgb`

### Visual assets

- [Wallpapers](https://github.com/obitheway/cloak-of-night/tree/master/backgrounds): `backgrounds`
- [GTK folder icons](https://github.com/obitheway/cloak-of-night/tree/master/gtk-icons): `gtk-icons`

### Optional extras

- [Neovim palette](https://github.com/obitheway/cloak-of-night/blob/master/neovim.lua): `neovim.lua`
- [Folder theme hook](https://github.com/obitheway/cloak-of-night/blob/master/extras/10-cloak-of-night-folders): `extras/10-cloak-of-night-folders`
- [Vim colorscheme](https://github.com/obitheway/cloak-of-night/blob/master/extras/vim/colors/omarchy.vim): `extras/vim/colors/omarchy.vim`

### Other components

- **Theme user**
- **Omarchy theme system**
- **GNOME icon settings**

## Connections

- Theme user → Omarchy theme system: applies theme (evidence: `README.md`)
- Omarchy theme system → Color palette: generates colors (evidence: `README.md`)
- Omarchy theme system → Shell styles: applies styles (evidence: `README.md`)
- Omarchy theme system → Wallpapers: cycles backgrounds (evidence: `README.md`)
- Theme user → Window effects: installs config (evidence: `README.md`)
- Theme user → Neovim palette: installs override (evidence: `README.md`)
- Theme user → Keyboard lighting: applies theme (evidence: `README.md`)
- Theme user → GTK folder icons: links icon theme (evidence: `README.md`)
- Theme user → Folder theme hook: installs hook (evidence: `README.md`)
- Folder theme hook → GTK folder icons: reapplies icons (evidence: `README.md`)
- Theme user → GNOME icon settings: sets icon theme (evidence: `README.md`)
- GNOME icon settings → GTK folder icons: selects icons (evidence: `README.md`)
- Theme user → Vim colorscheme: installs colorscheme (evidence: `README.md`)
- Vim colorscheme → Color palette: reads active palette (evidence: `README.md`)
