# dev-macb/macb-vscode-theme architecture

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

- Interactive diagram: https://gitdiagram.com/dev-macb/macb-vscode-theme
- Repository: https://github.com/dev-macb/macb-vscode-theme

## Overview

MacB is a small Visual Studio Code color-theme extension, not an application with a runtime service layer. The user installs the extension and selects a contributed theme in VS Code; its manifest maps theme labels to JSON theme files. The README also calls out normal and italic text variants. Source excerpts show the manifest mappings, but the theme JSON contents were not provided, so their internal color rules are not described.

Main entry points: [`package.json`](https://github.com/dev-macb/macb-vscode-theme/blob/main/package.json) (Theme contributions), [`themes/macb-claro.json`](https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-claro.json) (MacB Claro), [`themes/macb-escuro.json`](https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-escuro.json) (MacB Escuro)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("VS Code user"))
node_vscode["VS Code"]
node_manifest["Theme contributions<br/>[package.json]"]
node_light["MacB Claro<br/>[macb-claro.json]"]
node_dark["MacB Escuro<br/>[macb-escuro.json]"]
node_bw["Preto/Branco entry<br/>[macb-escuro.json]"]

node_user -->|"selects theme"| node_vscode
node_vscode -->|"reads contributions"| node_manifest
node_manifest -->|"maps Claro"| node_light
node_manifest -->|"maps Escuro"| node_dark
node_manifest -->|"maps Preto/Branco"| node_bw

click node_manifest "https://github.com/dev-macb/macb-vscode-theme/blob/main/package.json"
click node_light "https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-claro.json"
click node_dark "https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-escuro.json"
click node_bw "https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-escuro.json"

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_user toneBlue
class node_vscode toneIndigo
class node_manifest,node_light,node_dark,node_bw toneTeal
```

## Components

### Other components

- **VS Code user**
- **VS Code**
- [Theme contributions](https://github.com/dev-macb/macb-vscode-theme/blob/main/package.json): `package.json`
- [MacB Claro](https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-claro.json): `themes/macb-claro.json`
- [MacB Escuro](https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-escuro.json): `themes/macb-escuro.json`
- [Preto/Branco entry](https://github.com/dev-macb/macb-vscode-theme/blob/main/themes/macb-escuro.json): `themes/macb-escuro.json`

## Connections

- VS Code user → VS Code: selects theme (evidence: `README.md`)
- VS Code → Theme contributions: reads contributions (evidence: `package.json`)
- Theme contributions → MacB Claro: maps Claro (evidence: `package.json`)
- Theme contributions → MacB Escuro: maps Escuro (evidence: `package.json`)
- Theme contributions → Preto/Branco entry: maps Preto/Branco (evidence: `package.json`)
