1# theme
2
3The `theme` package defines the color palette system for Matcha's terminal UI. It provides built-in themes and supports user-created custom themes.
4
5## Architecture
6
7Each theme is a set of named colors (accent, danger, warning, link, etc.) used consistently across all UI components. The package:
8
9- Defines 6 built-in themes: Matcha, Rose, Lavender, Ocean, Peach, and Catppuccin Mocha
10- Supports custom themes loaded from `~/.config/matcha/themes/*.json`
11- Maintains a global `ActiveTheme` variable that all UI components reference
12- Uses Lip Gloss color values for terminal-compatible color rendering