Skip to content

Latest commit

聽

History

History

json-theme

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
聽
聽
聽
聽
聽
聽

README.md

JSON Themes

  1. Run lua extras/json-theme/generate_jsontheme.lua to regenerate the JSON files (or use the prebuilt files under extras/json-theme/themes).
  2. 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.
  3. Consume it from any tool that expects JSON鈥攅.g., jq, Node, Rust serde_json, etc.

Example

jq '.theme_primary, .error, .color1' extras/json-theme/themes/dark/oasis_lagoon_dark.json