---

### File 2: `UI_LIBRARY_SPEC.md`
> **Purpose:** Technical specification for the implementation and functions inside `ui.sh`.

```markdown
# UI Library Technical Specification (`ui.sh`)

> **Location:** `~/lbin/ui.sh` or `./ui.sh`  
> **Module Type:** Shared Shell Presentation Library

---

## 1. High-Visibility Color Definitions

Always use high-intensity bold ANSI sequences (`\033[1;3Xm`) for text colors to ensure visibility over dark, blue, and light backgrounds.

```bash
COLOR_RESET="\033[0m"
COLOR_BOLD="\033[1m"
COLOR_WHITE="\033[1;37m"
COLOR_RED="\033[1;31m"    # Destructive operations / Alert Warnings
COLOR_GREEN="\033[1;32m"  # Safe actions / Success messages
COLOR_YELLOW="\033[1;33m" # Caution / Prompts / Subtitles
COLOR_CYAN="\033[1;36m"   # Primary Accent / Dividers
COLOR_MAGENTA="\033[1;35m"# Secondary Accents
