Calm slate. Living color.
Living Code for delta: diff backgrounds, word highlights, headers and gutters, paired with the bat syntax themes, in four flavors.
|
Night Dark 路 full palette
|
Frost Dark 路 softer chroma
|
|
Paper Light 路 near-white slate
|
Signal Dark 路 teal accent
|
Select any preview to view the image at full size.
Requires delta and bat: delta reads syntax themes from bat's cache. This one block installs the bat port's syntax themes, adds this port's diff backgrounds, word highlights, headers and gutters, and selects a flavor:
curl -fsSL --create-dirs --output-dir "$(bat --config-dir)/themes" -O "https://raw.githubusercontent.com/living-code-theme/bat/main/living-code-{night,frost,paper,signal}.tmTheme" && bat cache --build
curl -fsSL --create-dirs -o "${XDG_CONFIG_HOME:-$HOME/.config}/delta/living-code.gitconfig" "https://raw.githubusercontent.com/living-code-theme/delta/main/living-code.gitconfig"
git config --global --add include.path "${XDG_CONFIG_HOME:-$HOME/.config}/delta/living-code.gitconfig"
git config --global core.pager delta
git config --global interactive.diffFilter "delta --color-only"
git config --global delta.features living-code-nightThat includes the file in ~/.gitconfig and selects a flavor. Skip the core.pager and diffFilter lines if delta is already set up. If bat already has the Living Code themes, skip the first line.
Each flavor is a delta feature: living-code-night, living-code-signal, living-code-frost, living-code-paper. It sets syntax-theme itself, so no separate syntax-theme setting is needed; remove any existing one under [delta] that would override it.
Expand a flavor for its full-size preview and activation instructions.
See delta's documentation for application settings and reload behavior. The activation instructions above identify each supported flavor; keep your other application configuration.
This port supplies a delta gitconfig, not delta itself. Its syntax colors come from the bat port's .tmTheme files in bat's cache; without them delta falls back to its default syntax theme.
Found a problem? Open an issue with the app version, the flavor and a screenshot. Want Living Code somewhere else? Request a port.
Pull requests are welcome. Keep this README, port.json and images/ in sync, and use real screenshots of the app, never mockups.
馃 One chameleon, many habitats. Part of Living Code.



