- Run
lua extras/json-theme/generate_jsontheme.lua to regenerate the JSON files (or use the prebuilt files under extras/json-theme/themes).
- Each output lives at
extras/json-theme/themes/dark/oasis_<palette>_dark.json or extras/json-theme/themes/light/<1-5>/oasis_<palette>_light_<intensity>.json and contains a single flat object with backgrounds, foregrounds, accents, diag fgs, and terminal colors.
- Consume it from any tool that expects JSON鈥攅.g.,
jq, Node, Rust serde_json, etc.
jq '.theme_primary, .error, .color1' extras/json-theme/themes/dark/oasis_lagoon_dark.json