# mrdlingters/okinami_yasb architecture

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

- Interactive diagram: https://gitdiagram.com/mrdlingters/okinami_yasb
- Repository: https://github.com/mrdlingters/okinami_yasb

## Overview

Okinami is a YASB desktop-bar theme: users choose a color scheme in a stylesheet and YASB presents the configured bar. The repository provides a standard configuration/style pair and a separate ThemeSwitcher_Version pair. The README also documents wallpaper-path configuration and an optional UI theme-switching tool, but the available files contain no excerpts, so implementation details and specific widget flows cannot be established.

Main entry points: [`Okinami/ThemeSwitcher_Version/styles.css`](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/ThemeSwitcher_Version/styles.css) (Switcher styles), [`Okinami/styles.css`](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/styles.css) (Color styles), [`Okinami/config.yaml`](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/config.yaml) (Bar config), [`Okinami/ThemeSwitcher_Version/config.yaml`](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/ThemeSwitcher_Version/config.yaml) (Switcher config)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_bar["Bar configuration"]
  node_base_config["Bar config<br/>[config.yaml]"]
  node_switch_config["Switcher config<br/>[config.yaml]"]
end

subgraph group_themes["Theme styles"]
  node_base_styles["Color styles<br/>[styles.css]"]
  node_switch_styles["Switcher styles<br/>[styles.css]"]
end

node_user(("Bar user"))
node_yasb["YASB runtime"]
node_switcher["Theme switcher"]

node_user -->|"chooses palette"| node_base_styles
node_user -->|"chooses palette"| node_switch_styles
node_base_config -.->|"configures bar"| node_yasb
node_base_styles -.->|"styles bar"| node_yasb
node_switch_config -.->|"configures bar"| node_yasb
node_switch_styles -.->|"styles bar"| node_yasb
node_switcher -.->|"switches theme"| node_switch_styles

click node_base_config "https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/config.yaml"
click node_switch_config "https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/ThemeSwitcher_Version/config.yaml"
click node_base_styles "https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/styles.css"
click node_switch_styles "https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/ThemeSwitcher_Version/styles.css"

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_base_config,node_switch_config,node_user toneBlue
class node_base_styles,node_switch_styles toneAmber
class node_yasb,node_switcher toneIndigo
```

## Components

### Bar configuration

- [Bar config](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/config.yaml): `Okinami/config.yaml`
- [Switcher config](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/ThemeSwitcher_Version/config.yaml): `Okinami/ThemeSwitcher_Version/config.yaml`

### Theme styles

- [Color styles](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/styles.css): `Okinami/styles.css`
- [Switcher styles](https://github.com/mrdlingters/okinami_yasb/blob/main/Okinami/ThemeSwitcher_Version/styles.css): `Okinami/ThemeSwitcher_Version/styles.css`

### Other components

- **Bar user**
- **YASB runtime**
- **Theme switcher**

## Connections

- Bar user → Color styles: chooses palette (evidence: `README.md`)
- Bar user → Switcher styles: chooses palette (evidence: `README.md`)
- Bar config → YASB runtime: configures bar
- Color styles → YASB runtime: styles bar
- Switcher config → YASB runtime: configures bar
- Switcher styles → YASB runtime: styles bar
- Theme switcher → Switcher styles: switches theme
