Skip to content
living-code-themePublic

Repository files navigation

Living Code [lc] mark

馃敽 Living Code for delta

Calm slate. Living color.
Living Code for delta: diff backgrounds, word highlights, headers and gutters, paired with the bat syntax themes, in four flavors.

teal #00a692 mint #52d7c1 aqua #9ae0dd steel #80b6d3 moss #8acb83 amber #f0be6d copper #e18c5f flare #e96560 orchid #bf91cd rose #ddaec3

Living Code: 4 flavors GitHub stars Open issues Last commit

Installation 路 Flavors 路 Configuration 路 All ports

Previews

Night
Dark 路 full palette

delta running Living Code Night
Frost
Dark 路 softer chroma

delta running Living Code Frost
Paper
Light 路 near-white slate

delta running Living Code Paper
Signal
Dark 路 teal accent

delta running Living Code Signal

Select any preview to view the image at full size.

Installation

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-night

That 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.

Flavors

Expand a flavor for its full-size preview and activation instructions.

Night 路 Dark 路 full palette

delta running Living Code Night

git config --global delta.features living-code-night
Frost 路 Dark 路 softer chroma

delta running Living Code Frost

git config --global delta.features living-code-frost
Paper 路 Light 路 near-white slate

delta running Living Code Paper

git config --global delta.features living-code-paper
Signal 路 Dark 路 teal accent

delta running Living Code Signal

git config --global delta.features living-code-signal

Configuration

See delta's documentation for application settings and reload behavior. The activation instructions above identify each supported flavor; keep your other application configuration.

Compatibility

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.

Contributing

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.

License

MIT license

漏 Elliot Luque

Releases

Packages

Used by

Contributors

Languages