The list of themes that lich's Settings › Appearance › Themes shows. The
build reads every repository in themes.json and writes catalog.json, served from
https://raw.githubusercontent.com/lichdotdev/themes/main/catalog.json. The catalog carries every theme in full, so
lich draws a theme's preview before it is installed, and installs a pack at the commit listed here, nothing else.
The format is described in Listing in the catalog.
- Publish your theme the way lich installs one from git: a public repository with
lich-theme.json(name,versionasMAJOR.MINOR.PATCH, optionalminLichVersionanddescription) and one<id>.jsonper variant next to it. rose-pine-lich is the shape to copy. - Open a pull request adding
"<owner>/<repo>"tothemes.json. Its check runs on your default branch and comments with what fails; push to the pull request to run it again. A maintainer approves the first listing, and every later version is picked up within an hour.
You can run the same check yourself: go run ./cmd/catalog check <owner>/<repo>.
lich-theme.jsonhas a name and aMAJOR.MINOR.PATCHversion, and a description of at most 200 characters.- The pack has 1 to 32 themes. Each has an id of lowercase letters, digits, dots, dashes or underscores that is
not
light,dark,systemormatch, a name, a scheme ofdarkorlight, apairthat is in the same pack, the app colors the previews draw with and all 16 terminal colors. - No other listed pack has claimed the pack's id (the repository name without
-lich) or any of its theme ids.
lich validates every color again when it installs, and refuses a pack written for a newer lich by its
minLichVersion.
versions.lock.jsonrecords the commit each version was first listed at, and that record never changes. A version whose files change afterwards stays listed at its first commit, with a warning in the build log: bump the version to list the change.- A new version that fails a check keeps the pack at its last good entry, with the reason in
held. A repository never listed is left out until it passes. - The build fails, and commits nothing, when GitHub itself does not answer; the next run retries.
A maintainer who confirms deception or infringement adds the repository to revoked.json with repo, repoId and
a reason; the next build drops it, and lich stops offering it.